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?
To install aptitude without internet you first need to have it with all of its dependencies.
Go to: http://packages.ubuntu.com/natty/aptitude to grab aptitude and all of its dependencies.
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.
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