SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
hi i've been using Slackware 11.0 for a little more than 3 months.
I've a few questions and rather than posting a new thread for each question i decided to ask them here:
1)i've heard a lot about mplayer and mplayer doesn't come in the default Slackware 11.0 installation.So i decided to download it's package form linuxpackages.net.however after installation when i try to run, it gives some error about missing library.Now slackware doesn't have any dependency checks but i did a full install then why this problem?
Then i tried to install from source(thinking there might be some problem in package but the same error occurs)
Kindly tell me in detail what is required for running mplayer
Also 1 stupid question:What is the differnce between mplayer and Mplayer ?
2)I want't to run as much video files(so that i don't need to go to windows to see a movie) so i need codecs. Somewhere i read to download codecs form mplayer site and extract it to the directory /usr/lib/win32.It says that mplayer looks here when it executes but i don't see and such directory.
3)i've heard about open office.in Slackware 11.0 i am using KDE that comes with Koffice but the problem is that it doesn't open any of the documents written in MSoffice.Does open office has this capability and vice versa i.e will MSoffice be able to read and edit andy office document(word or ppt)written by Openoffice
And is there a slackware pkg for openoffice or do i've to install from source(no problem in that)
Also should i uninstall Kooffice after Open office install ?
4)Somewhere i read that to make a fast bootup just comment the lines with fc-cache in rc.M and also ldconfig as they are needed only when a new font is installed and when a new library is installed respectively?
What library are they reffering to and when will i come to know that a given particular program i'am going to install will install a new library
Is it safe to comment lines for ldconfig ?(i am skeptic about this but not about fc-cache)
MPlayer requires a lot of library packages that are not shipped with Slackware. You need to find and download them from the net. Linuxpackages has several threads where they mention which packages are required by the MPlayer.
If you don't see the codec directory, just create one and extract the files there.
The startup scripts are found in /etc/rc.d/ directory. I don't recall which one had those lines... probably rc.M just add ampersand after each command to run them in background (this already done on -current).
#1. MPlayer has many dependencies. Many have to do with codecs such as ffmpeg.
mplayer is the name of the program that is run. MPlayer is what they call themselves however. They refer to the same thing, but an installed directory, such as the docs may be named /usr/share/doc/packages/MPlayer/. You will need to read the documentation, or search the web site for the dependencies. Sometimes you will need to build a library, and that library depends yet on another. It is more so if you have a new installation and are building a app yourself.
#2. Create it as yourself as root. Check if you have a /usr/lib/codecs/ directory as well. That is where Linux codecs will go.
#4. Maybe it would be best not to. Nearly every program you install will install a library. The ld.so.conf file contains the paths to the libraries. ldconf takes this information and builds a kind of directory for the loader.
Can you post the error which library is missing?
Because Slackware doesn't do dependency checking you need to read what are the dependencies (what to download in addition to the mplayer package).
What is the error when you try to build from source?
I think there is no difference between mplayer and Mplayer (the first letter only).
You can check which libraries are missing:
When you place all codecs in /usr/lib/win32 (just create it), you can nearly watch all the videos available in Windows (there are some problems with Quicktime Sorenson encoded videos, but you can install Quicktime player through wine and watch them without problems).
I think, mplayer is not available in Slackware because of it questionable legality in various countries (reverse engineering of binary codecs). However, nobody can take the freedom from us to use what we want.
IMHO, the mplayer is the best video player (supports most formats) like xmms (with plugins) is the one which is famous for playing nearly any music file.
So GO, mplayer team, GO!
3) About koffice and openoffice. Which doc format do you use? I don't know about new MS Office 07 doc format, but koffice can display simple docs without problems (using KWrite).
OOfice can open doc and extract the original layout pretty good. If you won't use difficult layout techniques or special math formulas, there won't be any difference between MS.Office and OOffice. OOfice can save at doc format too.
You can get oofice from linuxpackages.net or slacky.it. Uninstalling koffice is not necessary.
For example, you build a program, which will place its new libraries in /usr/lib. Other dependant programs need these libraries too. Until you run ldconfig, these libraries most probably won't be found except maybe explicit search for these libs by dependent program will be performed. So you can run ldconfig after every install.
EDIT: It would be better if you listen to jschiwal.
Last edited by Alien_Hominid; 05-10-2007 at 04:52 PM.
Many people recommend the slackbuild, might wanna try that if you choose. You decide.
2) What I usually do is symlink one to the other. First get all the codecs: http://www3.mplayerhq.hu/MPlayer/releases/codecs/
and put them somewhere, then symlink from there to '/usr/lib/codecs' and '/usr/lib/win32', that'll take care of most everything.
3) I don't like koffice, you can uninstall it. Openoffice you can get from the official site or linuxpackages (this one has better integration with KDE if you care)
Here's one more plug for Slackbuilds.org. I've downloaded and installed Mplayer, Open Office, Kaffeine (another media player), and a few other pieces of software from that site.
The way it works is that you download the source code from the software provider and then run the Slackbuild script to build the application from source. This helps guarantee that the compiled software works on your specific machine. It also doesn't take all that long to do. :-D