I'm trying to get GCC and Make installed on my desktop, but there's no internet connection available. I've heard I can place .deb files in /var/run/apt/caches for apt to find them, but since 'build-essential' is just a meta-package, I need more than just that. Is it possible to download the required packages elsewhere and then install them without internet access? I've checked my old drives, but it looks like the caches were cleared. Also, I might need to take my desktop to the public library to get access to the internet. Any tips or methods that could help?
1 Answer
To install GCC and Make offline, you'll need to download the .deb packages along with their dependencies. If you can access another Linux machine with internet, consider using 'synaptic' to generate a script for downloading the necessary packages. You'll have to mark the packages you need and then generate a download script. After running that on a connected machine, you can transfer the files to your desktop. It might be a bit of work, but it’s a solid approach! Check out the Synaptic help guide for more details.
That sounds a bit complicated. Is there an easier way without having to mess with scripts?