Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
|
03-16-2014, 04:55 PM
|
#1
|
Member
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283
Rep:
|
how to install packages on Slackware
I'm installing stuff (flash player, graphics driver, software) on Slackware 14.1 and it doesn't work right. In the old days I would untar the package, run ./configure, make and make install and it would get installed under /usr/local but now I find the packages don't support that. I tried installpkg but it doesn't do it right, it puts everything under / which is wrong. I've got libxxx.so under / as well as directories for stuff. It seems strange that packages don't get installed properly. My question is this: Am I missig something? Is there a way to get software to install properly?
|
|
|
03-17-2014, 06:34 AM
|
#3
|
Member
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283
Original Poster
Rep:
|
Okay, I read the pages you referenced but I didn't see anything that answered my question. Let's look at a couple of examples. I needed to get a flashplayer plugin so I went to the Adobe site and DLd a package. I ran installpkg and it extracted libflashplayer.so and put in in / rather than the proper place /usr/lib/mozilla/plugins/ (or similar). Why do I have to look up the proper destination and move the file? At least that one is solved. I have another package which came from the Nvidia site and supposably gives me a updated driver, which I expect to be a module. Running installpkg creates a directory in the / dir which contains a lot of stuff but I don't see clear docs describing what to do with these files.
|
|
|
03-17-2014, 07:04 AM
|
#4
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,466
|
The installpkg tool is for installing a Slackware package. It is assumed that the contents of that package is properly formatted. The installpkg tool is _not_ for doing a task such as you describe. If you look at the documentation I pointed you to, you would seen the src2pkg tool, which is designed to perform that task. However it is a third party tool, not an official Slackware tool.
When it comes to the nVidia driver, you can either:
- install using a SlackBuild script from SlackBuilds.org or
- use the nVidia installer directly.
My preference is to use the nVidia installer directly as my experience has been that it works without problem. However it is a rare exception. I almost always install third party software using a prebuilt Slackware package or a package built from a SlackBuild script. The reason is that it means that uninstalling and updating software is done cleanly. Using the Slackware package system takes a little getting used to, but once mastered you would not have it any other way.
|
|
|
All times are GMT -5. The time now is 11:32 PM.
|
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
|
|