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'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
show 1 more comment

2 Answers 2

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: http://packages.ubuntu.com/natty/aptitude 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
add comment

You install .deb package using dpkg, see here for example: http://www.cyberciti.biz/faq/ubuntu-linux-how-do-i-install-deb-packages/

Also, read this article for installing packages from a CD, without an internet connection: https://help.ubuntu.com/8.04/add-applications/C/offline.html

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.