How install gcc with deb
tomh0665 at gmail.com
Sat Nov 17 13:45:00 UTC 2018
On Sat, Nov 17, 2018 at 2:19 PM Caipenghui <Caipenghui_c at 163.com> wrote:
> My computer is loaded with ubuntu18.04 LTS, but my computer is not
> connected to the Internet, so I can't install GCC online. So I have a
> network in another computer from
> https://packages.ubuntu.com/bionic-updates/devel/gcc download deb into
> the u disk to install on my Ubuntu 18.04.
> What's the use of deb? How does deb install GCC？I know that deb can't
> solve the dependency problem, what can we do?
I assume that you mean dpkg and not deb.
You can run "apt-get -d install gcc" to download the gcc deb and those
of its dependencies, copy them to the non-networked (!) computer, and
install them with "dpkg -i ...".
More information about the ubuntu-users