Difference between revisions of "Debian Package Management"

From FreekiWiki
Jump to navigation Jump to search
(added outline structure)
(mention dpkg)
Line 54: Line 54:
 
similar to apt, but more sophisticated. has a text-only menu system.
 
similar to apt, but more sophisticated. has a text-only menu system.
  
[http://packages.debian.org/dpkg dpkg]
+
====dpkg====
 +
underneath it all, lies [http://packages.debian.org/dpkg dpkg]
  
 
dpkg -l
 
dpkg -l

Revision as of 15:34, 31 March 2006

This is a stub. Please feel free to give this article love and attention if you know more about this topic than we have here.


overview

this class should outline the basics of debian package management- searching, installing, updating and removing software.

background

prerequisites

suggested background

terms

tips for working environment

  • keep a web browser pointed to this page
  • open several terminal windows
  • don't forget to use the "man" command, or -h and --help
  • commandline reminders
    • remember to use tab completion.
    • hit tab twice, fast.
    • hit tab again!
    • remember to use the up arrow to re-do a previous command
    • keep hitting tab!

topics covered

apt

apt

where to get software from: /etc/apt/sources.list

apt-get update

apt-get upgrade

apt-get dist-upgrade

apt-get remove

apt-get clean

apt-get autoclean

apt-cache search

apt-cache policy

pinning: /etc/apt/preferences

aptitude

aptitude

similar to apt, but more sophisticated. has a text-only menu system.

dpkg

underneath it all, lies dpkg

dpkg -l

dpkg --get-selections

dpkg -L

dpkg -S

dpkg -i

synaptic

synaptic

it's graphical. point and click your way to carpal tunnel.