Categories
Uncategorized

Arch Linux: Installing Applications from Source

Installing applications on Linux is treated different than on Windows. Instead of having a single .exe file which initiates the installation process, you will deal with package management systems. The system contains a broad selection of applications and with just one command you are able to install them. However, there are multiple package management systems out there. Ubuntu uses APT (Advanced Packaging Tool) and on Arch Linux you will find Pacman. Even if the selection of available applications covers all basic needs, you will probably find situations where the app of interest is missing. The following posts guides you through the process where to look for next.

To install an application on a Linux Arch distribution, you normally give it a try with Pacman.

# For installing an application
sudo pacman -S PACKAGENAME

# For removing an application
sudo pacman -R PACKAGENAME

If you app isn’t supported by Pacman, as next you will take a look on Arch Linux AUR Package Repository Website.

If you find your application, you will be navigated on the details page where you can check some attributes. The most important one is where you get the app. Often times a link to a Github Repository is provided. Just copy it and load it on to your machine.

git clone GITHUB REPO LINK

If you receive a .tar file, you have to extract the app first.

tar -xvf FILENAME.tar.gz

Now navigate inside the folder and create a installation file with the command.

makepkg

You will find a new file inside the folder that can be interpreted by Pacman.

sudo pacman -U FILENAME.tar.gz

If everything went well, the installation process will be done and you are ready to use the application.

Leave a Reply

Your email address will not be published. Required fields are marked *