Hi If it's only for Python 2 packages, it's easy with "virtualenv", I've done it for multiple independent Trac installations, each with a different set of plugins. You still have to keep the Python 2 base packages on the system.
If it's for 32 bits packages, you can isolate them in a chroot, following the Gentoo guide [1]. I remember having used this to install binary packages like Adobe Acrobat when multilib was supported only with 32bits binary packages (I don't remember what made it necessary). If the chroot is mounted at system start, you can define menu actions in your desktop environment to launch commands inside of the chroot. You may need to bind mount your home directory or other data directories inside of the chroot to make them visible to these programs. The chroot solution can also work for Python 2, and it's not limited to 32 bits : you can create the chroot with a 64 bits stage 3 tarball. Best regards Mickaël Bucas [1] https://wiki.gentoo.org/wiki/Project:AMD64/32-bit_Chroot_Guide Le dim. 17 nov. 2019 à 12:20, Helmut Jarausch <jarau...@skynet.be> a écrit : > > Hi, > > I'd like to "preserve" some packages which do require components I > don't like to have "regularly" installed any more like some depending > on Python2 or are 32bit. > > Is there a means to build a "mini binary system" where I can put these? > > Many thanks for a hint, > Helmut