Arch Linux: Pacman package manager

Only core.db is installed in the hard disk, extra.db and community.db have to be downloaded. To download these database, I will need to use Pacman to synchronize the database:

pacman uses the mirrorlist located in /etc/pacman.d/mirrorlist file.

Synchronizing repository database

pacman -Sy

Pacman downloading the database.

Synchronizing and upgrade the system

pacman -Syu

Arch Linux advised to upgrade pacman first before downloading any softwares.

Upgrade Pacman.

Set up pacman keyring

Need to press the keyboard to generate more bytes for key randomization.

pacman-key –init

what it means is that I should generate more bytes to provide key randomization, so what i need to do is just hold on to the spacebar until it totally randomized the key.

Generated!

This screen shows that the key generation is completed. I can now release my space bar…

Search for package

pacman -Ss <package name>

Search example.

Install package

pacman -S <package name>

Install package example.
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s