Help:Toolforge/Fakechroot
![]() | This page describes a complex and advanced use of Toolforge. It is not a recommended best practice and is not officially supported by the Toolforge administration team. |
Overview
This page is intended for advanced users. The processes described are not officially supported by the Toolforge adminstrative team.
Installing packages versions using fakechroot
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
Communication and support
Support and administration of the WMCS resources is provided by the Wikimedia Foundation Cloud Services team and Wikimedia Movement volunteers. Please reach out with questions and join the conversation:
- Chat in real time in the IRC channel #wikimedia-cloud connect, the bridged Telegram group, or the bridged Mattermost channel
- Discuss via email after you subscribed to the cloud@ mailing list