yum

Presto: Speed up your updates and save bandwidth

Prestro is a new project that bridges the gap between deltarpm and yum. Now only will using yum-presto save you lots of bandwidth, but it will cut down on the time it takes to perform updates!
No votes yet

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

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

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

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

Installing 3rd party repositories for Yum

There are many third party RPM repositores available for Fedora and/or RedHat based repos such as Livna, FreshRPMs, Dries (RPMForge) and Dribble. Soon many of these will merge into one repo called RPMFusion, but until then this guide will show you how to install these third party repos without giving you headaches.

No votes yet

Installing 3rd party repositories for Yum

There are many third party RPM repositores available for Fedora and/or RedHat based repos such as Livna, FreshRPMs, Dries (RPMForge) and Dribble. Soon many of these will merge into one repo called RPMFusion, but until then this guide will show you how to install these third party repos without giving you headaches.

No votes yet

Installing 3rd party repositories for Yum

There are many third party RPM repositores available for Fedora and/or RedHat based repos such as Livna, FreshRPMs, Dries (RPMForge) and Dribble. Soon many of these will merge into one repo called RPMFusion, but until then this guide will show you how to install these third party repos without giving you headaches.

No votes yet

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

Presto!

Size of all updates downloaded from Presto-enabled repositories: 1.7M
Size of updates that would have been downloaded if Presto wasn't enabled: 31M
This is a savings of 95 percent

Updated: anaconda.i386 0:11.2.0.55-1 glibc.i686 0:2.5.90-21
Dependency Updated: anaconda-runtime.i386 0:11.2.0.55-1 glibc-common.i386 0:2.5.90-21 glibc-devel.i386 0:2.5.90-21 glibc-headers.i386 0:2.5.90-21
Complete!
No votes yet
Syndicate content