Skip to content

Commit

Permalink
sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Oct 7, 2023
1 parent 263b061 commit c70e576
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/apt_get_39.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ set -e
sudo apt-get -y update && \
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install \
software-properties-common && \
add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
apt-get -y update && \
apt-get install g++-11 gcc-11 && \
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
sudo apt-get -y update && \
sudo apt-get install g++-11 gcc-11 && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 10 && \
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 10 && \
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 10
sudo apt-get -y update && \
sudo apt-get -y install \
cmake \
Expand Down

0 comments on commit c70e576

Please sign in to comment.