Part 3, Post-install Mandriva::2010 update: resolving libx264.so dependency

Fedora users would be familiar with Mauriat Miranda’s post-install guides at mjmwired.net. I have often used Miranda’s excellent guides and was inspired by those, to attempt something similar to follow whenever my own notes or memory are not close at hand . For a Fedora Installation Guide, click here http://www.mjmwired.net/resources/

All procedures i will suggest here require an active WIRED network connection of course. Furthermore, these are procedures that work for me. I have tested them many times. I have set up my desktop the way i need it. I would highly recommend that you set up sudo which will make all these commands work effortlessly.

A word to the wise from the dumb – backup your stuff regularly.

Since April 2010, some packages have been removed from the repositories. You will have to install them by going to an RPM package site (see below – Step number 7 for libx264.so resolution)

Make sure you have followed the howto posts on this blog

Part 1, Post-install Mandriva 2010:: Network Settings
*Remember though, to first follow this Part 3 guide before attempting to setup your wireless connection.

Part 2, Post-install Mandriva 2010::setup ‘sudo’

I installed Mandriva 2010 to my laptop today and aria2 and curl seem to be behaving well.
If you encounter problems with these components on the system, you can remove these packages making sure that wget is used instead. remove them thusly:

sudo urpme aria2 curl

I like to remove the CD/DVD as a source. But this step “Remove all media”, can also be skipped.

1. Remove all media sources

double click to copy all commands in grey block, paste the full command strong into a terminal,

sudo urpmi.removemedia -a

hit [enter] wait …

2. Add Media Sources

Mandriva 2010.0: i586 (32-bit), use command procedure 32bitMDV, 32bitPLF, and 32bitMIB

32bitMDV more info

copy and paste  this into a terminal,

sudo urpmi.addmedia --distrib --mirrorlist 'http://api.mandriva.com/mirrors/basic.2010.0.i586.list'

hit [enter] wait…

32bitPLF more info

enter this into a terminal

sudo urpmi.addmedia --distrib --mirrorlist 'http://plf.zarb.org/mirrors/2010.0.i586.list'

hit [enter] wait…

32bitMIB more info

enter this into a terminal

sudo urpmi.addmedia --update MIB-basic_32 http://mib.pianetalinux.org/MIB/2010.0/32/basic/ with media_info/synthesis.hdlist.cz

hit [enter] wait …

sudo urpmi.addmedia MIB-experts_32 http://mib.pianetalinux.org/MIB/2010.0/32/experts/ with media_info/synthesis.hdlist.cz

hit [enter] wait…

If you have just done the 32bitMDV, 32bitPLF and 32bitMIB commands then skip this section

This is ONLY for Mandriva 2010.0: x86_64 (64-bit). To add media sources (software repos) to a 64bit Mandriva installation, complete the 64bitMDV 64bitPLF and 64bitMIB procedures

64bitMDV more info

enter this in a terminal

urpmi.addmedia --distrib --mirrorlist 'http://api.mandriva.com/mirrors/basic.2010.0.x86_64.list'

hit [enter] wait…

64bitPLF more info

enter this into a terminal

urpmi.addmedia --distrib --mirrorlist 'http://plf.zarb.org/mirrors/2010.0.x86_64.list'

hit [enter] wait…

64bitMIB more info

enter this into a terminal

urpmi.addmedia --update MIB-basic_64 http://mib.pianetalinux.org/MIB/2010.0/64/basic/ with media_info/synthesis.hdlist.cz

hit [enter] wait …

urpmi.addmedia MIB-experts_64 http://mib.pianetalinux.org/MIB/2010.0/64/experts/ with media_info/synthesis.hdlist.cz

hit [enter] wait…

3. Update media sources (repositories)

sudo urpmi.update -a

[enter]

4. Best audio device control

sudo urpmi gnome-alsamixer mpg123-pulse

[enter] y [enter]

Step 4 is needed when you use skype or other communication software packages. I find I have more control over my devices with the gnome-alsamixer tool.

5. Lightweight Music player

sudo urpmi audacious audacious-musepack audacious-plugins audacious-pulse audacious-skins audacious-wavpack libaudacious1 libaudacious2

[enter] y [enter]

6. Ear and eye candy

sudo urpmi cairo-dock-compiz-icon compiz compiz-fusion-icon compiz-fusion compiz-fusion-plugins-extra compiz-fusion-plugins-main libcompiz0 pidgin-rhythmbox emerald emerald-themes libemerald0

hit [enter] 2 [enter] y [enter] wait ….

7. Video Lan Client

Since April, 2010 .. libx264.so has been removed from the repositories.
You will have to get this package from here

http://rpm.pbone.net/index.php3/stat/4/idpl/13468132/dir/mandriva_2010/com/libx264_79-0.79.2245-1plf2010.0.i586.rpm.html

Go down till you see this:
Download
http://ftp.pbone.net libx264_79-0.79.2245-1plf2010.0.i586.rpm
In the next dialogue box, choose “Install Software”

sudo urpmi vlc vlc-plugin-pulse vlc-plugin-dvdnav vlc-plugin-theora vlc-plugin-ogg vlc-plugin-flac vlc-plugin-mpc vlc-plugin-schroedinger vlc-plugin-dv vlc-plugin-a52 mozilla-plugin-vlc

hit [enter] y [enter] wait ….

8. Gstreamer

sudo urpmi  gstreamer0.10-a52dec gstreamer0.10-cdio gstreamer0.10-decoders gstreamer0.10-decoders-audio gstreamer0.10-dirac gstreamer0.10-dts gstreamer0.10-dv gstreamer0.10-faad gstreamer0.10-faac gstreamer0.10-lame gstreamer0.10-metadata gstreamer0.10-mms gstreamer0.10-mpeg gstreamer0.10-mpeg2enc gstreamer0.10-musepack gstreamer0.10-resindvd gstreamer0.10-schroedinger gstreamer0.10-wavpack gstreamer0.10-twolame gstreamer0.10-x264 gstreamer0.10-xing libgstreamermm-get-plugin-defs0.10_0 libgstreamermm0.10_2 gstreamer0.10-xvid

hit [enter] y [enter] wait …

9. Xine

sudo urpmi xine-pulse gxine-mozilla libxine1 xine-faad xine-flac xine-plugins xine-skins xine-ui xine-wavpack

hit [enter] y [enter]

10. MPlayer

sudo urpmi mplayer-gui mplayer-skins mplayer-fonts mplayerplugin smplayer

hit [enter] y [enter] wait ….

11. DVD’s, and more

sudo urpmi dvd+rw-tools libdvdcss2 libdvdnav4 libdvdread4 faac gstreamer0.10-faac libfaac0 libquicktime-faac faad2 libfaad2_2 xine-faad libquicktime-faad mencoder ffmpeg helixplayer k9copy ogmrip win32-codecs

hit [enter] y [enter] wait ….

12. Java

sudo urpmi java-1.6.0-sun-plugin java-1.6.0-sun totem-mozilla mozilla-plugin-vlc wmwebcam webcam_server camorama kmplayer mplayer dkms-squashfs dkms-squashfs-lzma hfsplusutils hfsutils

hit [enter] y [enter] wait ….

13. Adobe Flashplayer

sudo urpmi flash-player-plugin

hit [enter] y [enter] wait …

If you plan on using Facebook, you will want to get the Adobe 10.1 Beta 2 Flashplayer.
To do this, check out the Perfect Desktop post of January 6th, 2010 Post

14. Communication Central I still can’t get everyone to use Ekiga

sudo urpmi skype

hit [enter] y [enter] wait …

Now.. it’s all done. You might want to restart your browser to activate the new flashplugin. I hope it works for you. Mandriva is the perfect desktop. My next post is in the festive spirit – it deals with candy, with compiz fusion and emerald. I’m no expert but mine works.

Related links:

What is free software and why it exists. Link to the Free Software Foundation

A video by Stephen Fry (Happy Birthday Linux)

Mandriva Media Sources (repositories) explained

The Official Mandriva Wiki::

The Mandriva Linux ftp mirrors for final release versions contain at least:

  • main which contains most important programs, supported by Mandriva
  • contrib which contains some more optional programs added by contributors, but which do not necessarily get (security) updates
  • non-free which contains some programs which are not free

Each media has 4 sub-medias:

  • release the packages as of the release day.
  • updates the packages updated since the release day for security or bug concerns. Everyone should have this medium, even with a very slow internet connection. When adding an update medium, add the –update switch so urpmi can distinguish it from a regular medium.
  • backports some packages of new versions backported from cooker.
  • testing which is used to temporary tests of new updates, to allow the bug reporters to validate the corrections.

*Cooker is the future release of Mandriva before it becomes official (new stable version).

The PLF packaging policy (link) and Easy URPMI online tool

The MIB repositories explained at this link

Advertisements