The Perfect Desktop - Mandriva 2007 Spring Free (Mandriva 2007.1) - Page 8

14 Adobe Reader

To download Adobe Reader, go to http://www.adobe.com/products/acrobat/readstep2_allversions.html and select the following:

Operating system: Unix/Linux
Version: Linux (.rpm)
Your language

Then click on Continue:

Then click on the Download Adobe Reader button and install the package exactly as shown for the TrueType fonts in chapter 11:

Afterwards, you will find Adobe Reader in Applications > Office (I ended up with two Adobe Reader icons, I'm not sure why, but it doesn't hurt, so I don't change it):

When you click on one of them, most probably Adobe Reader won't start. Also, when you open a terminal and run

acroread

you will most likely get a loop of

expr: syntax error

errors.

This can be fixed with a small modification in the file /usr/local/Adobe/Acrobat7.0/bin/acroread. To edit it, we must have root privileges, so open a terminal and become root:

su

Then run

gedit /usr/local/Adobe/Acrobat7.0/bin/acroread

A text editor will start with the contents of /usr/local/Adobe/Acrobat7.0/bin/acroread. Find the get_gtk_file_ver() function in that file and replace

echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

with

echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

(or comment out the first line and add the second one). After your modification, the get_gtk_file_ver() function should look like this:

get_gtk_file_ver()
{
           if [ -f "$1" ]; then
            if [ -h "$1" ]; then
                    ifile=`readlink $1`
                    if [ $? -eq 1 ]; then
                                   return 1
                    fi
        fi

                   mfile=`basename $ifile`
            echo $mfile | grep -q "libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\).\([0-9]*\)" 2>/dev/null

                   if [ $? -ne 0 ]; then
           return 1
        fi

                   #echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
                   echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
        return 0
    fi

    return 1
}

Save the file and close the text editor. Afterwards Adobe Reader should start without problems:

 

15 Skype

To download Skype, go to http://www.skype.com/download/skype/linux/, choose RPM for Mandriva 10.1 and newer, and install it exactly as shown for the TrueType fonts in chapter 11:

 

16 Google Picasa

Open Firefox, download the file http://dl.google.com/linux/rpm/stable/i386/picasa-2.2.2820-5.i386.rpm, and install it exactly as shown for the TrueType fonts in chapter 11.

 

17 Inventory (III)

Browse the Applications menu again and check what you've got installed so far.

Your list should look like this now:

Graphics:
[x] The GIMP
[x] F-Spot
[x] Picasa

Internet:
[x] Firefox
[x] Opera
[x] Flash Player
[x] gFTP
[x] Thunderbird
[x] Evolution
[x] aMule
[x] Bittorrent
[x] Azureus
[x] Gaim
[x] Skype
[x] Google Earth
[x] Xchat IRC

Office:
[x] OpenOffice Writer
[x] OpenOffice Calc
[x] Adobe Reader
[x] GnuCash
[x] Scribus

Sound & Video:
[x] Amarok
[x] Audacity
[x] Banshee
[x] MPlayer
[x] Rhythmbox Music Player
[x] gtkPod
[x] XMMS
[x] dvd::rip
[x] Kino
[x] Sound Juicer CD Extractor
[x] VLC Media Player
[x] Real Player
[x] Totem
[x] Xine
[x] GnomeBaker
[x] K3B
[x] Multimedia-Codecs

Programming:
[x] Nvu
[x] Bluefish
[x] Quanta Plus

Other:
[ ] VMware Server
[x] True Type fonts
[x] Java

So everything is installed except for VMware Server...

Share this page:

4 Comment(s)

Add comment

Comments

From: at: 2007-05-11 06:48:27

Thanks to Falko for this great guide! Just some extra pointers:

In addition to the methods listed here, there's also a simple official way to add the official Mandriva software repositories. It's explained at the Wiki -  http://wiki.mandriva.com/en/Docs/Basic_tasks/Installing_and_removing_software

Setting up repositories with this method will set up the official non-free repository. This repository contains the Java plugin, so it is not necessary to download it from MCNL as recommended in the article: you can just install the java-1.5.0-sun-plugin package.

Finally, please note that the Mandriva GTKPod package does in fact install a menu entry. It's just that if you switch to the GNOME menu system as Falko recommends, you don't see it, as the GNOME menus do not cover all applications. If you stick with the default Mandriva menu system, you will see the GTKPod menu entry. Also contrary to what the article says, GTKPod does come with an icon: /usr/share/icons/gtkpod.png . There are larger and smaller versions in /usr/share/icons/large and /usr/share/icons/mini .

Thanks again to Falco for the guide!

Adam Williamson

Mandriva 

From: at: 2007-05-11 12:56:14

When there's both a PLF and an MDV version of a package, they're usually exactly the same (PLF and MDV actually share several .src.rpms) except that some legally dubious features are enabled in the PLF package but not in the MDV package. So it usually makes more sense to install the PLF package than the MDV one. This is the case for, for e.g., xine, gtkpod and vlc in the list of packages. The PLF builds all include support for patent-encumbered codecs that aren't enabled in the MDV build.

From: at: 2007-05-14 14:13:55

instead of two commands (urpmi.update -a ; urpmi --auto-select) there is a single command that performs the same: urpmi --auto-update

From: at: 2007-05-11 11:26:27

It would be nice if you had not relied on previous experience for documenting how to add media. For example, you can add all the media for the distribution (excluding PLF) with one command, e.g.:

$ urpmi.addmedia --distrib http://my.mirror.com/pub/linux/mandriva/official/2007.1/i586

The GUI way with Mandriva Control Center is the same. From the main Media manager screen, click "Add", then choose "Distribution sources", and choose a mirror.

Note that all available media are added, but some are disabled by default (specifically the backport and test media). They can easily be enabled from the Media Manager.  Adding the --interactive flag to the urpmi.addmedia commain will allow you to choose which media should be enabled when initially adding them.