how to add lenny-backports packages ?

Debian GNU/linux packages are stable and old. On September 06, 2010 Debian GNU/linux has included backports service. Now, the backports packages are available for download from Debian GNU/linux mirrors and are part of official Debian GNU/linux ditribution.

Step 1 : In order to download and install packages from lenny-backports, you need to change the sources.list file located at /etc/apt/sources.list.

Type the following command in your terminal :

# vi /etc/apt/sources.list


You can use your favourite editor, vi, vim or nano.

Step 2 : Add the following line in sources.list file :

deb http://backports.debian.org/debian-backports lenny-backports main

and save the file.

Step 3 : Update your sources.list file by running the following command :

# apt-get update


[ OR ]

# aptitude update


Step 4 : To install the lenny-backports package, run the command :

# apt-get -t lenny-backports install "package"


[OR ]

# aptitude -t lenny-backports install "package"


The End.
 
 
Creative Commons License
This work by maniac.vardhan is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
 
 

0 comments :: how to add lenny-backports packages ?

Post a Comment