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
@danipolo
Copy link

same problem here

@typoviking
Copy link

typoviking commented Nov 12, 2016

stuck here after download...from working url (https://www.nano-editor.org/dist/v2.7/nano-2.7.1.tar.gz)

any ideas??

localhost nano # sudo mv ./nano-2.7.1 /usr/bin
mv: inter-device move failed: ‘./nano-2.7.1’ to ‘/usr/bin/nano-2.7.1’; unable to remove target: Read-only file system

@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