Apt

From Attie's Wiki
Revision as of 16:48, 30 May 2012 by Attie (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

apt-get

Update the local cache of the repositories:

sudo apt-get update

Update all installed packages

sudo apt-get upgrade

apt-cache

Use to locate packages by searching name and description:

apt-cache search tree

apt-file

Use to locate packages that provide a given file. First you must retrieve the database & indexes:

sudo apt-file update

Then search for the file:

apt-file search rpmbuild
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox