Installing the latest GCC on Ubuntu Tutorial

Channel:
Subscribers:
22,900
Published on ● Video Link: https://www.youtube.com/watch?v=By8OhiaLkp4



Duration: 4:16
1,014 views
0


This is an easy way of installing the actual latest GCC on Ubuntu and not one from 2017. I'm not sure why they don't deliver the latest version by default but since they don't, I made this video.

If you can't follow this video, it's alright. The tutorial I followed is available under the following link:
https://linuxize.com/post/how-to-install-gcc-compiler-on-ubuntu-18-04

For backup purposes, the essential commands I used are as follows:

****

$ sudo apt-get install gcc

$ sudo apt install software-properties-common
$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test

$ sudo apt install gcc-7 g++-7 gcc-8 g++-8 gcc-9 g++-9

$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9 --slave /usr/bin/gcov gcov /usr/bin/gcov-9
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 --slave /usr/bin/g++ g++ /usr/bin/g++-8 --slave /usr/bin/gcov gcov /usr/bin/gcov-8
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7 --slave /usr/bin/gcov gcov /usr/bin/gcov-7

$ sudo update-alternatives --config gcc

****

Enjoy.
Thanks for watching.

"Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use."

Video introduction by RavenProDesign: https://www.youtube.com/channel/UCbxPBKMfdfaoAAzNL6RkTAQ
Music by NoCopyrightSounds: https://www.youtube.com/channel/UC_aEa8K-EOJ3D6gOs7HcyNg
Buy my gameplay recording device: https://amzn.to/2J1CXmu
Buy my current laptop: https://amzn.to/2lW2rZv
Buy my microphone: http://amzn.to/2nnuH6F
Subscribe to my YouTube channel: http://bit.ly/1Xk00Zc







Tags:
Linux
Ubuntu
GCC
C Programming
C++ Programming
Latest GCC
Terminal
Tutorial
VMware
Linux VM
Linux Virtual Machine
Terminal Tutorial
GCC Installation Command Line
Command Line
Linux Ubuntu
Ubuntu Tutorial
GNU
GNU Compiler Collection
Free Software



Other Statistics

Counter-Strike: Source Statistics For BullyWiiPlaza

BullyWiiPlaza currently has 1,294 views spread across 2 videos for Counter-Strike: Source. His channel published less than an hour of Counter-Strike: Source content, less than 0.05% of the total video content that BullyWiiPlaza has uploaded to YouTube.