Skip to content

Instantly share code, notes, and snippets.

@alex-endfinger
Created December 22, 2011 16:32
Show Gist options
  • Save alex-endfinger/1510908 to your computer and use it in GitHub Desktop.
Save alex-endfinger/1510908 to your computer and use it in GitHub Desktop.
Installs the nano text editor on Chrome OS
#!/bin/sh
sudo echo -n
sudo mkdir /tmp/nano
cd /tmp/nano
sudo wget http://v48.googlecode.com/files/nano.tar.gz
sudo tar -zxvf nano.tar.gz
sudo mv ./nano /usr/bin
sudo rm -rf /tmp/nano
@thejordanprice
Copy link

thejordanprice commented Jan 24, 2017

Sorry to be late, but you've gotta remount with r/w.

sudo mount -o rw,remount /

Also that link he had posted contained a precompiled binary, not just the source. So that is what you'll need.

@ewpratten
Copy link

or you can move the file to /usr/local/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment