Debian stuff - apt-build

    Not many people know that more than one gent can be reassembled from the source =)) Debian also allows you to commit such a perversion on yourself, and with optimization. By optimization, I mean that by default all Debyan is built for i386 architecture, which is not good at the time when UFOs plow the open spaces of our planet =)

    Let's try ...

    And again: sudo apt-get install apt-build
    During installation the program will ask you the desired level of optimization and processor architecture. For extreme users, you can choose the optimization level equal to "-03" and the pentium4 architecture (it is called i686)

    And two: cat >> / etc / apt / sources.list <ftp.debian.org/debian lenny main contrib non-free

    EOF
    Add the source repository to our sources.list

    And three: sudo apt-get update
    update the package index

    And four: sudo dpkg --get-selections | awk '{if ($ 2 == “install”) print $ 1}'> /etc/apt/apt-build.list
    Create a list of all installed packages - to recompile them

    And five: sudo apt-build world
    Rebuild the system

    And then - just wait, wait and wait.

    Wrote after reading www.opennet.ru/base/sys/apt_build.txt.html

    Also popular now: