LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

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


Hi

I'm a beginner but keen to learn as much as I can about running a Linux based web server....so 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

http://linux.softpedia.com/get/Text-...nano-713.shtml

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 it....ie. as it says....

------------------------------
Installation

Download the nano source code, then:

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

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

--------------------------------

thanks very much



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

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
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
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
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.
 
  


Reply


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


All times are GMT -5. The time now is 08:22 PM.

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