Difference between revisions of "Debian Package Management"

From FreekiWiki
Jump to navigation Jump to search
(added prereqs)
(added outline structure)
Line 1: Line 1:
 
{{stub}}
 
{{stub}}
  
 +
===overview===
 
this class should outline the basics of debian package management- searching, installing, updating and removing  
 
this class should outline the basics of debian package management- searching, installing, updating and removing  
 
software.
 
software.
  
prerequisites:
+
===background===
 
+
====prerequisites====
 
* basic familiarity with [[Basic_Linux_Command_Line_for_Builders|commandline]] and [[Command Line 2]]
 
* basic familiarity with [[Basic_Linux_Command_Line_for_Builders|commandline]] and [[Command Line 2]]
 
* basic familiarity with [[Where_Is_Everything|linux]]
 
* basic familiarity with [[Where_Is_Everything|linux]]
  
 +
====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====
 
[http://packages.debian.org/apt apt]
 
[http://packages.debian.org/apt apt]
  
Line 31: Line 49:
 
pinning: /etc/apt/preferences
 
pinning: /etc/apt/preferences
  
 +
====aptitude====
 
[http://packages.debian.org/aptitude aptitude]
 
[http://packages.debian.org/aptitude aptitude]
  
Line 47: Line 66:
 
dpkg -i
 
dpkg -i
  
 +
====synaptic====
 
[http://packages.debian.org/synaptic synaptic]
 
[http://packages.debian.org/synaptic synaptic]
  

Revision as of 15:30, 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

dpkg -l

dpkg --get-selections

dpkg -L

dpkg -S

dpkg -i

synaptic

synaptic

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