Category Archives: Arch linux

This is my first time using AsciiDocs to write a blog post. The irony is that I have to learn how to config and post from the command line using: Blogpost 0.9.1. Blogpost 0.9.1 was created by Stuart Rackham. After creating docs, manpage with Asciidoc, he found the need to submit a asciidoc text file to his chosen blogging platform—WordPress. That’s when he started writing Blogpost, all so that he could create a .txt file with ascii syntax and post it to his blog from the command line.

In any case, I’m just going to try out for this once.

One of the reason why I use Arch Linux is for it’s package management system–pacman. A simple to use package manager, even though it does not have a GUI. Every upgrade, installation of new packages, updates is done from the console. I’ll be showing the few commands I use when installing, updating, upgrading my system.

# pacman -Syu

This simple command, syncs with the respositories and checks for updates to your system. If there are upgrades to be had, it will prompt you after synchronizing with the remote server.

# pacman -Ss name_of_package

Searches database for package with specified string in it’s title or description. This is good if you’re searching for a package you’re not sure exists in the database.

# pacman -Sy name_of_package

This command installs a package.

# pacman -Scc

Removes the cache from your system.

# pacman -Rs name_of_package

Uninstalls package and it’s dependencies.

# pacman -Qtd

Searches for orphaned packages no longer needed. After which, it asks if user would want to uninstall the packages.

These are the very few common pacman commands I use in Arch Linux. With these few commands, you can keep your system up to date.