How to Install Build-Essentials Offline on Ubuntu

I have installed an ubuntu server on shuttle XS35V2 but it doesn't work with the ethernet card thus I can not install build-essentials to upgrade the driver. How to install build essentials offline? I was reading about downloading the .deb files but with all the dependencies for each file it would take ages. Is there a way to download the whole package with all the dependencies or other way to install it? I installed ubuntu from a usb stick.

2 Answers

Keryx may work for you. This AskUbuntu question explains it's usage a bit more.

apt-get --print-uris install build-essential will give you a list of urls for packages you need to download. wget those packages from another machine, then sneaker-net those packages to your disconnected machine, and place them into /var/cache/apt/archives

apt-zip is a package which attempts to help you with this process

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest