Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-25-2005, 11:24 AM   #1
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Rep: Reputation: 30
Question where does pkgtool install slackware packages?

I want to know this mainly because im having trouble with Mplayer, an app which i installed from package.

i also want to know this because i installed firefox, it works fine, but i want to find its "icon" so i can put it up on my xfce toolbar.

if you guys know, please tell me.
Old 02-25-2005, 11:57 AM   #2
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
you can open the package with ark, or open the file in /var/log/packages
with kwrite or so.
they both will give you a list of files.

to put an icon on the desktop, right click on it (-->add-->link to app )

Old 02-25-2005, 11:58 AM   #3
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Rep: Reputation: 15
You could just try #slocate mplayer or #slocate firefox. If you've never used slocate or locate before you'll need to run as root #updatedb -u -e /mnt. This will create an index of all the files in your file system starting from / and excluding the /mnt directory. To refine the search further, try #locate firefox | less, then you can search the results more specifically for what you're looking for.

Unfortunately, installing in linux isn't like installing in windows. Files sorta land all over the place, and it depends on the choice of the package maintainer exactly where they land. Binaries will land in /usr/bin or /usr/share/bin or /usr/local/bin or... And then there are libraries that will land in /usr/lib or similar paths. So there's no really easy answer to your question.

Ok, I guess maybe there is an easy way to find the answer to your question.

Last edited by Itzac; 02-25-2005 at 12:01 PM.
Old 02-25-2005, 11:58 AM   #4
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
can't find something? use slocate
updatedb (wait a minute)
slocate mplayer (for example).

too many results and they just scroll by?
slocate mplayer | more (or 'less' if you want)

also works with wildcards:
slocate mplay*

If you have multiple drives like I do, I use "updatedb -e /mnt " so it doesn't search
in the /mnt/ directory and add those files to the database.


Last edited by tw001_tw; 02-25-2005 at 12:01 PM.


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
What is the easiest way to install packages on slackware? abefroman Slackware 8 11-29-2005 01:17 AM
Slackware will not install any packages!! bmccorm2 Slackware 5 10-29-2005 07:13 AM
Slackware 10.0 will not install packages emeraldsword Slackware - Installation 16 01-11-2005 03:52 PM
can't remove packages with pkgtool PunkPT Slackware 8 08-06-2004 11:38 AM
How do you get SWareT to install the packages you removed in pkgtool? Kyl3 Slackware 2 05-23-2004 10:04 AM

All times are GMT -5. The time now is 02:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration