Score:0

Installing GCC in an air-gapped environment

dz flag

I have an ubuntu 20.04 VM with conda installed on top of it. Some of the packages I am using need GCC, I am trying to install it using multiple documentations and forums but with no luck.

Tried installing the build-essential package but each time I'm missing some dependencies and their dependencies miss some dependencies... (No way this is the way I'm supposed to do that this way). Tried installing from a source package (tar file) but got an error: no acceptable C compiler is found in $PATH (isn't the GCC supposed to be my C compiler ? How can I have a C-compiler when I'm trying to install one ??)

Do you guys have a working manual that I could use ?

user535733 avatar
cn flag
One fairly simple method is to mirror the air-gapped environment (without data) using a network-connected VM. The online Apt will happily tell you the complete list of missing dependencies and even download them for you.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.