Tutorials and How-tos/Install Debian Packages

From BubbaWiki
< Tutorials and How-tos
Revision as of 13:41, 22 April 2010 by Magnus (talk | contribs) (Created page with 'This howto tells you howto install packages from the Debian repositories. Available packages can be found here: [http://packages.debian.org/oldstable/ http://packages.debian.org/...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This howto tells you howto install packages from the Debian repositories. Available packages can be found here: http://packages.debian.org/oldstable/

First of all you have to log on to Bubba via ssh and become root.

The standard Debian sources are per default enabled. Edit the file /etc/apt/sources.list if you need other sources. You could use nano to do this ie

nano /etc/apt/sources.list 

After editing the sources file you need to tell the package manager that the file have changed:

apt-get update

Now to the installation of packages! For example you want to install python. Use the command apt-get:

apt-get install python


If did edit the sources file, you should always restore the file to its original state. Otherwise future upgrades via the web interface will most likely fail.