-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
executable file
·62 lines (60 loc) · 1.27 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
sudo apt-get install debhelper \
libgtk2.0-dev \
libgtk2.0-bin \
libglade2-dev \
autotools-dev \
byacc \
flex \
texinfo \
docbook-to-man \
libvte-dev \
gcc-8 \
g++-8 \
cpp-8 \
git \
macchanger \
tor \
tor-geoipdb \
torsocks \
net-tools \
iptables \
iproute2 \
secure-delete \
procps \
curl \
coreutils
cp tor-gui.svg /usr/share/icons/hicolor/scalable/apps/
gtk-update-icon-cache -f -i /usr/share/icons/hicolor
cd /usr/bin/
mv gcc gcc.bk
mv g++ g++.bk
mv cpp cpp.bk
ln -s gcc-8 gcc
ln -s g++-8 g++
ln -s cpp-8 cpp
cd -
git clone https://github.com/bm16ton/gtkdialog.git
cd gtkdialog
dpkg-buildpackage -b -j$(nproc)
dpkg -i ../gtkdialog_0.8.3*.deb
cd ..
cd /usr/bin/
mv gcc.bk gcc
mv g++.bk g++
mv cpp.bk cpp
cd -
cp tor-gui.desktop /usr/share/applications/
sudo cp list-macs.sh /usr/local/bin/
sudo cp default-net-interface.sh /usr/local/bin/
sudo cp torctl /usr/local/bin/
sudo cp tor-gui /usr/local/bin/
sudo chmod +x /usr/local/bin/list-macs.sh
sudo chmod +x /usr/local/bin/default-net-interface.sh
sudo chmod +x /usr/local/bin/torctl
sudo chmod +x /usr/local/bin/tor-gui
sudo chmod +x /usr/share/applications/tor-gui.desktop
sudo mkdir /var/lib/tor-gui
sudo touch /var/lib/tor-gui/temps
sudo cp torctl-auto* /etc/systemd/system/
echo "Reboot, then from command line enter sudo tor-gui"