Tuesday, June 8, 2010

Some useful pacman commands

To install a package: sudo pacman -S packagename

To remove a single package, leaving all of its dependencies installed:

# pacman -R package_name

To remove a package's dependencies which are not required by any other installed package:

# pacman -Rs package_name

There should be a clear warning about regular dist upgrades,
Having explained that:
Doing an upgrade but excluding a package that causes trouble
sudo pacman -Syu --ignore libgl

In this case the libgl packages has a conflict with nvidia-utils
and shouldn't be installed or updated to avoid further conflicts.

sudo pacman -Ss dvd lists all programs connected to dvd.

Install a 'local' package that is not from a repository:

# pacman -U /path/to/package/package_name-version.pkg.tar.gz

see http://wiki.archlinux.org/index.php/Pacman

Info on tools and gui for pacman:


No comments:

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.