Results 1 to 10 of 64

Thread: HOWTO: Enable prelink

Threaded View

  1. #1
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    HOWTO: Enable prelink

    Prelink is in universe. I use it on my Ubuntu system without issues, but do google about Prelink and do your research before trying it out.

    How to enable prelink:

    1. Activate Ubuntu universe sources. The procedure is well-documented by Ubuntu.
    2. use apt-get or synaptic to install prelink.
    3. Open /etc/default/prelink with your favorite editor, as sudo/root.
    4. Change PRELINKING=unknown from unknown to yes.
    5. Adjust the other options if you know what the heck you're doing. Defaults work well.
    6. To start the first prelink (the longest one!), run 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, rerun step 6.

    To undo prelink, change step 4 from yes to no, then rerun step 6.


    WARNING:
    An amd64 users in another thread (http://ubuntuforums.org/showpost.php...3&postcount=16) reports having experienced trouble with AMD64 prelinking. I have NOT tried prelinking on anything other than an i386!
    Last edited by jdong; April 16th, 2005 at 01:49 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •