Prelink : Accelerate the applications launch
Most of the applications need shared libraries. They are loaded everytime an application is started. For programs with a lot of dependencies, this operation is quite long. The fact is the libraries doesn't change everytime so the bind operation is often the same. That's why Prelink records those links and thus is saving time.
======
Prelink is in the repository "Universe".
Then install the package apt://prelink.-
Edit /etc/default/prelink with root and modify
PRELINKING=unknown by PRELINKING=yessudo sed -i 's/PRELINKING=unknown/PRELINKING=yes/' /etc/default/prelink
-
Launch Prelink for the first time, a quite long operation :
sudo /etc/cron.daily/prelink
Then Prelink is launched daily.
After an update of a library, Prelink is lauched on all the software using it.
Prelink can be launched automaticaly after the installation of a new software :
Create the file /etc/apt/apt.conf.d/98prelink
-
Add the line :
DPkg::Post-Invoke {"echo Prelinking, Please wait...;/etc/cron.daily/prelink";}
To desactivate Prelink, just replace PRELINKING=yes by no.
Check the man page.