How install gcc with deb

Ralf Mardorf silver.bullet at
Sat Nov 17 17:49:25 UTC 2018

On Sat, 17 Nov 2018 18:12:00 +0100, Ralf Mardorf wrote:
>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
>>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"?

Assuming an intact cache, just the same packages, the versions should
be irrelevant.

>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/*

Kitty, Daisy & Lewis - The Game Is On
Kitty, Daisy & Lewis - Down On My Knees
Kitty, Daisy & Lewis - Black Van

More information about the ubuntu-users mailing list