LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Running installed package (https://www.linuxquestions.org/questions/linux-software-2/running-installed-package-342993/)

dagul_t 07-13-2005 09:59 PM

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.

__J 07-13-2005 10:26 PM

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).

bigrigdriver 07-13-2005 10:35 PM

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.

dagul_t 07-13-2005 10:48 PM

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?

Noth 07-13-2005 10:55 PM

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.

__J 07-13-2005 10:55 PM

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).

dagul_t 07-13-2005 11:22 PM

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

__J 07-14-2005 10:01 AM

why not just get an rpm ( probably the same place you got the libxine rpm will have an xine_ui one too)

reddazz 07-14-2005 10:29 AM

Get xine rpms from xines nightly builds page. You will need to install xine-ui, libdvdcss and win32 codecs rpms from that page.

dagul_t 07-14-2005 09:04 PM

Thanks Ifve already installed xine_ui rpm and now working.

Thank you for all the help.


All times are GMT -5. The time now is 07:16 PM.