LinuxQuestions.org
Visit Jeremy's Blog.
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 05-10-2007, 02:53 PM   #1
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Rep: Reputation: 16
Unhappy A few questions by newbie


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)

Sorry about the length of post :P


cheers
 
Old 05-10-2007, 03:00 PM   #2
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Rep: Reputation: 47
#3-Open Office can read, edit, and save files in the .doc format.
 
Old 05-10-2007, 03:19 PM   #3
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 36
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).
 
Old 05-10-2007, 03:20 PM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
#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.
 
Old 05-10-2007, 03:43 PM   #5
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 50
get openoffice from Robby!

This is a trustworthy source, Robby contributes to Slackware, and his name appears regularly in the changelog

http://rlworkman.net/pkgs/

tobyl
 
Old 05-10-2007, 03:49 PM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
1)2) About mplayer:

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:

cd /usr/bin
ldd mplayer

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.

4)About libraries

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 03:52 PM.
 
Old 05-10-2007, 06:06 PM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
1) From linuxpackages these are the dependencies for mplayer:
Code:
faac-1.25p1-i486-1kjz.tgz
jack-0.101.1-i486-1kjz.tgz
lame-3.97-i486-2kjz.tgz
libcaca-0.99.beta11-i486-1kjz.tgz
libdv-1.0.0-i486-1kjz.tgz
libmpcdec-1.2.5-i486-1kjz.tgz
mplayer-1.0rc1try2-i486-2kjz.tgz
speex-1.2beta1-i486-1kjz.tgz
twolame-0.3.9-i486-1kjz.tgz
xvidcore-1.1.2-i486-1kjz.tgz
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)

4) On speeding up boot time by a lot, see my post here:
http://www.linuxquestions.org/questi...09#post2672909

Also note:
Quote:
NOTE: You should not move the ldconfig part to run at shutdown if "you want to start something in rc.local that uses libraries in a non-standard location" as gnashley states in another thread.
I've never had any problems leaving ldconfig out or putting it to run at shutdown (even tho it may serve no real purpose there).

Last edited by H_TeXMeX_H; 05-10-2007 at 06:08 PM.
 
Old 05-10-2007, 10:55 PM   #8
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackware ARM, Salix and Porteus
Posts: 554

Rep: Reputation: 45
This is from my notes on a 10.2 install the same worked in 11.0
<snip>
I can get a slackpack already made up called MPlayer_codecs-20050412-i686-2jto.tgz from linuxpackages.net.

This will install by default into a directory /usr/lib/codecs but I need to have it in a directory named /usr/lib/win32. This can be fixed with the following command as root:

ln -s /usr/lib/codecs/ /usr/lib/win32
 
Old 05-11-2007, 08:02 AM   #9
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Original Poster
Rep: Reputation: 16
Thank you

thank you all good souls helping the newbies like me.

Hey when i become a veteran i'll carry your legacy :P

Sorry if this is not allowed(pointing out) but H_Tex_Mex you are a real geek man and a very helpful person
 
Old 05-11-2007, 08:44 AM   #10
lali.p
Member
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 141

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by lali.b2
thank you all good souls helping the newbies like me.

Hey when i become a veteran i'll carry your legacy :P

Sorry if this is not allowed(pointing out) but H_Tex_Mex you are a real geek man and a very helpful person


i mean H_TeXMex_H
 
Old 05-11-2007, 01:38 PM   #11
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Thanks, I try ... but just know that I don't always know what I'm talking about
 
Old 05-11-2007, 02:23 PM   #12
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
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

Regards,

-Drew
 
Old 05-11-2007, 03:46 PM   #13
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Except openoffice, which does take quite a while to compile.
 
Old 05-12-2007, 09:39 AM   #14
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by H_TeXMeX_H
Except openoffice, which does take quite a while to compile.
Yeah. I think I got it started and then did something else for a while.

Regards,

-Drew
 
  


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
3 newbie questions rado_london Linux - Newbie 9 09-06-2005 03:49 AM
Some newbie questions, please help! ICO Suse/Novell 4 08-02-2005 09:37 PM
Newbie Questions Bucolic Buffalo Linux - Newbie 4 01-08-2003 08:53 AM
newbie questions G011um Linux - General 7 03-14-2002 09:56 PM


All times are GMT -5. The time now is 09:27 AM.

Main Menu
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