Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-24-2008, 01:15 PM   #1
LQ Newbie
Registered: Feb 2006
Posts: 17

Rep: Reputation: 0
trying to install Nano (Pico clone)


I'm a beginner but keen to learn as much as I can about running a Linux based web much so I'm renting out a VPS and trying to teach myself.

I'm trying to get used to working in a shell environment and would like to learn about installing software...and since I don't have Pico I'd like to install Nano from here

I've downloaded the .tar.gz package of files to my windows laptop ..........and I intend to upload to my vps using winscp.

My question is in what directory should I place the .tar.gz I've downloaded before running the commands to install as it says....


Download the nano source code, then:

tar zxvf nano-x.y.z.tar.gz
cd nano-x.y.z
make install

It's that simple. Use --prefix with configure to override the default installation directory of /usr/local.


thanks very much

Old 01-24-2008, 01:21 PM   #2
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
Well, just put it in your home folder. You won't need it after the install anyway, you can delete the tar.gz after that. Remember to run 'make install' as root (or with sudo) if you want to install it system wide.
Old 01-24-2008, 01:41 PM   #3
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Originally Posted by H_TeXMeX_H View Post
You won't need it after the install anyway, you can delete the tar.gz after that.
That's right, but if you want to just remove it one day, you would like to have the package. Of course you can re-download it again, but it doesn't harm to store the package anyway..because the Makefile that comes along it should contain a target called "uninstall" so that when you run "make uninstall", it removes the files it copied to your system. It doesn't seem to exist in each source code project I face, but in most of those that use Makefiles. And it's not bullet-proof, but definitely easier than trying to manually guess where it put what files, and then remove those afterwards.

Of course most of the time you don't want to remove the package you installed, but sometimes you might. I would say don't remove the package before you've at least tried that the installed thing works.
Old 01-24-2008, 02:17 PM   #4
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Ubuntu, Mint
Posts: 973

Rep: Reputation: 40
Have you tried installing it from the package manager for your distro? Nano's a popular program, and is probably included in the repos for your distro.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pico or nano editor SlackWare package petcherd Slackware 9 03-28-2007 09:09 AM
how to install pico free Linux - Newbie 2 07-01-2004 06:06 PM
I still can't install PICO / PINE Mustard010 Linux - General 2 12-05-2003 03:12 PM
pico nano shania Linux - Newbie 2 10-30-2003 12:27 PM
Pico and Custom install TheFarLeft Red Hat 3 09-04-2003 10:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration