Hello, not sure if i put this in the right place, i just installed qubes 4.3.1, i’m trying to install the aforementioned software, but i can’t seem to be able to do it, i can’t use sudo from the whonix18 terminal like i could before, i have to go through dom0 terminal first, from there i try to install that stuff and i just can’t seem to be able to use the software i just installed.
I probably installed in the wrong place like an idiot, but i can’t figure it out and it’s driving me nuts.
Can someone tell me what syntax to use and maybe explain to me what to do like i’m a particularly daft 5 years old?
where you wan’t to install it… QubesOS is not one system. It’s a multi machine system. Each qube/VM is separate machine and in each you install apps separatelly.
So where you wan’t to install them again?
Yep, the important split is: dom0 is only for Qubes administration, not for normal apps. If you installed VLC/7zip there, that explains why you cannot use it in your working qubes.
Pick the qube where you want to run the apps, check which template it uses in Qube Manager, then install the packages in that TemplateVM. For a Debian template it is roughly sudo apt update then sudo apt install vlc p7zip-full unrar (if the repos provide unrar). For Fedora it is sudo dnf install vlc p7zip p7zip-plugins unrar, but VLC/unrar may require enabling the right third-party repos first. After installing, shut down the template and restart the app qube that uses it.
I would not use Whonix as the general media/tools qube unless you specifically need Whonix for that task. A normal Debian/Fedora app qube is simpler for VLC and archive tools.
I didn’t install in dom0, my problem is i can’t use the sudo command from just whonix terminal, i have to do this from dom0 teminal “qvm-run -u root Whonix-17-TemplateVM-Name xterm”, then this “sudo apt-get 7-zip”, but it still opens archives with the default file archiver, and i can’t extract anything, not sure what i’m doing wrong
In whonix-18, you can’t use sudo in a normal App qube. Also, you don’t install software in a normal App qube, you install them in templates. So, if you are unable to use sudo, it means you are trying to install software in an App qube instead of a template.
You can find all the help regarding installing software here:
This makes me wonder what the real issue is here. Do you want archives to be opened with something else? You have to change the default file association (nothing specific to Qubes OS here). You can’t extract a zip file? The issue is different.
Provide more details about what you’re trying to do and how exactly, to get better help.
One small correction: the package command is not apt-get 7-zip. In a Debian/Whonix template it would be something like sudo apt update && sudo apt install p7zip-full p7zip-rar unrar-free. Then shut down the template and restart the AppVM that uses it. The file still opening in the default archiver is a separate issue: either change the file association, or right-click the archive and choose the 7-Zip/p7zip tool if it appears. If extraction still fails, post the exact error from the archive manager, because that is more useful than the install command at this point.
By default, whonix-18 uses lxqt-archiver, but the file manager is set to use xarchiver, which isn’t installed. This causes the extraction issue.
To fix it, go to File Manager > Edit > Preferences > Advanced, and change the Archiver Integration setting to lxqt-archiver. This should resolve the problem.