Ubuntu – How to install clearlinux gcc in ubuntu

20.04

https://github.com/clearlinux-pkgs/gcc

How to compile gcc in ubuntu 20.04 with clearlinux config and patches?

500 Reward to step by step copy/paste tutorial.

I needed this for How to replace ubuntu 20.04 kernel with clearlinux kernel?

Best Answer

Thanks to @Raffa and i hope @Raffa writes the answer here so i will award him the award.

wget https://cdn.download.clearlinux.org/releases/33030/clear/x86_64/os/Packages/gcc7-7.5.0-440.x86_64.rpm
sudo apt install alien git curl
sudo alien gcc7-7.5.0-440.x86_64.rpm
sudo dpkg -i gcc7_7.5.0-441_amd64.deb
gcc7 -v
Related Question