Revision of Installing Packages Without Internet Connection from Sat, 01/28/2017 - 03:55
The revisions let you track differences between multiple versions of a post.
Installing Packages Without Internet Connection
Manually installing a package
First of all: Don't blindly trust packages outside Trisquel's repository. Whoever built it may have included malware!
If GDebi is installed, open the folder with the .deb package and double-click on it. If no error arises (e.g., unmet dependencies), click on the "Install Package" button. If "gdebi-core" is installed or if you prefer the terminal (here assuming that the working directory contains "package.deb", to be substituted by the actual name of the .deb file): $ sudo gdebi package.deb
If "gdebi-core" is not installed, bring its .deb package on the offline system (e.g., using a USB stick):
- http://archive.trisquel.info/trisquel/pool/main/g/gdebi/gdebi-core_0.8.5build1_all.deb for Trisquel 6;
- http://archive.trisquel.info/trisquel/pool/main/g/gdebi/gdebi-core_0.9.5.3ubuntu2_all.deb for Trisquel 7;
- http://archive.trisquel.info/trisquel/pool/main/g/gdebi/gdebi-core_0.9.5.7ubuntu1_all.deb for Trisquel 8.
$ sudo dpkg -i gdebi-core_0.9.5.7ubuntu1_all.deb
Otherwise, and if all the dependencies of the package are already installed, execute the command below in a terminal: $ sudo dpkg -i path/to/package.deb
Then use the 'gdebi' command to manually install any package (including "gdebi" to have its GUI). Notice that the use of 'sudo dpkg -i' to install any package is not recommended:
You can also use APT Local Repository to install packages offline: Visit this
Managing an offline system
If you administrate an offline Trisquel, bring on it (e.g., using a USB stick) the .deb package of 'apt-offline' and install it with GDebi or 'sudo dpkg -i':
- http://archive.trisquel.info/trisquel/pool/main/a/apt-offline/apt-offline_1.1.1build1_all.deb for Trisquel 6;
- http://archive.trisquel.info/trisquel/pool/main/a/apt-offline/apt-offline_1.3.1ubuntu0.1_all.deb for Trisquel 7;
- http://archive.trisquel.info/trisquel/pool/main/a/apt-offline/apt-offline_1.7_all.deb for Trisquel 8.
Do not worry about its dependencies: they are already installed. Even "trisquel-minimal", which provide a minimal console environment, depends on them. Then use the 'apt-offline' command to manage all your packages or, if you like GUIs, use the 'apt-offline' command to install "apt-offline-gui". You can then use its GUI.
This external documentation will help you on the use of 'apt-offline'.