Pacman's simple guide for APT's users
The major time I have been using Linux I have used distro which has
APT as its package manager, but some weeks ago, I have migrated to an Arch Linux distro called Manjaro because I wanted a rolling release and easy distro. To help me in this journey back to pacman, I am writing this guide to map commands from
pacman commands are composed of a capital letter option following by small letters for mod this actions. In this guide I will just talk about action, how to perform actions with
apt and with
pacman. If you would like to know more about the options, the man page from
pacman gives you an excellent support.
Installing a package
apt install <packasge-name>
pacman -S <package-name>
Removing a package
apt remove <package-name>
pacman -R <package-name>
- Removing packages and all dependencies which is not used by other packages
pacman -Rs <package-name>
- Remove completely a package
pacman -Rns <package-name>
apt update && apt upgrade
Searching for packages
apt search <package-name>
- Searching for local packages
pacman -Q <package-name>
- Search for packages in database
pacman -Ss <package-name> <package-nam
And PPAs, what to do? Manjaro as an Arch distribution has a repository called AUR, what contain a large broad of packages made by users. If you need a package what is not in the official repositories, it is probably it is in AUR.
To use the AUR, you can use the
yay command, what is pretty similar with
pacman, to install, remove and so on.
That is it. It is a simple blog, but I guess it can be useful for who wants to try a distro with
Thanks for reading and feel free to commend, correct me or just say a "hi".