sudo apt-get -y update
sudo apt-get -y install wget
sudo apt-get install build-essential -y
sudo apt-get install gcc-multilib -y
sudo apt-get -y install git
sudo sudo apt-get install python2 -y
sudo ln /usr/bin/python2 /usr/bin/python
cd csapplab/archlab/archlab-handout/
tar -xvf sim.tar
cd sim/pipe/
wget https://gitee.com/lin-xi-269/csapplab/raw/master/lab4archlab/archlab-handout/sim/pipe/run.sh
chmod +x run.sh
wget https://gitee.com/lin-xi-269/csapplab/raw/master/lab4archlab/archlab-handout/installTclTk.sh && bash installTclTk.sh
sudo apt-get install net-tools