📜 ⬆️ ⬇️

Debian stuff - apt-build

Not many people know that more than one Gent can be reassembled from source =)) Debian also allows you to commit such a perversion on yourself, and with optimization. By optimization, I mean that by default, the entire Debian is built under i386 architecture, which is not good at the time when UFO surfs our planet =)

Let's try ...

And once: sudo apt-get install apt-build
During installation, the program will ask for the desired level of optimization and processor architecture. For extremes, you can choose the optimization level equal to "-03" and the architecture of pentium4 (namely, it is referred to as i686)
')
And two: cat >> / etc / apt / sources.list << EOF deb-src ftp.debian.org/debian lenny main contrib non-free

EOF
Add to the source repository in our sources.list

And three: sudo apt-get update
update 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.

Posted by reading www.opennet.ru/base/sys/apt_build.txt.html

Source: https://habr.com/ru/post/46097/


All Articles