Changes
Yvan
,=== Install, remove, purge, download a package with apt ===
<pre><code>
apt-get update # Updates the list of available packages
/var/lib/apt/lists/ # List of available packages
apt-get remove --auto-remove vim # Remove vim and non necessary packages dependencies
apt-get autoremove # Remove non necessary packages dependencies
=== Install, remove, a package with dpkg ===
<pre><code>
apt-get download vim # download the given binary package into the current directory
dpkg -r vim # Remove
dpkg --remove vim # Remove
=== apt-cache ===
<pre><code>
apt-cache depends vim # vim depends on which packages (above vim)
apt-cache rdepends vim # Packages below vim
apt-cache policy # Print out the priorities of each source
apt-cache policy vim # Print out the detailed information about the priority selection
=== aptitude ===
Same commands as apt-cache and apt-get : install, remove, purge, search, ... see manpage.
<pre><code>
aptitude show vim # show package info of vim
=== dpkg ===
<pre><code>
/var/lib/dpkg/available # Available packages
/var/lib/dpkg/status # Status of packages (installed, config)
dpkg -l 'vim*' # List packages matching pattern 'vim*'
== Cache management ==
<pre><code>
/var/cache/apt/archives/ # Folder containing downloaded .deb files
apt-get clean # Delete .deb files downloaded in folder /var/cache/apt/archives
apt-get autoclean # Delete .deb files that can no longer be downloaded
== Graphic interfaces ==
<pre><code>
update-manager # update manager
software-properties-gtk # Software source, repository
synaptic # Packages manager
aptitude # Packages manager