Sunday, July 24, 2016

package management - Upgrade gcc (4:7.3.0-3ubuntu2) to gcc-8 (8.2.0) in ubuntu 18.04

Has recently upgraded my ubuntu from 16.04 to 18.04.1 LTS. When trying to run vmware I am getting this message: gcc version 8.2.0 not found
so I checked gcc v. and I found: (Ubuntu 7.3.0-16ubuntu3).
I tried to install gcc-8 following these steps:



sudo add-apt-repository ppa:ubuntu-toolchain-r/test && sudo apt update &&
sudo apt install -y gcc-8



But I got this: The following packages have unmet dependencies: gcc-8: depends:
cpp-8, gcc-8-base and libgcc-8-dev


So I downloaded gcc-8 from here: https://packages.ubuntu.com/bionic/gcc-8
, But I don't know how to install it and if this is the right way?!
Any suggestions or help is very appreciated - I don't know how to do it.



Build-essential: newest v.: 12.4ubuntu1
Kernel: 4.17.12-041712-generic

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...