Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-10-2006, 11:45 PM
|
#1
|
LQ Newbie
Registered: Feb 2006
Posts: 27
Rep:
|
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?
|
|
|
04-10-2006, 11:57 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914
Rep:
|
What's the five step approach?  I must be out of the loop... 
|
|
|
04-11-2006, 12:02 AM
|
#3
|
LQ Newbie
Registered: Feb 2006
Posts: 27
Original Poster
Rep:
|
Well I think it is:
tar xvzf package.tgz
cd package
./configure
make
make install
|
|
|
04-11-2006, 12:57 AM
|
#4
|
LQ Newbie
Registered: Mar 2005
Distribution: Slackware 10.0
Posts: 8
Rep:
|
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.
|
|
|
04-11-2006, 01:22 AM
|
#5
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
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).
|
|
|
04-11-2006, 11:56 AM
|
#6
|
LQ Newbie
Registered: Feb 2006
Posts: 27
Original Poster
Rep:
|
Thanks for the information - I like to learn a little!
|
|
|
04-11-2006, 01:20 PM
|
#7
|
Member
Registered: Aug 2004
Distribution: Slackware current
Posts: 250
Rep:
|
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?
|
|
|
04-11-2006, 02:17 PM
|
#8
|
LQ Newbie
Registered: Feb 2006
Posts: 27
Original Poster
Rep:
|
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.
|
|
|
04-11-2006, 02:21 PM
|
#9
|
LQ Newbie
Registered: Feb 2006
Posts: 27
Original Poster
Rep:
|
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.
|
|
|
04-11-2006, 04:51 PM
|
#10
|
Member
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512
Rep:
|
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)
|
|
|
04-11-2006, 07:11 PM
|
#11
|
LQ Newbie
Registered: Feb 2006
Posts: 27
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|