LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-16-2014, 04:55 PM   #1
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Rep: Reputation: 25
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?
 
Old 03-16-2014, 07:17 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,466

Rep: Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798
Quote:
Am I missing something? Is there a way to get software to install properly?
Yes and yes. http://docs.slackware.com/slackware:...ement_hands_on
For some of what you are trying to install, e.g. flash, you may find a prebuilt package at http://taper.alienbase.nl/mirrors/ (Look under people/alien/slackbuilds).

Your technique is for building programs from source, rather than installing a package.
Another useful page. http://docs.slackware.com/howtos:sla...lling_software
 
Old 03-17-2014, 06:34 AM   #3
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Original Poster
Rep: Reputation: 25
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.
 
Old 03-17-2014, 07:04 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,466

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


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
Damaged packages on install of slackware 11 bookie Linux - Newbie 2 05-30-2007 09:03 AM
Slackware will not install any packages!! bmccorm2 Slackware 5 10-29-2005 08:13 AM
where does pkgtool install slackware packages? salviadud Slackware 3 02-25-2005 12:58 PM
Slackware 10.0 will not install packages emeraldsword Slackware - Installation 16 01-11-2005 04:52 PM
Slackware minimum install packages jamaso Linux - General 3 04-03-2002 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:32 PM.

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