LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-18-2005, 06:24 PM   #1
grautu
Member
 
Registered: Jul 2005
Posts: 142

Rep: Reputation: 15
'make install': please help!


Hello!
I've chosen to install "nano", as my first attempt to install a Slackware package which is not part of the CD distribution. I've proceeded as follows.
1) Download <nano-1.2.5-i486-1kan.tgz>, from a mirror of <http://www.linuxpackages.net/> to my ~Desktop directory.
2) $ cd ~Desktop
3) $ tar zxvf nano-1.2.5-i486-1kan.tgz

4) Consequently I've got several files and directories in ~Desktop but no config file anywhere. The expected subdirectory nano-1.2.5 was created at ~Desktop/usr/doc/nano-1.2.5 but I definitely failed to apply the './config' step as the README file told me (machine's message "no 'config' file" etc).
Could you please help me?
Thanks!
 
Old 10-18-2005, 06:32 PM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
you don't un-tar it..........use installpkg
why nano, isn't vi a good enough editor??
 
Old 10-18-2005, 06:33 PM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
you should use the Slackware pkgtools to handle Slackware packages.
type " pkgtool " in a console ( as root ) to get going.
alternatively you can use " installpkg < package.tgz> " .

egag
 
Old 10-18-2005, 07:59 PM   #4
grautu
Member
 
Registered: Jul 2005
Posts: 142

Original Poster
Rep: Reputation: 15
Grateful thanks freakyg and egag!
Indeed it was 1/2 second a job, but how can I detect which *.tgz file is a Slackware package and which doesn't obey Slack?
 
Old 10-18-2005, 09:17 PM   #5
sweetnsourbkr
Member
 
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167

Rep: Reputation: 30
I thought all *.tgz files were Slack packages?
 
Old 10-18-2005, 09:31 PM   #6
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
Quote:
Originally posted by freakyg
why nano, isn't vi a good enough editor??
Not everyone likes vi.

Quote:
Originally posted by grautu
Indeed it was 1/2 second a job, but how can I detect which *.tgz file is a Slackware package and which doesn't obey Slack?
Well, you can run installpkg and it will tell you if its not a slackware build. You can also just get slackware packages from trusted sites.
 
Old 10-18-2005, 11:48 PM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Slackware packages include a directory called install/ in the package with a file called slack-desc and sometimes another one called doinst.sh.
Usually you'll also know it's a package because where you get it from they state it is. Sometimes people distribute tar.gz files with a .tgz extention due to some old behaviours in browsers and filesystems, shouldn't be a problem these days.
 
Old 10-19-2005, 06:16 AM   #8
grautu
Member
 
Registered: Jul 2005
Posts: 142

Original Poster
Rep: Reputation: 15
Hello and thanks to all!
Honestly (and everybody may laugh about me) I'm such a newbie than needing an editor with all of its keyboard shortcuts permanently available on the screen. So I'm patiently waiting for a VI and an EMACS which I can afford in this respect.
Thanks to all for help!
 
Old 10-19-2005, 06:33 AM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You may want to try vim (vi improved), first I recommend is to copy a default config file with: cp /usr/share/vim/vim63/vimrc_example.vim ~/.vimrc
Then run the program: vimtutor
That will teach you most stuff you want to know right now.
Meanwhile, you can use mcedit (part of mc included with Slackware) or download nano which is a enchanced clone of pico (another easy to use editor).

I don't think somebody will laugh at you, at first it's very difficult to get on with vi if you haven't read about it previosly.
 
Old 10-19-2005, 06:52 AM   #10
grautu
Member
 
Registered: Jul 2005
Posts: 142

Original Poster
Rep: Reputation: 15
Thanks gbonvehi!
I have never known of the ideas you speak about; I do intend to learn and see that tutorial. As for nano, it is so simple than nobody may fail in "minimal editing" with it; it will not die as long as newbie will still exist.
 
  


Reply



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
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
make; make install commands in SuSE Linux 9.1 Personal johnerskine Linux - Newbie 6 06-23-2004 10:18 AM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM
'make' & 'make install commands not recognised by shell gilbertt Linux - Software 4 05-04-2004 08:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration