Is there any way to install Gentoo template on Qubes OS nowadays?
(Using Qubes 4.2.2)
I tried it using the following command:
sudo qubes-dom0-update --enablerepo=qubes-templates-community qubes-template-gentoo
but this is all i got:
Redirecting to ‘qvm-template install --enablerepo=qubes-templates-community gentoo’
usage: qvm-template [–verbose] [–quiet] [–help] [–repo-files REPO_FILES] [–keyring KEYRING] [–updatevm UPDATEVM] [–enablerepo REPOID]
[–disablerepo REPOID] [–repoid REPOS] [–releasever RELEASEVER] [–refresh] [–cachedir CACHEDIR] [–keep-cache] [–yes]
{install,reinstall,downgrade,upgrade,download,list,info,search,remove,purge,clean,repolist,migrate-from-rpmdb} …
qvm-template: error: Template ‘gentoo’ not found.
There is a gentoo-minimal template in the community templates testing repository.
Enable the community templates testing repository in the Qubes Global Config.
@Hiaercp404 look the RPM repository and you will understand the @apparatus explanation (repository name, package name):
https://yum.qubes-os.org/r4.2/templates-community-testing/rpm/
After enabling the new repository, you can also use the qvm-template-gui
tool in replacement of the qvm-template
CLI tool.
1 Like
Thanks a lot, it helped and I was able to install Gentoo template without any problems but i do have some questions. When i install it there is a password on the root account and also for the sudo, and after some research i couldn’t find the passwords. Is there any documentation for this template or am i missing something?
1 Like
@Hiaercp404 note that you can connect directly to the root user with qvm-run from a dom0 terminal :
qvm-run --user root <Here name of your qube> xterm -- -rv -geometry 180x35+815+34 &
1 Like
Yeah thanks, if i understand clearly from the documentation in order to enable passwordless root i need to install a package qubes-core-agent-passwordless-root
but i can’t find it with portage so is there any other way to install it and if so what kind of configuration do i need to do?