1.5 KiB
title | description | published | date | tags | editor | dateCreated |
---|---|---|---|---|---|---|
Pacman Tricks | Useful tricks you should know for Pacman | false | 2024-10-20T12:56:18.952Z | tips, tricks, pacman | markdown | 2024-10-20T12:55:19.914Z |
About pacman
command
pacman
package manager is one of the most used commands in Arch Linux (or every other Arch-based distros).
It combines a simple binary package format with an easy-to-use Arch build system. The goal of pacman is to make it possible to easily manage packages, whether they are from the official repositories or the user's own builds.
Pacman keeps your system up-to-date by syncing package lists with the master mirror server.
Read more about pacman in Arch Linux Wiki.
Removing unused packages (orphans)
Orphans are packages that were installed as a dependency and are no longer required by any package.
For example, you may install a package (package-one
) that requires package-two
as a dependency. After some time, you may remove the package-one
, but the package-two
is still available on your system, though no other package is dependent on that.
In the example above, the package-two
is an orphan package, because neither the user or any other package uses it.
There's a nice way to view the list of these orphan packages: