-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathinstall_linux_ubuntu.sh
49 lines (37 loc) · 1.28 KB
/
install_linux_ubuntu.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
# Ubuntu Willy (15.10)
# ffmpeg static
if [ "$(uname -m)" == "x86_64" ]; then
wget -q --no-check-certificate https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz
tar xf ffmpeg-release-64bit-static.tar.xz
mv ffmpeg-3.2.2-64bit-static ffmpeg-tool
rm -f ffmpeg-release-64bit-static.tar.xz
cp ffmpeg-tool/ffmpeg ffmpeg
cp ffmpeg-tool/ffprobe ffprobe
else
wget -q --no-check-certificate https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-32bit-static.tar.xz
tar xf ffmpeg-release-32bit-static.tar.xz
mv ffmpeg-3.2.2-32bit-static ffmpeg-tool
rm -f ffmpeg-release-32bit-static.tar.xz
cp ffmpeg-tool/ffmpeg ffmpeg
cp ffmpeg-tool/ffprobe ffprobe
fi
# install youtube-dl, gTTS, names
#sudo -H pip install --upgrade gTTS git+https://github.com/linglung/ytdl.git@master
sudo -H pip install --upgrade gTTS youtube-dl names
#install youtube-upload
sudo -H pip install --upgrade google-api-python-client progressbar2 git+https://github.com/tokland/youtube-upload.git@master
# create folder
mkdir -p download/musik
mkdir -p download/video
mkdir -p report
mkdir -p video_awal
mkdir -p video_akhir
mkdir -p record-tv
mkdir -p text_to_speech/id
mkdir -p text_to_speech/en
chmod 755 *
clear
echo -e "
\e[1m\e[92mSelesai, jika gagal silahkan clone xoxo dari awal
"
sleep 300