The Blog - Welcome friends and guests.

Installing Applications on Manjaro

Posted By: Muniac

Installing Applications on Manjaro - 03/23/20 08:48 PM

I've used Mint for a number of years and have installed programs using the software manager or apt-get install. I've found Mint repositories to be out of date in some cases. Manjaro, through the Settings menu, allows access to its Add/Remove Software function. This is a menu driven utility that makes adding and removing applications easier for those not familiar with the command line. It's setup in a similar way to Mint.

As for the command line in Manjaro, apt and apt-get will come back as a "command not found". The two commonly used AUR install helpers in Arch Linux are Yaourt and Packer. They were used for management tasks such as installing and updating packages. However, the two have been discontinued in favor of yay, short for Yet Another Yaourt. It basically provides an interface to pacman. Yay is a modern AUR helper written in the GO language. It has very few dependencies and supports AUR tab-completion so that you don’t have to type the commands in full. To use yay, you'll need to install it with the commands below (one at a time):

sudo pacman -S git
git clone
cd yay
makepkg -si

Once yay is installed you can use it to install applications per the examples below:

yay -S <package-name-here>

For example: yay -S librecad

The -S is passed to pacman and tells it to synchronize packages so they are installed directly from the remote repositories.

More complete information about yay can be found HERE. And don't forget about the Linux manual page information: man yay or man pacman.

If you need to capture the output in a .txt file and maintain prompts in your terminal window you can use the command below:

yay appname 2>&1 | tee installout.txt

Make sure to replace appname with the name of the application being installed. installout.txt is the file of output saved to the current directory.

When installing options, it's a good idea to select the community version(s) first if they are available. Use the AUR (Arch User Repository) as a last resort as these can be outdated and/or unsupported.

You can keep the system up to date with the following command:

pacman -Syu

Or use the software from the setting menu or system tray icon.