forked from thehackerwithin/UofCSCBC2012
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·35 lines (30 loc) · 943 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
# setup bashrc
if [ -f ~/.bashrc.bak ]; then
cp ~/.bashrc.bak ~/.bashrc
fi
cp ~/.bashrc ~/.bashrc.bak
cp bashrc ~/.bashrc
# Install extra packages
apt-get update
apt-get install metacity -y
apt-get install most -y
apt-get install gcc -y
# Fix to redraw borders
if ! grep "@metacity --replace" /etc/xdg/lxsession/Lubuntu/autostart ; then
echo "@metacity --replace" >> /etc/xdg/lxsession/Lubuntu/autostart
fi
# Install kernprof
wget http://pypi.python.org/packages/source/l/line_profiler/line_profiler-1.0b3.tar.gz#md5=63fc2a757192eb5e577559cfdff5b831
tar xvzf line_profiler-1.0b3.tar.gz
cd line_profiler-1.0b3
python setup.py install
cd ..
rm -rf line_profiler-1.0b3*
# Install faulthandler
wget http://pypi.python.org/packages/source/f/faulthandler/faulthandler-2.1.tar.gz#md5=5bbcb86e15a2b2583a97626f4b8c8760
tar xvzf faulthandler-2.1.tar.gz
cd faulthandler-2.1
python setup.py install
cd ..
rm -rf faulthandler-2.1*