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