LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-13-2005, 10:59 PM   #1
dagul_t
LQ Newbie
 
Registered: Jul 2005
Posts: 21

Rep: Reputation: 15
Running installed package


Ive installed Xine player using the following command;

# rpm Uvh libxine1-1.0.1cvs-050712.i586.rpm

Its show 100% complete but when Ive tried to run the program using the following command;

# xine

It said unknown command.

Please tell me how to run the program.
 
Old 07-13-2005, 11:26 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
libxine is just an engine, it doesn't do much by itself. you need to install a front-end to the libxine interface, some examples are xine_ui, gxine, totem ( this one is different, it can use xine as it's backend or gstreamer, so if you get a package for totem make sure it uses libxine), kaffiene ( integrates nicely if you use kde), and others ( there is a nice list at the xine homepage).
 
Old 07-13-2005, 11:35 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
To use the command 'xine' as you did, it will only work if the path to the executable is in is your user's path environment.

Try this: open a tern window. enter the command 'which xine'. It should tell you where the executable is located. Then you have two options: 1) enter the full path to the xine executable to start it, or 2) cd to the directory it's in, and use the ./xine command (which tells bash 'the executable is in this directory -that's what the ./ means).

Or, edit /etc/ld.so.conf to add the path to the xine executable. Then, when the file is saved, open a term window and issue the command 'source /etc/ld.so.conf' to reload the path environment, and the xine command as you first used it should work.

Note: you may have to be root to edit /etc/ld.so.conf.

Last edited by bigrigdriver; 07-13-2005 at 11:37 PM.
 
Old 07-13-2005, 11:48 PM   #4
dagul_t
LQ Newbie
 
Registered: Jul 2005
Posts: 21

Original Poster
Rep: Reputation: 15
You mean I don't have to install the following?

xine-ui-0.99.3.tar
xine-lib-1.0.tar

What I've done is enough to run xine?
 
Old 07-13-2005, 11:55 PM   #5
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
Quote:
Originally posted by bigrigdriver
To use the command 'xine' as you did, it will only work if the path to the executable is in is your user's path environment.

Try this: open a tern window. enter the command 'which xine'. It should tell you where the executable is located. Then you have two options: 1) enter the full path to the xine executable to start it, or 2) cd to the directory it's in, and use the ./xine command (which tells bash 'the executable is in this directory -that's what the ./ means).
'which xine' will only work if it's already in his path. He would have to use find because the locate database wouldn't be up to date yet.

Quote:
Or, edit /etc/ld.so.conf to add the path to the xine executable. Then, when the file is saved, open a term window and issue the command 'source /etc/ld.so.conf' to reload the path environment, and the xine command as you first used it should work.

Note: you may have to be root to edit /etc/ld.so.conf.
Woah. Do you have any idea what ld.so.conf is for? It's for telling the dynamic linker where to find shared libraries, it has absolutely nothing to do with any user's PATH statement.

The OP would probably be better off just setting up the livna and Fedora Extras repositories and using yum to install xine, assuming he's using FC since he didn't say which distro.
 
Old 07-13-2005, 11:55 PM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you'll need the xine_ui package, or a different front end as noted above. libxine by itself will not do what you want it to do. also, if you are planning on playing quicktime, wma, wmv, etc.. files installed the codecs package ( the name varies from one distro to the next, you can do it manually or most distro's call the package win32codecs or something similar).
 
Old 07-14-2005, 12:22 AM   #7
dagul_t
LQ Newbie
 
Registered: Jul 2005
Posts: 21

Original Poster
Rep: Reputation: 15
What path should advisable to untar this package?

No need to untar xine-lib-1.0.tar?

Is this enough to untar this package

# tar xine-ui-0.99.3.tar
 
Old 07-14-2005, 11:01 AM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
why not just get an rpm ( probably the same place you got the libxine rpm will have an xine_ui one too)
 
Old 07-14-2005, 11:29 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Get xine rpms from xines nightly builds page. You will need to install xine-ui, libdvdcss and win32 codecs rpms from that page.
 
Old 07-14-2005, 10:04 PM   #10
dagul_t
LQ Newbie
 
Registered: Jul 2005
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks Ifve already installed xine_ui rpm and now working.

Thank you for all the help.
 
  


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
RPM package manager says package needs to be installed. But I already installed it! nick623 Linux - Software 2 05-24-2005 03:15 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 08:05 PM
rpm package not installed? dwarf007 Linux - Newbie 1 12-06-2004 04:52 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 07:12 PM
Once a package is installed, what to do? the_rydster Linux - Newbie 2 02-18-2004 10:29 AM

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

All times are GMT -5. The time now is 12:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration