32 bit processors still in use and will be used until then, until will be produced and used in this instrument. If you have an older computer running Arch Linux and you still want to use the AUR repository, this article is for you. We will explain as short as possible and understandable on how to install the AUR repository on 32-bit Arch Linux.
Officially supported for this OS only x64 architecture, however, there is still the draft enthusiasts, making it a 32-bit build.
The installation of the AUR repository on a 32-bit Arch Linux
What we have to showcase? Running on a virtual machine a 32-bit Arch Linux without a graphical shell installed neofetch and sudo, as well as provided the average user with root privileges.
Important: to perform our tasks does not require authorization in the system as root. Autoresume in the system as a normal user.
The process of downloading the AUR repository is not particularly different from the usual users, problems arise later, during the installation. Even if you already have a graphic shell, use terminal.
We need the package group base-devel, so set this group if it is not already installed:
sudo pacman -S --needed base-devel
You should also install git for further cloning the repository:
sudo pacman -S git
Next, create a folder in your home directory:
The folder name can be anything, the point in the beginning of the name indicates that this folder is hidden. Go to this folder:
It will be assembled our repository AUR. Clone the files in this folder:
git clone https://aur.archlinux.org/foo.git
Go to this cloned from GitHub the folder:
In order to collect the AUR repository, enter the command:
Alas, in the process will generate this error:
foo is not available for the 'pentium4' architecture.
The message about “Pentium four”, to put it mildly, is outdated in our time. It is, of course, on an unsupported processor architecture. The fact that AUR is the user repository for OS Arch Linux officially supports only the x64 architecture. Fixed the problem, quite simply to inform our builds, that it can be compiled using any CPU. In the folder foo is a PKGBUILD file that contains the instruction about how and what should be done. Open the file in the editor, such as nano:
All that is required is to replace the line arch=(‘all’) to arch=(‘any’). That is, change the word “all” to “any”. Close the file, saving your changes. Repeat the previously entered command:
Confirm by pressing Y (from Yes). Using makepkg creates a file in our directory with the extension .pkg.tar.xz. Will check it out. Enter the command ls and see:
Now this foo-1.0.0-1-any.pkg.tar.xz need to install using pacman:
sudo pacman -U foo-1.0.0-1-any.pkg.tar.xz
Agree with the operation. Then you can leave the current folder by typing CD.
It may seem that the article is useless as no one will want to use a 32-bit OS, and certainly not this unofficial Arch Linux. However, there are those users. And the presence of such unofficial draft — 32-bit Arch Linux — is also evidenced by the fact that the OS is also popular for use with older computers.
The forums on this issue are virtually no articles, and those that are clearly not for beginners. Will try in the future to help readers to understand the similar infrequently used topics.