forked from cschsz/lineageos_vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_cm130.txt
33 lines (28 loc) · 1.27 KB
/
setup_cm130.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
sudo apt-get remove openjdk-8-jre openjdk-8-jdk-headless openjdk-8-jdk
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev maven vim openjdk-7-jdk mailutils ssmtp
wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip
unzip platform-tools-latest-linux.zip -d ~
mkdir -p ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
vim ~/.profile
--------------------------------------------
# add Android SDK platform tools to path
if [ -d "$HOME/platform-tools" ] ; then
PATH="$HOME/platform-tools:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
--------------------------------------------
source ~/.profile
vim ~/.bashrc
--------------------------------------------
export USE_CCACHE=1
export USE_NINJA=false
export CCACHE_COMPRESS=1
--------------------------------------------
source ~/.bashrc