Apt

From Attie's Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "==apt-get== Update the local cache of the repositories: <source lang="bash"> sudo apt-get update </source> Update all installed packages <source lang="bash"> sudo apt-get upg...")
 
m
Line 25: Line 25:
 
<source lang="bash">
 
<source lang="bash">
 
apt-file search rpmbuild
 
apt-file search rpmbuild
 +
</source>
 +
 +
==dpkg==
 +
To list the installed packages:
 +
<source lang="bash">
 +
dpkg -l
 
</source>
 
</source>

Revision as of 15:05, 24 July 2012

Contents

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

dpkg

To list the installed packages:

dpkg -l
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox