Speed up dynamic linking Using Prelink
Sponsored Link
Install Prelink in Ubuntu
First you need to make sure you have enables Universe repositories in /etc/apt/sources.list file and you need to update source list using the following command
sudo apt-get update
Install prelink using the following command
sudo apt-get install prelink
This will complete the installation
Configuring Prelink
You need to edit the /etc/default/prelink file with your favorite editor, as sudo/root
sudo vi /etc/default/prelink
Near the top of the file chnage the following line
PRELINKING=unknown
to
PRELINKING=yes
Adjust the other options if you know what the you're doing.Defaults work well Save and exit the file.
To start the first prelink it will take long time using the following command
sudo /etc/cron.daily/prelink
In the future, prelink performs a quick prelink (a less-than-1-minute procedure on most systems) daily, usually at midnight. Every 14 days, or whatever you changed it to be, a full prelink will run.
If you just did a major apt-get upgrade that changed systemwide libraries (i.e. libc6, glibc, major gnome/X libs, etc etc etc) and experience cryptic errors about libs, run the following command again
sudo /etc/cron.daily/prelink
To undo prelink,
You need to edit the /etc/default/prelink file with your favorite editor, as sudo/root
sudo vi /etc/default/prelink
Near the top of the file chnage the following line
PRELINKING=yes
to
PRELINKING=no
Save and exit the file and rerun the following command
sudo /etc/cron.daily/prelink
This is not necessary in feisty according to ubuntuguide.org
as brk3 says this is not necessary in feisty… here’s the link
http://ubuntuforums.org/showthread.php?t=74197