Difference between revisions of "Tutorials and How-tos/Install Debian Packages"
(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/...') |
|||
Line 12: | Line 12: | ||
<pre>apt-get install python | <pre>apt-get install python | ||
</pre> | </pre> | ||
<br> | You will be prompted with questons in most cases could be answerd with the yes. If asekd for password, just hit enter.<br> | ||
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.<br> | 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.<br> | ||
All done!<br> |
Revision as of 13:45, 22 April 2010
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!