-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlinux_installation.sh
More file actions
37 lines (26 loc) · 844 Bytes
/
linux_installation.sh
File metadata and controls
37 lines (26 loc) · 844 Bytes
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
echo "Updating System"
sudo apt update -y && sudo apt upgrade -y
echo "Installing Python Virtual environment"
sudo apt install python3-venv -y
echo "Creating python venv"
python3 -m venv .venv
echo "Installing FFMPEG"
sudo apt install ffmpeg -y
echo "Installing python3 pip"
sudo apt install python3-pip -y
echo "Activating python venv"
source .venv/bin/activate
echo "Installing Python Requirements"
python3 -m pip install -r requirements.txt
echo "Installing Radar 2"
git clone https://github.com/radareorg/radare2
sudo chmod 777 radare2/sys/install.sh
radare2/sys/install.sh
echo "Installing Radar 2 extension r2dec"
sudo apt install meson ninja-build -y
r2pm -ci r2dec
echo "Installing JRE and JDK"
sudo apt install default-jre -y
sudo apt install default-jdk -y
clear
echo "Script is ready to be executed. type python3 main.py"