do-install-stuff.sh 745 Bytes
Newer Older
Harry Fuchs's avatar
Harry Fuchs committed
1
2
sed -i 's/deb.debian.org/ftp.agdsn.de/g' /etc/apt/sources.list
sed -i 's/security.debian.org/ftp.agdsn.de/g' /etc/apt/sources.list
Harry Fuchs's avatar
Harry Fuchs committed
3

Harry Fuchs's avatar
Harry Fuchs committed
4
5
6
7
8
9
cat /etc/apt/sources.list

apt-get update
# apt-get upgrade --yes
apt-get install --yes wget
apt-get install --yes python3
Harry Fuchs's avatar
Harry Fuchs committed
10
apt-get install --yes python2
Harry Fuchs's avatar
Harry Fuchs committed
11
12
13
14
# apt-get install --yes pandoc
apt-get install --yes texlive-full

#pandoc outdated in debian testing
Harry Fuchs's avatar
Harry Fuchs committed
15
VERSION=2.10.1
16
TGZ=pandoc-$VERSION-linux-amd64.tar.gz
Harry Fuchs's avatar
Harry Fuchs committed
17
18
19
20
DEST=.local
mkdir $DEST
export PATH=$PATH:$(pwd)/$DEST/bin
echo "export PATH=$PATH:$(pwd)/$DEST/bin" > install-path-pandoc
21
wget -c "https://github.com/jgm/pandoc/releases/download/$VERSION/$TGZ"
Harry Fuchs's avatar
Harry Fuchs committed
22
23
tar xvzf $TGZ --strip-components 1 -C $DEST
ls .local
Harry Fuchs's avatar
Harry Fuchs committed
24

Harry Fuchs's avatar
Harry Fuchs committed
25
python3 --version
Harry Fuchs's avatar
Harry Fuchs committed
26
pandoc --version
Harry Fuchs's avatar
Harry Fuchs committed
27
pdflatex --version