Portál AbcLinuxu, 12. května 2025 10:43
gcc
, kde a podobně. Tam, kde aplikace slotované nejsou, by pravděpodobně stačilo napsat vlastní ebuild, ale to mi přijde podobné, jako tu aplikaci nainstalovat ručně (třeba do ~/usr
)
[ebuild NS ] sys-kernel/suspend2-sources-2.6.16-r8 USE="symlink -build -doc" 40,211 kBStejně tak například můžeš mít najednou KDE 3.4 a 3.5, protože mají jiný slot, ale už ne KDE 3.5.2 a 3.5.3, ty jsou ve stejném slotu. A jenom nekteré programy sloty používají, protože se musí většinou zvlášť upravit, aby se neinstalovaly klasicky do /usr/bin.
main # cd / ; mkdir /sid-root main # debootstrap sid /sid-root http://ftp.debian.org/debian/ ... watch it download the whole system main # echo "proc-sid /sid-root/proc proc none 0 0" >> /etc/fstab main # mount proc-sid /sid-root/proc -t proc main # cp /etc/hosts /sid-root/etc/hosts main # chroot /sid-root /bin/bash chroot # cd /dev; /sbin/MAKEDEV generic ; cd - chroot # apt-setup # set-up /etc/apt/sources.list chroot # vi /etc/apt/sources.list # point the source to unstable chroot # dselect # you may use aptitude, install mc and vimAt this point you should have a fully working Debian system, where you can play around without fear of affecting your main Debian installation. This debootstrap trick can also be used to install Debian to a system without using a Debian install disk, but instead one for another GNU/Linux distribution. See http://www.debian.org/releases/stable/i386/apcs04.html.en.![]()
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.