«»

Technicality

· 27TH OF OCTOBER, THE YEAR 2006

COMMAND-LINE PACKAGE MANAGEMENT IN DEBIAN/UBUNTU

Just a little cheat sheet for future reference.

Installation

apt-get install gimp


Removal

apt-get remove gimp

Search

apt-cache search gimp

Dependencies

apt-cache depends gimp
apt-cache depends --installed gimp
apt-cache rdepends gimp

List Installed Packages

dpkg -l |grep gimp

Manually Compiling & Installing for Use in apt

Manual compilation is all well and good, but compiling a Debian package makes it easier to uninstall things cleanly.
./configure
checkinstall

ONE COMMENT

JD said on November 13th, 2006 at 10:46 am,

You might want to check out the command line tool “wajig” which is a wrapper for many common apt and system administrative tasks – probably the nicest feature is that it automatically invokes “sudo” when necessary.

LEAVE A COMMENT

(required)
(required)