Shell/Bash: install gcc in ubuntu Example

By

Shell/Bash Example: This is the "install gcc in ubuntu" Example. compiled from many sources on the internet by SimpleTutorials.org

install gcc in ubuntu

$ sudo apt install build-essential

Compiling GCC 10 on ubuntu

1 cd ~
2 mkdir build && cd build
3 ../gcc-10.1.0/configure -v --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --prefix=/usr/local/gcc-10.1.0 --enable-checking=release --enable-languages=c,c++,fortran --disable-multilib --program-suffix=-10.1



* Summary: This "install gcc in ubuntu" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others