Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just installed Ubuntu 11.04 and there no internet connection.

Firstly I've tried sudo apt-get install aptitude, but it says that there's no installation for this.

Then I downloaded on USB memory apt_0.8.3ubuntu6_amd64.deb package (as I understood that this package has aptitude installation) and installed it. Then I tried sudo apt-get install aptitude and again no success.

How to install aptitude without internet connection?

share|improve this question
If you installed aptitude from deb file, why do you also want to install it from repositories? – enzotib Sep 9 '11 at 17:12
Because I don't know meaning of apt-get command, please just say what to do. Thanks – megas Sep 9 '11 at 17:14
You should ask yourself why do you need aptitude. If you really need it and you really installed it from deb, just run it. – enzotib Sep 9 '11 at 17:16
I need aptitude to configure internet connection(by manual) and of course I've tried to just run it. – megas Sep 9 '11 at 17:21
@megas aptitude has nothing to do with configuring an internet connection. It is just another package installer, like apt-get. It is its own package, not part of the apt package, which is why installing the apt package did not help. You want aptitude_0.6.3-2ubuntu4_amd64.deb – psusi Sep 9 '11 at 21:02
up vote 4 down vote accepted

To install aptitude without internet you first need to have it with all of its dependencies.

  1. Go to: to grab aptitude and all of its dependencies.

  2. Put all the deb packages inside a folder and when on the PC you want to install aptitude go to the folder in the terminal and do sudo dpkg -i *.deb

It will install aptitude with all of the dependencies in that folder.

NOTE - I am also one of those that enjoys Aptitude over apt-get, not only because you do everything from one single command but when you do a show, search or install it is more human friendly than the other.

share|improve this answer

You install .deb package using dpkg, see here for example:

Also, read this article for installing packages from a CD, without an internet connection:

share|improve this answer

Your Answer


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.