-
Notifications
You must be signed in to change notification settings - Fork 237
/
install_dependencies.sh
67 lines (55 loc) · 2.69 KB
/
install_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
56
57
58
59
60
61
62
63
64
65
66
67
#!/bin/bash
# __author__ = "Alberto Pettarin"
# __copyright__ = """
# Copyright 2012-2013, Alberto Pettarin (www.albertopettarin.it)
# Copyright 2013-2015, ReadBeyond Srl (www.readbeyond.it)
# Copyright 2015-2017, Alberto Pettarin (www.albertopettarin.it)
# """
# __license__ = "GNU AGPL 3"
# __version__ = "1.7.3"
# __email__ = "[email protected]"
# __status__ = "Production"
# DISABLED
#DEB="deb-multimedia-keyring_2015.6.1_all.deb"
# DISABLED
#echo "[INFO] A.2 Downloading and installing deb-multimedia keyring..."
#wget -t 5 "http://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/$DEB"
#if ! [ -e "$DEB" ]
#then
# echo "[ERRO] Cannot download the deb-multimedia keyring."
# echo "[ERRO] This might be due to a temporary network or server problem."
# echo "[ERRO] Please retry installing this Vagrant box later."
# echo "[ERRO] If the problem persists, please send an email to [email protected]"
# exit 1
#fi
#dpkg -i "$DEB"
#rm "$DEB"
#echo "[INFO] A.2 Downloading and installing deb-multimedia keyring... done"
echo "[INFO] A.1 Adding deb-multimedia to apt sources..."
sudo sh -c 'echo "deb http://www.deb-multimedia.org jessie main" > /etc/apt/sources.list.d/deb-multimedia.list'
echo "[INFO] A.1 Adding deb-multimedia to apt sources... done"
echo "[INFO] A.2 Updating apt..."
sudo apt-get update
echo "[INFO] A.2 Updating apt... done"
echo "[INFO] A.3 Downloading and installing deb-multimedia keyring..."
sudo apt-get install -y --force-yes deb-multimedia-keyring
echo "[INFO] A.3 Downloading and installing deb-multimedia keyring... done"
echo "[INFO] A.4 Updating apt..."
sudo apt-get update
echo "[INFO] A.4 Updating apt... done"
echo "[INFO] B.1 Installing ffmpeg (from deb-multimedia)..."
sudo apt-get install -y --force-yes ffmpeg
echo "[INFO] B.1 Installing ffmpeg (from deb-multimedia)... done"
echo "[INFO] B.2 Installing espeak..."
sudo apt-get install -y espeak espeak-data libespeak1 libespeak-dev
echo "[INFO] B.2 Installing espeak... done"
echo "[INFO] B.3 Installing festival..."
sudo apt-get install -y festival*
echo "[INFO] B.3 Installing festival... done"
echo "[INFO] B.4 Installing common libs using apt-get..."
sudo apt-get install -y build-essential
sudo apt-get install -y flac libasound2-dev libsndfile1-dev vorbis-tools
sudo apt-get install -y libxml2-dev libxslt-dev zlib1g-dev
sudo apt-get install -y python-dev python-pip
echo "[INFO] B.4 Installing common libs using apt-get... done"
echo "[INFO] Congratulations, now you can use aeneas!"