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.

To connect to the wireless at my sister's university, I need the ca-certificate package. But since there is no internet connection, I can't download it from the repos. How can I manually download it at a Windows system and install it? A .deb pacakge would be most helpful.

share|improve this question

3 Answers 3

up vote 6 down vote accepted

To find out what packages you need (and the URLs for them), you can use the --print-uris argument to apt-get. For example:

apt-get install -y -d --print-uris ca-certificates

That will list everything you need to download manually on the Windows system. If you want to make it really easy, you could even generate an HTML file with the links that you could load on the Windows machines:

echo "<html><body><ul>" > /tmp/debs.html
apt-get install -y -d --print-uris ca-certificates | grep ^"'" | cut -d"'" -f2 | awk '{print " <li><a href=\"" $0 "\">" $0 "</a></li>"}' >> /tmp/debs.html
echo "</ul></body></html>" >> /tmp/debs.html

Just access file:///path/to/debs.html once it is on the Windows machine, and you can download all the required packages.

share|improve this answer

You can use Keryx, an offline package management system.

Check this url:

http://keryxproject.org/

share|improve this answer

You can use the Ubuntu Packages Search page.

You then choose your version of Ubuntu. For Maverick, you would find the package you need at http://packages.ubuntu.com/maverick/ca-certificates. This page also lists all the eventual dependencies you could have to download to install this package.

Good luck!

share|improve this answer
    
Downloading dependencies may become a difficult task. –  aneeshep Nov 2 '10 at 10:43

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.