Debian Package Management

From FreekiWiki
Revision as of 15:30, 31 March 2006 by Vagrant (talk | contribs) (added outline structure)
Jump to navigation Jump to search

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

dpkg -l

dpkg --get-selections

dpkg -L

dpkg -S

dpkg -i

synaptic

synaptic

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