This is the counter for my recent post, LOL… 😀
Nano is one of friendly text editor usually included on most Linux distribution. Nano is not included on Solaris 10 installation -tough you do entire disk install, LOL. But, nano can be installed later manually. These few simple steps will make your nano home 😀 :
1. Go to www.sunfreeware.com, choose your Solaris version and machine platform. Machine platform could be x86 or SPARC. Choose the right one
2. Once you choosen your Solaris version and machine platform, you will be entering new page with suitable to your OS and platform
3. Left-click on nano package
4. I assume you use SPARC machine. This is the view after you click on nano package
- nano-2.0.9-sol10-sparc-local.gz GNU nano (Nano’s ANOther editor, or Not ANOther editor) is an enhanced clone of the Pico text editor – installs in /usr/local. Dependencies: ncurses, libiconv, libintl, and you will need /usr/local/lib/libgcc_s.so.1 either from the libgcc-3.4.6 or gcc-3.4.6 packages
5. Click on nano package to download it
6. Click on dependencies needed based on the notes above (ncurses, libiconv, libintl, libgcc-3.4.6)
7. Install the dependencies first:
#gunzip -d ncurses-5.6-sol10-sparc-local.gz
#pkgadd -d ncurses-5.6-sol10-sparc-local
#gunzip -d libiconv-1.11-sol10-sparc-local.gz
#pkgadd -d libiconv-1.11-sol10-sparc-local
#gunzip -d libintl-3.4.0-sol10-sparc-local.gz
#pkgadd -d libintl-3.4.0-sol10-sparc-local
#gunzip -d libgcc-3.4.6-sol10-sparc-local.gz
#pkgadd -d libgcc-3.4.6-sol10-sparc-local
8. Finally, install the nano package
#gunzip -d nano-2.0.9-sol10-sparc-local.gz
#pkgadd -d nano-2.0.9-sol10-sparc-local
9. Next, you can’t use your nano yet untill you add your PATH variables
#export PATH=$PATH:/usr/local/bin
This is because nano installation put it’s binary files on /usr/local/bin which Solaris default PATH is not included it in.