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.

Where can I manually download stuff from (in a user friendly way) without using the Ubuntu software center?

And if that's not possible, how can I fix the proxy restrictions of the software center. It doesn't seem to work at the only place where I have good internet access although all other sites work perfectly fine.

share|improve this question

3 Answers 3

You will first wish to install aptitude, which is a front end to the various apt utilities.

sudo apt-get install aptitude

then

sudo aptitude install myprogram

You can aptitude search myprogram, too.

sudo aptitude update will sync your computers lists of programs available with the main servers at Ubuntu.

And sudo aptitude upgrade will download and install any new versions of programs you have already.

Those last 2 commands can be joined together to make installing all the bug fixes and new versions very easy:

sudo aptitude update && sudo aptitude -y upgrade

Be aware that -y option means it won't ask you for confirmation. Usually not a problem, but you never know. `

share|improve this answer

Apart from aptitude, already signaled in another answer, you could use apt-get:

sudo apt-get --download-only --reinstall install <package names>

The --reinstall flag is required if a package is already installed, in which case apt-get do not want to download. The downloaded packages will be found in /var/cache/apt/archives.

Another option is the following

apt-get --print-uris install <package names>

it will give web addresses of packages to download. In this case, no way to get the url of already installed packages.

To extract the urls you can do

apt-get --print-uris install <package names> |
  awk -F\' '/http/ { print $2 }'

and to directly download the packages:

wget $(apt-get --print-uris install <package names> |
  awk -F\' '/http/ { print $2 }')
share|improve this answer

This might help. At the very least, it should enable you to use apt and synaptic as a workaround.

share|improve this answer
4  
We would like to encourage you to not only link to a solution but give us at least a short summary on procedures suggested. –  Takkat May 10 '11 at 7:10

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.