From Wikitech-static
< Help:Toolforge
Revision as of 18:05, 22 March 2019 by imported>Dvorapa (top)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To install a different package version, any other missing package, different Debian version or even a different Linux distribution you can use fakechroot environment.

You can create your fakechroot environment in my_env folder using:

$ fakechroot
(fakechroot) $ fakeroot
(fakeroot) $ /usr/sbin/debootstrap --variant=fakechroot stretch my_env

This will install package manager, some basic tools, commands and prerequisites, everything into your new fakechroot unit.

Once you created one, let's use it and play with it:

(fakeroot) $ chroot my_env

(chroot) $ apt install ffmpeg

Once you are happy with it, you can always leave using:

(chroot) $ exit
(fakeroot) $ exit
(fakechroot) $ exit

See also