Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to keep my /etc/apt/sources.list clean and I'm looking for a way to look for a package in a repository before adding it to my system. Thanks in advance.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

You can browse the link to the repository in your browser. if you look there for the Packages files (usually Packages.gz and Packages.bz2) in the correct folder under dists, you can download that file and uncompress it. It contains a list of all the packages of the archive.

share|improve this answer
add comment

For example; if the repository is: http://ca.archive.ubuntu.com/ubuntu/; you could simple enter the site with web browser and look for the package you want. The packages are in "pool" directory.

Example: http://ca.archive.ubuntu.com/ubuntu/pool/main/a/alien/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.