Created
December 22, 2011 16:32
-
-
Save alex-endfinger/1510908 to your computer and use it in GitHub Desktop.
Installs the nano text editor on Chrome OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
I get the same thing as BKpepe
same problem here
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
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.
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
chronos@localhost /tmp/nano $ sudo wget http://v48.googlecode.com/files/nano.tar.gz
--2016-08-27 20:05:43-- http://v48.googlecode.com/files/nano.tar.gz
Resolving v48.googlecode.com... 74.125.136.82
Connecting to v48.googlecode.com|74.125.136.82|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-08-27 20:05:43 ERROR 404: Not Found.