Pacman: Difference between revisions

From Leo's Notes
This page was last edited on 24 February 2017, at 19:14.
m Text replacement - "<code>" to "{{code|"
m Text replacement - "</code>" to "}}"
Line 6: Line 6:
=== Updating Databases ===
=== Updating Databases ===


Similar to a {{code|yum clean all ; yum update</code> you can update the repository information by running:
Similar to a {{code|yum clean all ; yum update}} you can update the repository information by running:
  pacman -Syy
  pacman -Syy



Revision as of 19:14, 24 February 2017

Pacman is the package manager for arch linux.

Introduction

Configuration files are stored in /etc/pacman

Updating Databases

Similar to a yum clean all ; yum update you can update the repository information by running:

pacman -Syy

Searching

Search for a package

pacman -Ss packageName

Installing

pacman -S packageName groupName

Updating System

pacman -Syu

Removing a Package

pacman -R packageName

With dependencies

pacman -Rsc packageName


Searching for whatprovides

Install the pkgfile utilitiy

pacman -S pkgfile

Update the repo:

pkgfile --update

Then to search:

pkgfile -s lspci
core/pciutils