566 tutoriels disponibles
Chercher un tutoriel
Bienvenue
sur Shareannonce
 
Display line numbers with nano editors
Ecrit par: Shareannonce
Date création:  23-02-2020
Nombre de vues:  2095
Catégorie:  informatique > developpement > linux
Note: 
 
   Tutoriel N° 2e1

Display line numbers with nano editors


You need install nano 2.9.3 or higher

Shortcut: alt + shit + #

Before:
nano -V
2.5.3


nano 2.9.3 installation

su root

Create this script:

nano nano_numberlines.sh


wget https://www.nano-editor.org/dist/v2.9/nano-2.9.3.tar.gz;
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz;
tar zxvf ncurses-5.6.tar.gz;
tar -zxvf nano-2.9.3.tar.gz;
cd ncurses-5.6;
./configure;
make;
make install;
cd ..;
cd nano-2.9.3;
./configure;
make;
make install;
cd ..;
nano -V


Launch installation:

sh nano_numberlines.sh


After:
nano -V
2.9.3





 
 
   Autres tutoriels de la même catégorie >
 
ShareAnnonce version 2.0 Tous droits reserves. | Condition d'utilisation | Contact