Log:Nano update

From radwiki
Revision as of 23:25, 10 April 2020 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Centos package was only 2.3. Needed a more recent version to support better syntax highlighting.
  • Downloaded v4.0 from https://www.nano-editor.org/dist/v4/
  • In home directory, ran ./configure, make, sudo make install
  • Confirmed new nano --version was 4.0.
    • Note it is installed in /usr/local/bin so root PATH still used the old version. Updated with symlink, old binary is nano2.
  • Downloaded syntax repo from https://github.com/scopatz/nanorc to home folder
  • Created and updated ~/.nanorc file accordingly, to use the new files
  • Confirmed the PHP highlighting looks much better :)