While we can use things like SNAP to install many softwares…
But is there a place where we can get a complete list of stuff that can be directly installable by the following command:
sudo dnf install <…packagename…>
This is for installing stuff to the template so that all my appVMs automatically have it.
Sorry… i am totally new to Fedora34. have used linux a little bit in the past… not much
When you wish to install software in Qubes OS, you should generally install it in a template. For installing templates themselves, see how to install a template. Advanced users may also be interested in learning how to install software in standalones...
Navigating the Waters: Installing Software in Qubes
Installing software in Qubes OS can be a daunting experience. This guide’s goal is to serve as a crossroad sign to help you navigate this landscape.
Note for users coming from Windows or MacOS If you’re used proprietary tool like Microsoft office or Photoshop, you won’t be able to run them on your regular app qubes (though you can <a href="http://qubes-os.org/doc/windows/">run Windows on Qubes</a>, but it’s a sub…
In short, yes. But remind that no package manager is “complete”, they “just works”.
For example, if you want to install brave browser, it is noticeable that brave is not in dnf list by default, so here’s two methods:
1. use snap.
2. add the brave repository in the list manually on template.
and depend on your choice. The guide wrote by @deeplow is very useful.
1 Like
Normally, Fedora has “Software Center ” providing a convenient interface to find software to install. However, on Qubes, the TemplateVMs have no networking for security reasons, so it does not work.
As a workaround, you could probably clone your template and connect the clone to the network, open this Software Center and search for software you need. Then, install it in the normal template with dnf
.
Alternatively, there is dnf search and more .
I have made a proposal for improving the discoverability of how to install software in templates:
opened 03:54PM - 20 Apr 22 UTC
T: enhancement
C: core
C: templates
P: default
### The problem you're addressing (if any)
In qubes it's quite hard to install … software and the [graphical software centers don't work](https://github.com/QubesOS/qubes-issues/issues/6310)
### Proposed Solution (simple version)
An internet-connect disposable qube running Gnome's software center. When the user chooses the software to install, a prompt asks the user on which qube they want to install and then it communicates the package names to that qube. Then that qube proceeds to install it.
### Proposed Solution (complex version)
The workflow for the user would start by clicking a <kbd>install software</kbd> button on the qubes menu tab for a particular qube:
![menu1(1)](https://user-images.githubusercontent.com/47065258/164290624-3a69c124-6df2-49aa-831d-33192521fc65.png)
By knowing in advance which qube the user wants to install software on, this software installation qube could be created on-demand based on the template on which the qube to be updated is based. This way it would be running the same system and therefore all packages listed would be guaranteed to be compatible. This could be good for example in systems where there are different software stores: suppose in Fedora there is Software Center and in ubuntu there is the Ubuntu Store (no idea if that's the case).
Let's see an example:
1. **user clicks <kbd>install software</kbd>** on `personal` qube tab in the qubes menu
2. **starts `personal-software-center` qube** (created on demand and based on *Fedora* -- the same tempalte as `personal`)
3. **starts patched *Software Center*** (*) application on `personal-software-installer` qube
4. **user chooses software** to install (e.g. vlc)
5. **`personal-software-installer` sends package names** via qrexec to `fedora-34` (the template of `personal`)
6. **`fedora-34` shows a prompt** with the package names it received for the user to confirm these are the packages it wants to install
(*)*patched software center*: (probably) a forked version that has been modified not to actually install software but rather sends the names of the packages to be installed to the app qube or template.
### The value to a user, and who that user might be
- [GUI for installing software](https://github.com/QubesOS/qubes-issues/issues/6310)
- More discoverable way to install software
2 Likes
I’ve tried the snaps in the past to install Brave following the instructions but I’ve had issues where the snap disappears when I start the qube.
enmus
May 4, 2022, 6:34pm
6
I am not sure if Software Center lists all packages, but rather applications only. The one might try (buggy though) dnfdragora
. There’s no better match to what Synaptic
for Debian is, that I’m aware of.