(In response to Whonix Desktop Installer with Calamares - field report)
whonix_build_multiarch_package_item="amd64"
cow_folder="/var/cache/pbuilder/cow.cow_${whonix_build_multiarch_package_item}"
base_folder="/var/cache/pbuilder/base.cow_${whonix_build_multiarch_package_item}"
whonix_build_pbuilder_config_file="/home/user/whonix_binary/pbuilder.conf"
sudo cowbuilder \
--execute "/bin/bash" \
--basepath "$base_folder" \
--buildplace "$cow_folder" \
--configfile "$whonix_build_pbuilder_config_file"
Should show root@host:/#
which is then a root shell inside the chroot.
Since not using
--save-after-login
changes will not be permanent.
Probably worth adding a script into Whonix help-steps
folder to simplify invocation?
Then try for example:
sudo apt-get install clang-tidy
Or.
sudo apt-get install debhelper genmkfile clang llvm-7-dev clang-tidy
To leave the chroot, just type:
exit