-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathdependencies.sh
55 lines (53 loc) · 1.06 KB
/
dependencies.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
#!/bin/bash
sudo apt update -qq && sudo apt dist-upgrade -qq && sudo apt -y install \
autoconf \
jq \
initramfs-tools \
automake \
build-essential \
cmake \
git-core \
libass-dev \
libfreetype6-dev \
libsdl2-dev \
libtool \
libva-dev \
mesa-va-drivers \
libvorbis-dev \
libxcb1-dev \
libxcb-shm0-dev \
libxcb-xfixes0-dev \
curl \
pkg-config \
texinfo \
wget \
zlib1g-dev \
gcc-7 \
g++-7 \
i965-va-driver \
vainfo \
vdpauinfo \
libx264-dev \
libx265-dev \
libnuma-dev \
python3-pip \
youtube-dl \
libvpx-dev \
libfdk-aac-dev \
libmp3lame-dev \
libopus-dev \
libvdpau-dev \
software-properties-common \
yasm
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs xdg-utils
sudo npm install cloudcmd -g
#write out current crontab
crontab -l > cloudcmd
#echo new cron into cron file
echo "@reboot cloudcmd" >> cloudcmd
#install new cron file
crontab cloudcmd
rm cloudcmd
sudo apt autoremove -y
echo '\n'"$(tput setaf 2) Dependencies are installed.$(tput sgr 0)"'\n'