Skip to content

Instantly share code, notes, and snippets.

@jtenner
Last active August 29, 2015 13:56
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jtenner/79bb5350c318f7623ca7 to your computer and use it in GitHub Desktop.

Steps

  • Dowload DebianKit from the Play Store
  • Open Debian Kit and check to make sure everything is in order
  • SSH client or terminal is fine (I used ssh server)
cd /sdcard/download
wget http://sven-ola.dyndns.org/repo/debian-kit-1-5.shar
su
sh debian-kit*
  • Choose 0p and Follow all instructions on the install
./data/local/deb/deb
cd /sdcard
e2fsck -f debian.img
  • Give yourself enough space to do what you need to do, I used 10G (10 gigabytes)
resize2fs debian.img 10G
  • I was on a clean install of CyanogenMod Nightly using android 4.4.2 and had a lot of space
e2fsck -f debian.img
  • At this point do a manual reboot
./data/local/deb/deb
apt-get update
apt-get upgrade
apt-get install build-essential libssl-dev curl git-core python
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
source ~/.nvm/nvm.sh
nvm install 0.11.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment