Best way to install/uninstall programs

no one uses gui in linux
linux terminal is too powerfull

I cannot work out for the life of me why one version of a program is working whilst the latest is not, just realised I can edit the build files from AUR

They had a ton of stuff disabled in the build files it is currently compiling

Doing this in pamac :flushed: obviously this can be done in CLI which I now know and will do from now on

My advice, for what it’s worth:

  1. Look in the official Arch repositories (“the repos”) first for the software you want to use. A good way to do so is to use the website. All of these packages will work on an upgraded Arch system (assuming the hardware requirements are met). These packages are all trustworthy (at least as trustworthy as Arch Linux is), and are already built for your convenience, so you can just install them with pacman.

  2. If the software you want to use is not in the repos, look in the Arch User Repository (AUR). The best way to search for a package is to use the AUR website. This also gives you a chance to look at the popularity of a package, the name of the maintainer and especially, the comments. If the package has changed the maintainer recently, or is not very popular, you should also closely inspect the PKGBUILD file as well as any other build files (like makefiles, scripts, etc), just in case there is something fishy there (this is extraordinarily rare, but there have been cases of malware being found in the AUR before). The packages in the AUR are not actually packages, like those in the repos: they are not pre-built, they just contain what you need to build a package yourself, locally. You can use yay to automate the process of building and installing the package from the AUR, or you can build it manually and then install it with pacman. After installing a package from the AUR, if you find it working well and think it is a useful package, consider voting for it on the AUR website. Packages that have many votes are considered for inclusion into the official repos, and voting is also a good way to let other users know what is a good package.

  1. Do not use Pamac, it’s rubbish. It’s name is also rubbish, so don’t confuse it with pacman.

  2. If the software you need cannot be found in the repos nor in the AUR (rarely, that happens to me), consider building it from source. If source is not available (proprietary software), there are usually AppImages available, as well as Flatpak. I would avoid these, unless really necessary.

  3. Do not use snaps. They are awful. Linux Mint is right about snaps.

7 Likes

Use sudo pacman -R <your programme>. It may leave behind some dependencies but that doesn’t matter. From time to time, you can remove these unwanted dependencies. In the Arch Wiki, search “pacman tips” and look for the entry to remove orphan files.

1 Like