目次

Gcc

Gcc

# apt install gcc g++ gfortran

Gcc 10

普段通り“apt install”を実行した場合,パッケージが見つからないため,gcc10を含むリポジトリを追加.

add-apt-repository ppa:ubuntu-toolchain-r/test
apt update
apt install gcc-10 g++-10 gfortran10