Revision of Installing Packages Without Internet Connection from Sat, 01/28/2017 - 04:07

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, either install it with the package manager when the system is online bring its .deb package on the offline system (e.g., using a USB stick):

Then install it with the following command (here assuming that the working directory contains gdebi-core_0.9.5.7ubuntu1_all.deb for Trisquel 8): $ sudo dpkg -i gdebi-core_0.9.5.7ubuntu1_all.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 because it does not resolve umnet dependencies, i.e., it will install broken packages if some dependency is not installed. gdebi-core's dependencies are already installed. Even "trisquel-minimal", which provide a minimal console environment, depends on them.

If your system is offline for weeks or more, the "proper" solution to administrates is not to use GDebi. It is below.

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':

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'.

You can also use APT Local Repository to install packages offline: Visit this

Revisions

02/12/2014 - 00:43
antiesnob
09/04/2014 - 01:57
muhammed
11/29/2014 - 11:36
Pandya
12/27/2015 - 01:08
pogiako12345
01/28/2017 - 03:28
Magic Banana
01/28/2017 - 17:59
Peter Boughton
07/18/2018 - 17:06
Malsasa
11/05/2020 - 21:31
augustoborin
11/19/2023 - 09:44
knife