LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-15-2011, 01:32 PM   #1
ADX
Member
 
Registered: Jul 2011
Location: 127.0.0.1
Distribution: Slackware64-13.37
Posts: 47

Rep: Reputation: 0
Question Slackpkg package search function


Short overview; when I installed, I used the menu-driven system. For some reason or another I didn't install Mplayer, and now I need it to play my mpeg4 files. It ended up being a good opportunity to learn how to use slackpkg and other third-party package-management tools (I'm fairly new to linux, and command-line-driven programs in general) - even though there were a few problems.

Quote:
root@GPC:/var/lib/slackpkg# slackpkg search mplayer

Looking for mplayer in package list. Please wait... DONE

The list below shows all packages with name matching "mplayer".

[ installed ] - phonon-mplayer-20101213-x86_64-1
[uninstalled] - mplayerplug-in-3.55-x86_64-1
Close, but no cigar.

Okay, well, maybe the search function is still slightly buggy -how about swaret?

Quote:
swaret --search Mplayer
swaret 1.6.2-1

Listing available Packages matching Keyword: Mplayer...

No available Packages found matching Keyword: Mplayer!
A quick look inside of /var/lib/slackpkg/PACKAGES.txt reveals:

Quote:
PACKAGE NAME: MPlayer-20101218-x86_64-1.txz
PACKAGE LOCATION: ./slackware64/xap
PACKAGE SIZE (compressed): 8936 K
PACKAGE SIZE (uncompressed): 25930 K
PACKAGE DESCRIPTION:
MPlayer: MPlayer (media player)
MPlayer:
MPlayer: MPlayer is a movie player. It plays most MPEG/VOB, AVI, Ogg/OGM,
MPlayer: VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo,
MPlayer: FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim,
MPlayer: and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx,
MPlayer: DivX 3/4/5, WMV and even H.264 movies.
MPlayer:
MPlayer: Homepage for MPlayer is http://www.mplayerhq.hu/
MPlayer:
I don't understand. Am I doing something wrong? The package name is clearly used 3 times in the description alone. Is there any way to refine searches better, or is the search function buggy?

Last edited by ADX; 07-15-2011 at 01:40 PM.
 
Old 07-15-2011, 01:43 PM   #2
rg3
Member
 
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 514

Rep: Reputation: Disabled
Maybe it's case sensitive. You didn't write MPlayer any time, according to your own logs. You used "mplayer" and "Mplayer", but not "MPlayer".
 
1 members found this post helpful.
Old 07-15-2011, 01:44 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
slackpkg search MPlayer

That should work.
 
1 members found this post helpful.
Old 07-15-2011, 01:49 PM   #4
ADX
Member
 
Registered: Jul 2011
Location: 127.0.0.1
Distribution: Slackware64-13.37
Posts: 47

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rg3 View Post
Maybe it's case sensitive. You didn't write MPlayer any time, according to your own logs. You used "mplayer" and "Mplayer", but not "MPlayer".
Oh man, I didn't even notice that...

Quote:
root@GPC:/var/lib/slackpkg# slackpkg search MPlayer

Looking for MPlayer in package list. Please wait... DONE

The list below shows all packages with name matching "MPlayer".

[ installed ] - MPlayer-20101218-x86_64-1

You can search specific files using "slackpkg file-search file".
Thanks guys.

Last edited by ADX; 07-15-2011 at 01:50 PM.
 
  


Reply

Tags
mplayer, package management, package manager, search, slackpkg


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
[SOLVED] apt-cache search <package> show package size? ted_chou12 Linux - Newbie 2 04-05-2011 05:49 PM
Holding a package update from slackpkg gazj Slackware 2 01-25-2011 05:58 PM
slackpkg search problem - not using /var/log/packages? plunder Slackware 2 09-21-2010 06:15 PM
Bug in slackpkg -- fail to find installed package? grissiom Slackware 8 07-16-2009 06:26 AM
LXer: GNOME Debian Package Finder: Rough and ready package search for the desktop LXer Syndicated Linux News 0 09-04-2008 02:00 AM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration