Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
fix problems for virtual lab setup
Browse files Browse the repository at this point in the history
  • Loading branch information
irgalamarr authored Dec 17, 2023
1 parent 1da21f5 commit f201386
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ echo "****************************************"
echo " Setting up Capstone Environment"
echo "****************************************"

echo "Installing Python 3.8 and Virtual Environment"
echo "Installing Python 3.10 and Virtual Environment"
sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y python3.8 python3.8-venv
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y python3.10 python3.10-venv

echo "Making Python 3.8 the default..."
echo "Making Python 3.10 the default..."
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 2
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2

echo "Checking the Python version..."
python3 --version
Expand Down

0 comments on commit f201386

Please sign in to comment.