do-install-stuff.sh 766 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
10
11
12
13
14
cat /etc/apt/sources.list

apt-get update
# apt-get upgrade --yes
apt-get install --yes wget
apt-get install --yes python3
apt-get install --yes python
# apt-get install --yes pandoc
apt-get install --yes texlive-full

#pandoc outdated in debian testing
15
16
VERSION=2.9.2.1
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
25
26
27

alias python3=python

python --version
Harry Fuchs's avatar
Harry Fuchs committed
28
pandoc --version
Harry Fuchs's avatar
Harry Fuchs committed
29
pdflatex --version