In my house there is no internet connection, then I can't use the 'sudo apt-get install' command. I wonder if I can download a package, put it in my computer in a specific folder, and just get the terminal to install and run it? (EDIT:)Sorry, I searched for a question like mine but didn't find any, so I posted this.
Asked
Active
Viewed 176 times
2 Answers
1
You can use Cube, it is a portable package manager capable of downloading packages to any computer with internet connection (Linux or Windows) and installs it back to your computer offline.
Here is a complete tutorial on how to use it : http://community.linuxmint.com/tutorial/view/1583

Camicri
- 1,390
0
Yes it is possible. In terminal run
sudo apt-get -s install "package-name"
this will show you all the packages that will be downloaded to install the selected program. Take this list and on another pc with internet dowonload the packages. Copy the downloaded packaged to the folder;
/var/cache/apt/archives
on your ubutu pc.
Now when you run
sudo apt-get install "package-name"
apt will find the downloaded packages in the directory and install.
!!This does not guarantee that there will be no unmet dependencies.

StallionSA
- 521
- 2
- 6
sudo apt-get install
has also dependencies on other programs (packages
, may be libraries etc). I don't know the answer to your question by the way. – hytromo Jun 12 '14 at 15:33