Trying to install inside a docker, either vim or nano but I only get this:
0% [Connecting to archive.ubuntu.com (91.189.88.152)]
Exit docker an
Here is how you can use wget
to fetch and install a nano
lib or binary or whatever it was called and then use it in to edit a file in the python:latest
image.
$ cd ~
$ wget http://www.nano-editor.org/dist/v2.4/nano-2.4.2.tar.gz
$ tar -xzf nano-2.4.2.tar.gz
$ cd nano-2.4.2
$ ./configure
$ make
$ make install # removed sudo from this line
test it
$ touch file
$ nano file
# close with `ctrl+z enter`
$ rm file # delete that test file
UPDATE:
apt-get
worked for me... I bet other people weren't running update first.
$ apt-get update
$ apt-get install nano