Preparing packages for offline install

3 réponses [Dernière contribution]
MichaelAgarkov
Hors ligne
A rejoint: 02/09/2025

Hello everyone.

I'm planning to move to Trisquel GNU/Linux, but I need to have gcc, g++, gdb and make available for installation offline since Trisquel doesn't have them preinstalled.

I'm thinking running `apt-get -d install` will do, but AFAIK it doesn't download dependencies.

What's the best way to manage that?

Thanks in advance.

jxself
Hors ligne
A rejoint: 09/13/2010

Look at apt-mirror. Run it periodically to keep yourself updated.

But: You're talking to us here. On the forums. Using the internet. So, clearly, you have internet access to "just" do sudo apt install gcc and whatnot to begin with...???

MichaelAgarkov
Hors ligne
A rejoint: 02/09/2025

> But: You're talking to us here. On the forums. Using the internet. So, clearly, you have internet access to "just" do sudo apt install gcc and whatnot to begin with...???

I want to prepare packages for offline installation, so I can install them on offline computers in the future.

prospero
Hors ligne
A rejoint: 05/20/2022

The documentation also has the following suggestions: