scripts/setup-ubuntu.sh: Huh. We only have Python 3.5 here.
[termux-packages] / scripts / setup-ubuntu.sh
CommitLineData
c6f5b04a
FF
1#!/bin/bash
2set -e -u
4e963c62
FF
3
4PACKAGES=""
c6f5b04a
FF
5PACKAGES+=" asciidoc"
6PACKAGES+=" automake"
7PACKAGES+=" bison"
c6f5b04a 8PACKAGES+=" curl" # Used for fetching sources.
eb5f02a8 9PACKAGES+=" ed" # Used by bc
c6f5b04a 10PACKAGES+=" flex"
29162280 11PACKAGES+=" gcc-multilib" # Used by pforth build for 32-bit arches.
c6f5b04a 12PACKAGES+=" gettext" # Provides 'msgfmt' which the apt build uses.
29162280 13PACKAGES+=" g++"
c6f5b04a 14PACKAGES+=" git" # Used by the neovim build.
38d6235c 15PACKAGES+=" gperf" # Used by the fontconfig build.
c6f5b04a
FF
16PACKAGES+=" help2man"
17PACKAGES+=" intltool" # Used by qalc build.
c6f5b04a
FF
18PACKAGES+=" libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses.
19PACKAGES+=" libtool-bin"
cbb88069 20PACKAGES+=" libncurses5-dev" # Used by mariadb for host build part.
c6f5b04a 21PACKAGES+=" lzip"
54169cf2 22PACKAGES+=" python3.5"
c6f5b04a
FF
23PACKAGES+=" tar"
24PACKAGES+=" unzip"
25PACKAGES+=" m4"
852e83ab 26PACKAGES+=" openjdk-8-jdk-headless" # Used for android-sdk.
c6f5b04a 27PACKAGES+=" pkg-config"
852e83ab
FF
28PACKAGES+=" python3-docutils" # For rst2man, used by mpv.
29PACKAGES+=" python3-setuptools" # Needed by at least asciinema.
ee6a231c 30PACKAGES+=" python3-sphinx" # Needed by notmuch man page generation.
29162280 31PACKAGES+=" ruby" # Needed to build ruby.
c6f5b04a
FF
32PACKAGES+=" scons"
33PACKAGES+=" texinfo"
29162280 34PACKAGES+=" texlive-binaries" # Needed by texlive build.
c6f5b04a
FF
35PACKAGES+=" xmlto"
36PACKAGES+=" xutils-dev" # Provides 'makedepend' which the openssl build uses.
91a5322f
HG
37PACKAGES+=" libexpat1-dev" # Needed by ghostscript
38PACKAGES+=" libjpeg-dev" # Needed by ghostscript
6376c142 39
572e5e60
FF
40sudo DEBIAN_FRONTEND=noninteractive \
41 apt-get install -yq --no-install-recommends $PACKAGES
4e963c62
FF
42
43sudo mkdir -p /data/data/com.termux/files/usr
88183689 44sudo chown -R `whoami` /data