Monday, July 30, 2012

Scientific Linux: installing VLC via RPM


I don't like to mix repositories. Period.

And I'd like this Scientific Linux install to be as stable as it can be, and to last to eternity.

So here is the run down on howto to install VLC by hand, using RPM files, this is on a Scientific Linux 6.2, 32 bits, with all the updates installed.

After getting the VLC rpm package, and testing the install, things don't look easy at all...

> sudo rpm --test -ivh vlc-1.1.13-1.el6.rf.i686.rpm 
[sudo] password for XXXXXXXX: 
warning: vlc-1.1.13-1.el6.rf.i686.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
error: Failed dependencies:
 libBasicUsageEnvironment.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libSDL_image-1.2.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libUsageEnvironment.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 liba52.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libaa.so.1 is needed by vlc-1.1.13-1.el6.rf.i686
 libass.so.4 is needed by vlc-1.1.13-1.el6.rf.i686
 libavcodec.so.52 is needed by vlc-1.1.13-1.el6.rf.i686
 libavcodec.so.52(LIBAVCODEC_52) is needed by vlc-1.1.13-1.el6.rf.i686
 libavformat.so.52 is needed by vlc-1.1.13-1.el6.rf.i686
 libavformat.so.52(LIBAVFORMAT_52) is needed by vlc-1.1.13-1.el6.rf.i686
 libavutil.so.50 is needed by vlc-1.1.13-1.el6.rf.i686
 libavutil.so.50(LIBAVUTIL_50) is needed by vlc-1.1.13-1.el6.rf.i686
 libcaca.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libcddb.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libcv.so.2.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libcvaux.so.2.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libcxcore.so.2.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libdc1394.so.22 is needed by vlc-1.1.13-1.el6.rf.i686
 libdca.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libdirac_decoder.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libdirac_encoder.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libdvbpsi.so.6 is needed by vlc-1.1.13-1.el6.rf.i686
 libdvdnav.so.4 is needed by vlc-1.1.13-1.el6.rf.i686
 libdvdread.so.4 is needed by vlc-1.1.13-1.el6.rf.i686
 libebml.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libfaad.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libfribidi.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libgroupsock.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libhighgui.so.2.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libixml.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libkate.so.1 is needed by vlc-1.1.13-1.el6.rf.i686
 libliveMedia.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libmad.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libmatroska.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libml.so.2.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libmodplug.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libmpeg2.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libportaudio.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libpostproc.so.51 is needed by vlc-1.1.13-1.el6.rf.i686
 libpostproc.so.51(LIBPOSTPROC_51) is needed by vlc-1.1.13-1.el6.rf.i686
 libschroedinger-1.0.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libswscale.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libswscale.so.0(LIBSWSCALE_0) is needed by vlc-1.1.13-1.el6.rf.i686
 libthreadutil.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libtwolame.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libupnp.so.3 is needed by vlc-1.1.13-1.el6.rf.i686
 libva-x11.so.1 is needed by vlc-1.1.13-1.el6.rf.i686
 libva.so.1 is needed by vlc-1.1.13-1.el6.rf.i686
 libvga.so.1 is needed by vlc-1.1.13-1.el6.rf.i686
 libvgagl.so.1 is needed by vlc-1.1.13-1.el6.rf.i686
 libx264.so.107 is needed by vlc-1.1.13-1.el6.rf.i686
 libzvbi.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 
First things first... These are the packages that are on the official Scientific Linux repo, so install those without much delay...

sudo yum install SDL cppunit libXpm unicap libgomp libmtp opencv libdc1394\
 gpm-libs freeglut libdvdread
 
After that, run another test on the lone VLC package...

> sudo rpm --test -ivh vlc-1.1.13-1.el6.rf.i686.rpm
warning: vlc-1.1.13-1.el6.rf.i686.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
error: Failed dependencies:
 libBasicUsageEnvironment.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libSDL_image-1.2.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libUsageEnvironment.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 liba52.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libaa.so.1 is needed by vlc-1.1.13-1.el6.rf.i686
 libass.so.4 is needed by vlc-1.1.13-1.el6.rf.i686
 libavcodec.so.52 is needed by vlc-1.1.13-1.el6.rf.i686
 libavcodec.so.52(LIBAVCODEC_52) is needed by vlc-1.1.13-1.el6.rf.i686
 libavformat.so.52 is needed by vlc-1.1.13-1.el6.rf.i686
 libavformat.so.52(LIBAVFORMAT_52) is needed by vlc-1.1.13-1.el6.rf.i686
 libavutil.so.50 is needed by vlc-1.1.13-1.el6.rf.i686
 libavutil.so.50(LIBAVUTIL_50) is needed by vlc-1.1.13-1.el6.rf.i686
 libcaca.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libcddb.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libdca.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libdirac_decoder.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libdirac_encoder.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libdvbpsi.so.6 is needed by vlc-1.1.13-1.el6.rf.i686
 libdvdnav.so.4 is needed by vlc-1.1.13-1.el6.rf.i686
 libebml.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libfaad.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libfribidi.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libgroupsock.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libixml.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libkate.so.1 is needed by vlc-1.1.13-1.el6.rf.i686
 libliveMedia.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libmad.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libmatroska.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libmodplug.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libmpeg2.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libportaudio.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libpostproc.so.51 is needed by vlc-1.1.13-1.el6.rf.i686
 libpostproc.so.51(LIBPOSTPROC_51) is needed by vlc-1.1.13-1.el6.rf.i686
 libschroedinger-1.0.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libswscale.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libswscale.so.0(LIBSWSCALE_0) is needed by vlc-1.1.13-1.el6.rf.i686
 libthreadutil.so.2 is needed by vlc-1.1.13-1.el6.rf.i686
 libtwolame.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 libupnp.so.3 is needed by vlc-1.1.13-1.el6.rf.i686
 libva-x11.so.1 is needed by vlc-1.1.13-1.el6.rf.i686
 libva.so.1 is needed by vlc-1.1.13-1.el6.rf.i686
 libvga.so.1 is needed by vlc-1.1.13-1.el6.rf.i686
 libvgagl.so.1 is needed by vlc-1.1.13-1.el6.rf.i686
 libx264.so.107 is needed by vlc-1.1.13-1.el6.rf.i686
 libzvbi.so.0 is needed by vlc-1.1.13-1.el6.rf.i686
 
Things still look pale and bleak... So, tinme to start downloading stuff, all of these RPMs have to end under the same directory, in order to make your life easier.

wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/SDL_image-1.2.10-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libcaca-0.99-0.1.beta17.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/aalib-1.4.0-5.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/enca-1.10-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/ffmpeg-0.6.5-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/fribidi-0.10.9-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libcddb-1.3.1-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libdvbpsi-0.1.7-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libebml-1.0.0-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libmad-0.15.1b-4.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libmpeg2-0.5.1-2.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libupnp-1.6.6-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/opencore-amr-0.1.2-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/portaudio-19-1.20071207.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/twolame-0.3.13-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/zvbi-0.2.33-2.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/faac-1.26-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/ffmpeg-libpostproc-0.6.5-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libass-0.9.11-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libdvdnav-0.1.10-3.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libmatroska-1.0.0-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libva-1.0.6-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/schroedinger-1.0.10-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/a52dec-0.7.4-8.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/dirac-1.0.2-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/faad2-2.7-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/lame-3.99.5-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libcaca-0.99-0.1.beta17.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libdca-0.0.5-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libkate-0.3.7-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/libmodplug-0.8.7-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/librtmp-2.3-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/live555-0-0.27.2012.02.04.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/orc-0.4.11-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/svgalib-1.9.25-1.el6.rf.i686.rpm
wget http://apt.sw.be/redhat/el6/en/i386/dag/RPMS/x264-0.0.0-0.4.20101111.el6.rf.i686.rpm
 
Once all of the packages are downloaded, simply run rpm like this:

> sudo rpm -ivh *.rpm
warning: a52dec-0.7.4-8.el6.rf.i686.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing...                ########################################### [100%]
   1:x264                   ########################################### [  3%]
   2:libva                  ########################################### [  6%]
   3:libebml                ########################################### [  8%]
   4:dirac                  ########################################### [ 11%]
   5:a52dec                 ########################################### [ 14%]
   6:libmatroska            ########################################### [ 17%]
   7:zvbi                   ########################################### [ 19%]
   8:twolame                ########################################### [ 22%]
   9:svgalib                ########################################### [ 25%]
  10:SDL_image              ########################################### [ 28%]
  11:portaudio              ########################################### [ 31%]
  12:orc                    ########################################### [ 33%]
  13:schroedinger           ########################################### [ 36%]
  14:opencore-amr           ########################################### [ 39%]
  15:live555                ########################################### [ 42%]
  16:libupnp                ########################################### [ 44%]
  17:librtmp                ########################################### [ 47%]
  18:libmpeg2               ########################################### [ 50%]
  19:libmodplug             ########################################### [ 53%]
  20:libmad                 ########################################### [ 56%]
  21:libkate                ########################################### [ 58%]
  22:libdvdnav              ########################################### [ 61%]
  23:libdvbpsi              ########################################### [ 64%]
  24:libdca                 ########################################### [ 67%]
  25:libcddb                ########################################### [ 69%]
  26:libcaca                ########################################### [ 72%]
  27:lame                   ########################################### [ 75%]
  28:fribidi                ########################################### [ 78%]
  29:faad2                  ########################################### [ 81%]
  30:faac                   ########################################### [ 83%]
  31:ffmpeg-libpostproc     ########################################### [ 86%]
  32:ffmpeg                 ########################################### [ 89%]
  33:enca                   ########################################### [ 92%]
  34:libass                 ########################################### [ 94%]
  35:aalib                  ########################################### [ 97%]
  36:vlc                    ########################################### [100%]
 
Bingo, VLC is installed.

Labels: , , ,

0 Comments:

Post a Comment

<< Home