Fedora 10

Presto: Speed up your updates and save bandwidth

Need more help or want to ask a question? Discuss this topic here.

A little background information

Delta RPMs (DRPMs) are very similar to binary (regular) RPMs. The main difference is that DRPMs contain only the changes between two versions of an RPM package. This allows you to do full updates in a lot less time - Instead of downloading a full 10MB for an update where only 50kb of content changed, for example, you can now download only that 50kb of change and apply it to your system.

Not only will you save on bandwidth since you're only downloading in the changes in a package, but you'll also cut down on the time it takes to download and apply the packages.

Presto is a project which brings deltarpm and yum together; In other words, letting you use yum to apply DRPMs.

Installing yum-presto

The first step toward setting up Presto is installing the yum plugin:

yum -y install yum-presto

Configure the Updates repository

Next, we need to configure your updates repository to download deltarpm packages instead of the full ones. In the /etc/yum.repos.d/fedora-updates.repo file you'll find two lines that looks like this in the [updates] section:

#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fX&arch=$basearch

Add a pound character to the start of the mirrorlist line so that it looks like this:

#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fX&arch=$basearch

Finally, add a new line just under the "#mirrorlist=" line we just edited:

mirrorlist=http://presto-mirrors.anmar.eu.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch 

The pound sign makes Yum ignore the line that it's on, so essentially we're telling yum to ignore the base repository and any mirrors. The line which was added tells yum to use the presto-enabled mirrors instead.

 
That's it! Now run you can use yum or yumex as normal and benefit from the advantages of deltarpms.
 
Need more help or want to ask a question? Discuss this topic here.
No votes yet

Media (DVD, mp3, etc) playback in Fedora

The Fedora project believes in free software, and seeing as such patent-encumbered or proprietary formats are not included in the Fedora distributions. Unfortunately, that means that that media such as DVDs, MP3s, many types of video, Java content and .swf Flash content cannot be viewed on a fresh install of Fedora. This guide will show you how to install various plugins and codecs to allow the playback of this type of content.
Your rating: None (2 votes)

Installing 3rd party repositories for Yum

There are many third party RPM repositores available for Fedora and/or RedHat based repos such as RPM Fusion and Dries (RPMForge). This guide will show you how to install these third party repos without giving you headaches.

No votes yet

Getting nVidia cards to work in Fedora

Ensuring that your graphic card works the way you want it to in Linux can be a long and tenious task if you are encountering problems. This guide will show you how to setup the nv, nouveau or proprietary nvidia driver with your nVidia graphics card to make sure your card is functioning as it should.
No votes yet

Desktop Effects - AIGLX & Compiz, Beryl, Compiz-fusion

Compiz and Beryl are advanced window managers that add some very amazing 3D visual effects to your desktop. Recently, the Compiz and Beryl projects decided to merge into Compiz-Fusion, a window manager (and window decorator) that brings the best of both worlds! This guide will provide you with step-by-step information on how to install the newly-released compiz-fusion packages along with setting up AIGLX.
No votes yet

Getting ATI cards to work in Fedora

Ensuring that your graphic card works the way you want it to in Linux can be a long and tenious task if you are encountering problems. This guide will show you how to setup the radeon or the proprietary fglrx driver with your ATI graphics card to make sure your card is functioning as it should.
 
Note: As of November 2008, the ATI drivers still do support kernel 2.6.27 and Xorg 7.4, however X seems to crash when starting. Until the drivers functions correctly with Fedora 10, they will not be available from the RPM Fusion repositories.
No votes yet
Syndicate content