Differences between revisions 10 and 11
Revision 10 as of 2007-10-12 23:03:12
Size: 2146
Comment:
Revision 11 as of 2009-03-16 03:33:09
Size: 2149
Editor: anonymous
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<style="border: 0px hidden">["FrontPage"] > [:Portal_Apt:Install and update] > Other tools based on APT||<style="text-align: right; border: 0px hidden"> ||<style="text-align: right; border: 0px hidden"> (!) [:/Discussion:Discussion]||
||<style="border: 0px hidden">~-''Traduction(s): [:AptToolsDutch:Dutch]''-~||
||<style="border: 0px hidden">[[FrontPage]] > [[Portal_Apt|Install and update]] > Other tools based on APT||<style="text-align: right; border: 0px hidden"> ||<style="text-align: right; border: 0px hidden"> (!) [[/Discussion|Discussion]]||
||<style="border: 0px hidden">~-''Traduction(s): [[AptToolsDutch|Dutch]]''-~||
Line 8: Line 8:
[[TableOfContents([3])]] <<TableOfContents([3])>>

FrontPage > ?Install and update > Other tools based on APT

(!) ?Discussion

Traduction(s): ?Dutch


Further Apt Tools:

<<TableOfContents: execution failed [Argument "maxdepth" must be an integer value, not "[3]"] (see also the log)>>

(Note the following commands are executed from a command line interface or CLI, also known as a terminal or a console window. A root console in GNOME can most likely be found at "Applications -> System Tools-> Root Terminal", and "Applications -> System Tools-> Terminal" for a normal user console.)

Configure packages

When packages are installed, you are asked to configure them via a wizard (note: most packages don't require configuration). To reconfigure packages, do this:

1. Open a root console window
2. Type "dpkg-reconfigure <package>" where package is the name of the package

Find what package a binary belongs to

This is a really neat function of dpkg. Basically, if you want to find out what debian package a particular binary belongs to, do the following:

{{{1. Open a console window 2. Type "dpkg -S /bin/foo" where /bin/foo is the full path to the binary}}}

Simulate Upgrades

With apt-get you can simulate an upgrade - that is - show which packages would be installed if you did upgrade.

{{{1. Open a root console window 2. Type "apt-get -s upgrade"}}}

Delete used package files

If you want to delete the package files (.deb files) you've already installed (via apt-get install) then you can do the following (and retrieve a lot of disk space!):

1. Open a root console window
2. Type "apt-get clean"

If you want to retain a local cache of the most recent versions, you may use a variation to retrieve some space:

1. Open a root console window
2. Type "apt-get autoclean"

This will clear the local repository of all the extra packages which can't be downloaded and are largely useless.