-
Notifications
You must be signed in to change notification settings - Fork 0
/
pkgs
45 lines (36 loc) · 976 Bytes
/
pkgs
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
#!/bin/bash
# Python3 is required to run the python scripts
if ! command -v python3 &>/dev/null; then
sudo apt update
sudo apt install -y python3
fi
if ! command -v pip3 &>/dev/null; then
sudo apt update
sudo apt install -y python3-pip
fi
# Ruby is required to run ruby scripts
if ! command -v ruby &>/dev/null; then
sudo apt update
sudo apt install -y ruby-full
export GEM_HOME="$HOME/.gem"
gem install bundler # -v 2.1.4
fi
# lsb_release is required to run sys/kernel_version.sh script
if ! command -v lsb_release &>/dev/null; then
sudo apt update
sudo apt install -y lsb-core
fi
# Required for compiling C/C++ files
if ! command -v gcc &>/dev/null; then
sudo apt update
sudo apt install -y build-essential
fi
if ! command -v gm &>/dev/null; then
sudo apt update
sudo apt install -y graphicsmagick
fi
# xdg-open is included inside xdg-utils
if ! command -v xdg-open &>/dev/null; then
sudo apt update
sudo apt install -y xdg-utils
fi