How install gcc with deb

Ralf Mardorf silver.bullet at zoho.com
Sat Nov 17 17:12:00 UTC 2018


On Sat, 17 Nov 2018 15:35:24 +0100, Tom H wrote:
>I made the possibly wrong assumption that both computers are running
>18.04 :(

On Sat, 17 Nov 2018 09:54:28 -0500 (EST), Robert Heller wrote:
>If this 'Other' computer also has Ubuntu 18.04 installed on it you can
>do:
>
>sudo apt-get update
>sudo apt-get -d install gcc binutils

Wouldn't this require that on both machines the same Ubuntu release
is installed and that on both machines the same packages and packages'
versions are installed, thus the consequence of this a full-upgrade is
required instead of "-d install gcc binutils"?

IOW on the Internet machine run

  sudo apt update
  sudo apt full-upgrade

or just in case even
  
  sudo apt -o APT::Keep-Downloaded-Packages=1 full-upgrade

  sudo cp -ai /var/cache/apt/archives/* /path/to/thumbdrive/

and on the other machine

  sudo apt install /path/to/thumbdrive/*

?





More information about the ubuntu-users mailing list