Skip to content

Instantly share code, notes, and snippets.

@sixg0000d
Forked from axxx007xxxz/Setup Android build environment on Fedora
Last active December 8, 2022 17:55
Show Gist options
  • Save sixg0000d/cf8a800b4774c4e59bbca2ee2e892210 to your computer and use it in GitHub Desktop.
Save sixg0000d/cf8a800b4774c4e59bbca2ee2e892210 to your computer and use it in GitHub Desktop.
This one is for Fedora 32 to build LineageOS 17.1
#!/bin/bash
if [ $UID != "0" ]; then
echo "ERROR: You must run this script as root!"
exit 1
fi
dnf install \
@development-tools \
ImageMagick-devel \
ImageMagick-c++-devel \
SDL \
automake \
bc \
bison \
bzip2 \
bzip2-libs \
ccache \
curl \
dpkg-dev \
flex \
gcc \
gcc-c++ \
git \
gperf \
libstdc++.i686 \
libxml2-devel \
libxslt \
lz4-libs \
lzop \
make \
maven \
ncurses-compat-libs \
openssl-devel \
patchelf \
pngcrush \
python27 \
python3 \
python3-mako \
python3-networkx \
readline-devel \
readline-devel.i686 \
rsync \
schedtool \
squashfs-tools \
syslinux-devel \
zip \
zlib-devel \
zlib-devel.i686
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment