Chakra

Package management

Here are the non-update package management instructions.

To search for packages, run pacman -Ss search-string.

To install a package, run sudo pacman -S packagename.

To remove a package, run sudo pacman -Rs packagename.

Here are the update instructions.

To check if there are any special steps needed for an update, go to http://chakraos.org/news/.

To download updates, run "sudo pacman -Syuw".

To check that the mirror is synced, run "mirror-check".

To install downloaded updates (make sure the mirror's synced first!), run "sudo pacman -Su".

To clear noninstalled packages (e.g., old versions) from the cache, run "sudo pacman -Sc".


The "S" tells pacman you want to do a syncronization operation. Certain other capital letters are used for other types of operation. Check the wiki or man pages for more information.

The "y" tells pacman to check the mirror for a newer package database, and update the local one if it's older.

The "yy" tells pacman to redownload the database regardless of if it seems to be up-to-date.

The "u" tells pacman to update outdated packages.

The "w" tells pacman to only download updates and not install them.

The "c" tells pacman to clear noninstalled stuff from the cache. "cc" tells pacman to clear the entire cache, which I strongly advise against doing in case you need to reinstall something.

The CCR

Please ignore this section for now....

More package management information

Make sure to check the Chakra news page before doing major updates. If in doubt, check the news.

For more-or-less complete information about the current package manager, run "man pacman" or read the Arch Linux wiki page. There's also the Chakra Linux wiki page, but it's nowhere near as complete or useful as Arch's. (Arch is the distro that made pacman.)

Comments