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

6 Update The System

Most probably the packages on our new online repositories are more up-to-date than the ones we installed from our Mandriva DVD. Therefore let's update our system now. Again, this can be done either from the command line or from the Control Center, and again I will show you both ways.

 

6.1 Command Line

Open a terminal (Applications > Accessories > Terminal) and become root by typing:

su

Then run the following commands to automatically select and install all available updates:

urpmi.update -a

urpmi --auto-select

That's it already.

 

6.2 Control Center

Open the Control Center and go to Software Management > Look at available updates and apply any fixes or upgrades to installed packages.

Click on Yes when you're asked Is it ok to continue?:

The system will contact the repositories to find new updates:

Afterwards, all available updates are shown to you. To install them all, click on Update:

The system shows you all packages that are going to be installed in an extra window. Confirm by clicking on Yes:

Afterwards, the updates are downloaded and installed:

Afterwards, the list of available updates should be empty in the Software Management window. Click on Quit to leave the software updater:

 

7 Find Out Your Kernel Version

Before we go on and install additional software, it's a good idea to find out about your kernel version because in chapter 8 we will install the package kernel-source which is needed by VMware Server (which we will install at the end of this tutorial). There are multiple kernel-source packages available, and to select the right one you need to know your kernel version.

To find out about your kernel version, open a terminal (Applications > Accessories > Terminal) and become root:

su

Then run

uname -r

The output should look like this:

[root@localhost Desktop]# uname -r
2.6.17-13mdv

which means you have kernel 2.6.17-13mdv installled.

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.