LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 04-10-2006, 11:45 PM   #1
va3dxs
LQ Newbie
 
Registered: Feb 2006
Posts: 27

Rep: Reputation: 15
installpkg


This is not a request for help, but I am interested to know:

If I install a new package using installpkg it takes a few seconds.

If I install a new package using the five step approach it takes a l o n g time.

Why?
 
Old 04-10-2006, 11:57 PM   #2
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
What's the five step approach? I must be out of the loop...
 
Old 04-11-2006, 12:02 AM   #3
va3dxs
LQ Newbie
 
Registered: Feb 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Well I think it is:

tar xvzf package.tgz
cd package
./configure
make
make install
 
Old 04-11-2006, 12:57 AM   #4
edavis
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware 10.0
Posts: 8

Rep: Reputation: 0
That's because when you install with installpkg you are only installing the necessary files that come with the package. With your five step approach you have to do the time consuming task of compiling all the source code before you can get a final product.
 
Old 04-11-2006, 01:22 AM   #5
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
You could get the Slackware package with checkinstall (run checkinstall rather than make install and it will make package for you). Then you could install this package running installpkg. Checkinstall can be found in the extra directory on your cd (it's not installed by default).
 
Old 04-11-2006, 11:56 AM   #6
va3dxs
LQ Newbie
 
Registered: Feb 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for the information - I like to learn a little!
 
Old 04-11-2006, 01:20 PM   #7
bird603568
Member
 
Registered: Aug 2004
Distribution: Slackware current
Posts: 250

Rep: Reputation: 30
Quote:
Originally Posted by va3dxs
Well I think it is:

tar xvzf package.tgz
cd package
./configure
make
make install
you shouldn't be able to compile a package. do you mean .tar.gz?
 
Old 04-11-2006, 02:17 PM   #8
va3dxs
LQ Newbie
 
Registered: Feb 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Well no. My understanding is that .tar.gz and .tgz are the same thing? What I have done is if it is a specifically Slackware package I use installpkg. Otherwise I have gone through the whole routine. It's always worked with both .tgz and .tar.gz packages. And that incidentally is why I like Slackware so much - it always works if the dependencies are satisfied. That was very far from the case with the other 'easier' distros I tried.
 
Old 04-11-2006, 02:21 PM   #9
va3dxs
LQ Newbie
 
Registered: Feb 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Let me just clarify that last post. I try to follow the instructions for each particular package! Sometimes the ./configure step is not necessary, and so on.
 
Old 04-11-2006, 04:51 PM   #10
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Quote:
Originally Posted by va3dxs
Well no. My understanding is that .tar.gz and .tgz are the same thing? What I have done is if it is a specifically Slackware package I use installpkg. Otherwise I have gone through the whole routine. It's always worked with both .tgz and .tar.gz packages. And that incidentally is why I like Slackware so much - it always works if the dependencies are satisfied. That was very far from the case with the other 'easier' distros I tried.
Both are just compressed data. A Slackware package is never compressed as .tar.gz as far as I know, .tgz could be a package as well as a source tarball. You'll have to make sure when you download it whether it is a package or source files which need to be compiled. (that's what ./configure, make does)
 
Old 04-11-2006, 07:11 PM   #11
va3dxs
LQ Newbie
 
Registered: Feb 2006
Posts: 27

Original Poster
Rep: Reputation: 15
OK - thanks

Relieved to know that my understanding of the situation was correct! And yes, I believe you are right to say that Slackware packages are always .tgz.
 
  


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
something about installpkg tintilin Slackware 5 11-26-2004 12:13 AM
installpkg mcd Slackware 4 10-17-2004 09:04 PM
installpkg questions salahuddin_66 Slackware 2 09-23-2004 01:26 AM
Not sure about installpkg Superdude Linux - Software 8 01-04-2004 05:30 PM
help with installpkg mep]-[isto Slackware 3 11-19-2003 02:27 PM


All times are GMT -5. The time now is 05:30 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