LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing VLC on red hat? (https://www.linuxquestions.org/questions/linux-newbie-8/installing-vlc-on-red-hat-828249/)

antriksh 08-24-2010 02:24 PM

Installing VLC on red hat?
 
please tell me how to install vlc player(or any other player) in red hat enterprise linux 5.3?

frieza 08-24-2010 02:28 PM

there are several ways you can do this
(from easiest to hardest)
1. see if it is in the repository by opening a terminal and typing
Code:

sudo yum install vlc
2. seeing if vlc doesn't have a repository that supports rhel5.3
3. see if there isn't an appropriate rpm package on vlc's website
4. see if there isn't an appropriate binary package that works on your system
6. install the developer tools on your system, download the source package and follow the instructions to build from source (not usually as daunting as it seems for packages like vlc)

hope this helps

knudfl 08-24-2010 02:54 PM

" VLC media player for Red Hat Enterprise Linux " :

http://www.videolan.org/vlc/download-redhat.html

..

John VV 08-24-2010 04:51 PM

antriksh PLEASE read the vlc web page
as knudfl pointed out
the instructions are there

antriksh 08-25-2010 04:18 AM

thanks everyone for help...i have downloaded the vlc-0.9.9a-5.el5.rf.i386.rpm package and will install...please tell is there any dependencies for the package like library codecs...i am new to linux so please ignore if i ask something silly!!!

knudfl 08-25-2010 08:52 AM

I don't think, you can download the 40 dependencies and make them fit together.

The whole idea with the VLC instructions is to use 'yum'.
First thing to do : Set up the rpmfprge repo with this package ..
http://packages.sw.be/rpmforge-relea...l5.rf.i386.rpm
# rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Next : # yum install vlc

'yum' is the command line 'Package Manager' : Takes care of downloading
and installing the correct dependency versions.
Downloading packages manually for Linux is not a thing we usually do.
The 'Package Manager' / yum is to be used for that.
..

frieza 08-25-2010 12:37 PM

Quote:

Originally Posted by knudfl (Post 4077208)
I don't think, you can download the 40 dependencies and make them fit together.

The whole idea with the VLC instructions is to use 'yum'.
First thing to do : Set up the rpmfprge repo with this package ..
http://packages.sw.be/rpmforge-relea...l5.rf.i386.rpm
# rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Next : # yum install vlc

'yum' is the command line 'Package Manager' : Takes care of downloading
and installing the correct dependency versions.
Downloading packages manually for Linux is not a thing we usually do.
The 'Package Manager' / yum is to be used for that.
..

yeah i have to agree using yum is worlds easier then downloading 40 dependencies and instaling them in the right order but doing that wasn't uncommon when i started using linux, back then package managers weren't as mature as they are today, not to mention there are distros such as linux from scratch (LFS) (if you can call LFS a distro) that are almost 100% compiled from source
but nowadays yum or in my case apt-get/synaptic would be my first choice in installing software i need

antriksh 08-25-2010 12:48 PM

i have set the rpmforge repo as said by knudfl...now when i pass the command "yum install vlc" still it is showing "missing dependency"...please tell...

knudfl 08-25-2010 01:01 PM

Two possible issues for dependencies missing :

1) You have a version of 'libdvdread' from the 'epel repo'.
This version is later than the one required by vlc.
Solution : 'yum remove libdvdread' and afterward move
/etc/yum.repos.d/epel* to a backup folder.

2) Your paid Redhat account is not activated. Then the regular
Redhat packages ( from the "Redhat repo" ) cannot be fetched.
..

antriksh 08-26-2010 06:39 AM

i have only rpmforge repo and rhel-debuginfo.repo which comes by default and which is deactivated...i don't have any redhat account,i have installed rhel 5.3 for learning....well this problem can not be solved i think... please tell me any other player which works with rhel 5.3 so that i can play media on it.....please!!!

kingston 08-26-2010 06:46 AM

hi antriksh..
i hope there is no proxy or if it is there it was configured properly. Next, yum will download all the (most of the) dependencies but still, it may require some other rpms which can be downloaded and installed manually. (This is what i did when i install vlc on my desktop) You can find out easily.

The next thing is i will recommand to use xine or mplayer which is doing a good job in RHEL. Anyway i am using all the three in my desktop.

antriksh 08-26-2010 07:02 AM

thanks for reply kingston...please tell to install mplayer with GUI i have to do "yum install mplayer" ???

knudfl 08-26-2010 10:45 AM

Don't want to pay for Redhat EL5 : Please use a free copy instead.
No difference. ( The Redhat logo is removed.) The two excact copies are:
'CentOS 5.5' http://www.centos.org/ and 'Scientific Linux SL55'
https://www.scientificlinux.org/

Installing 'mplayer-gui' :

1) Setting up the epel.repo
http://download.fedora.redhat.com/pu...5-3.noarch.rpm
# rpm -Uvh epel-release-5-3.noarch.rpm

2) The rpmfusion repos
a) http://download1.rpmfusion.org/free/...0.1.noarch.rpm
b) http://download1.rpmfusion.org/nonfr...0.1.noarch.rpm
# rpm -Uvh rpmfusion-*

MPlayer (mplayer + mplayer-gui) has only 13 dependencies, all epel, rpmfusion
except ' fribidi-0.10.7-5.1 '. The package is here (CentOS) :
http://mirror.centos.org/centos/5.5/...7-5.1.i386.rpm

3) # yum install mplayer-gui
... And you will get an MPlayer icon in your Menu >> Sound & Video.
( The start command is : 'gmplayer'.)
...
P.S. : No GUI tool for package install on RH EL5 by default.
...

antriksh 08-26-2010 01:31 PM

1.libXvMCW.so.1
2.libSDL-1.2.so.0
3.libdvdread.so.3

finally i have some conclusion now...these three dependencies are all that needed by all player whether it is vlc or mplayer...they are always missing whether i try to install vlc or mplayer...so now please tell me how to satisfy these dependencies???

right now i have three repos epel,rpmfusion and rpmforge...

antriksh 08-26-2010 02:25 PM

i have resolved two dependencies....now it is showing only libdvdread.so.3 missing...also i have installed rpm for that and when i run yum provides */libdvdread.so.3 it shows--

libdvdread-0.9.7-1.el5.rf.i386 : Library for reading DVD video disks
Matched from:
Filename : /usr/lib/libdvdread.so.3


Now why it is still showing missing dependency???


All times are GMT -5. The time now is 10:19 PM.