How to add a repository to apt

Log into your server with a root account.

Edit the file located at /etc/apt/sources.list

Add the repository to the bottom of the file, save then exit the file.

Run the following command to have the new repositories to apt

apt-get update

Verify that your new repository  is listed at the end of the list. Once you have verified that your repository has been added you will now be able to use it in apt.


Article Details

Last Updated
26th of April, 2010

Related Articles

No related articles were found.

Attachments

No attachments were found.


User Opinions



How would you rate this answer?




Thank you for rating this answer.

© Copyright 2009 FireHost Inc. Privacy Policy Legal Information