Red HatThis forum is for the discussion of Red Hat Linux.
Notices
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.
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 444
Rep:
video media player (mplayer, vlc) in RHEL4?
I know certain media formats are disabled in Red Hat, but this is another story entirely...
I can't seem to find a video player package (RPM or otherwise) for RHEL4, and I get tons of dependency errors when I try to compile one myself, particularly mplayer and vlc-client. Even tried installing the Fedora Core packages with the --nodeps flag, and that installs, but it throws dependency errors when I run it (surprise!).
Does anyone have a quick-and-dirty way of getting one of these up and running?
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Rep:
Unless you track down all needed dependencies for it then I would a precompiled rpm file will not work for you. If you know all the requirements for mplayer but the dependencys just looking for newer versions of already installed rpms you can download a srpm file and use that to build an rpm from that matching your current rpm versions of the other files. But the srpm my be looking for certain files though.
Another way is install the source file from mplayer home page. Build it yourself. If you are missing something it will complain as well.
Another way is to install older version of mplayer. It may not require the latest and greatest software.
One other way is using a tool like yum or apt and setup repositories that contain rpms that can be installed this way.
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 444
Original Poster
Rep:
Is there an unobtrusive/safe method of using yum or apt with repositories? I recall trying to get yum working with my RHEL4 system was an ordeal, and when I finally got it installed and working (using a Fedora procedure, and CentOS RPMs and repositories), it altered my redhat-release config and up2date stopped working. But maybe that was just one particular set of instructions.
I think I have yum installed now, just no repositories.
Anyway, after failing a common RPM install, I tried installing the dependencies separately, but I got stuck. For instance, after installing mplayer-common, I tried to install an mplayer rpm, and I got:
Code:
error: Failed dependencies:
libdv.so.2 is needed by mplayer-0.90rc2-1.i386
liblzo.so.1 is needed by mplayer-0.90rc2-1.i386
So, I installed via source, and got no complaints, but when I try to run it...
Code:
# mplayer
mplayer: error while loading shared libraries: libmad.so.0: cannot open shared object file: No such file or directory
Tried installing a libmad RPM, and that complained about failed dependencies...
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Rep:
Thats the way RPMs work. It is design to install compiled applications for certain distros and verify other rpms are installed to make sure the app will run. It is a big pain. Goto http://rpm.pbone.net for finding rpms. Set your search to cover redhat, fedora, rhel, centos.
I sometimes use apt with the gui synaptic just to install a few misc rpms mostly. I usually compile my own or build my own rpms from source or srpm. Update only what is needed. Many rpms I have are newer by one whole level than what is in the repos.
I use Nero to watch anythign from avi files to dvds, ohh and listeneing to music. It is better then what you are using and you never get error messages. Anna23@gigp.com
I am using rhel5 eval version, i have downloaded apt and yum frm http://dag.wieers.com/ and tried to install mplayer but i am unable to install
the follwing errors r coming, can anyone help me.
apt-get install mplayer
Code:
apt-get install mplayer
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mplayer: Depends: libfribidi.so.0 but it is not installable
E: Broken packages
and when i type this apt-get install mplayer*.rpm
Code:
Reading Package Lists... Done
Building Dependency Tree... Done
E: Package mplayer-1.0-0.34.rc1try2.el5.rf.i386.rpm is a virtual package with no good providers.
and i tried with yum install mplayer also no use, can anyone pls tell me whats the problem
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.