Tutorials and How-tos/Install Debian Packages

From BubbaWiki
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

You will be prompted with questons in most cases could be answerd with the yes. If asekd for password, just hit enter.

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.

All done!