Go back to topic: Installing Software in Qubes from .deb / .rpm
reverted to version #6v9 anchor; v9 full version
reverted to version #6v8 anchor; v8 full version
Continuing the discussion from [How do I create a standalone VM?](https://forum.qubes-os.org/t/how-do-i-create-a-standalone-vm/2884):
| Continuing the discussion from [How do I create a standalone VM?](https://forum.qubes-os.org/t/how-do-i-create-a-standalone-vm/2884): |
sudo rpm -i ~/QubesIncoming/disp3741/local-5.9.9-linux.rpm | sudo rpm --define '_pkgverify_level digest' -i ~/QubesIncoming/disp3741/local-5.9.9-linux.rpm |
> **:warning: Warning:** the "`--define '_pkgverify_level digest' `" a security workaround as Qubes disabled unsigned `.rpm` packages. Read more [on the related announcement](https://github.com/QubesOS/qubes-secpack/blob/master/QSBs/qsb-067-2021.txt). | |
sudo rpm -i ~/QubesIncoming/disp3741/local-5.9.9-linux.rpm | sudo rpm --define '_pkgverify_level digest' -i ~/QubesIncoming/disp3741/local-5.9.9-linux.rpm |
sudo | sudo apt install ~/QubesIncoming/disp3741/local-5.9.9-linux.deb |
> **Note** if you see some errors like the following, feel free to ignore it (see why [here](https://forum.qubes-os.org/t/installing-software-in-qubes-from-deb-rpm/2890/14)) > `/home/user/QubesIncoming/<SOME_VM>/<FILE>.deb’ couldn’t be accessed by user ‘_apt`sudo apt install`` |
sudo | sudo rpm -i ~/QubesIncoming/disp3741/local-5.9.9-linux.rpm |
Most likely it will show you some dependency errors like this:  This happens because on Linux the software you install most often than not depends on other tools which need to be installed on your system first. This part will very much depend on your situation and you'll have to figure out how to install these dependencies. In our case it told as (see above). So we installed these with: ```bash sudo dnf install libaio ncurses-compat-libs nss-tools ``` And it should work out well :) > **Dependencies do not exist / will not be installed?** > There is the chance this happens to you. In this case you'll probably be wasting a lot of time looking for these. If there was a `.deb` as well, try repeating the process in Debian instead. After the dependencies are installed you should be ready for installing the actual software you want. Repeat your first install command: ```bash sudo rpm -i ~/QubesIncoming/disp3741/local-5.9.9-linux.rpm ``` This time, it should run without complaining about any dependencies. Skip the debian part by going to [step `4.`](#4-adding-shortcut-to-start-menu) | |
sudo | sudo dpkg -i ~/QubesIncoming/disp3741/local-5.9.9-linux.deb |
Most likely it will show you some dependency errors like this:  This happens because on Linux the software you install most often than not depends on other tools which need to be installed on your system first. This part will very much depend on your situation and you'll have to figure out how to install these dependencies. In our case it told as (see above). So we installed these with: ```bash sudo apt install libncurses5 libnss3-tools ``` And it should work out well :) We didn't have luck and in our case, Debian had the following complaint:  So we used the suggested solution and it all worked out: ```bash sudo apt --fix-broken install ``` > **Dependencies do not exist / will not be installed?** > There is the chance this happens to you. In this case you'll probably be wasting a lot of time looking for these. If there was a `.rpm` as well, try repeating the process in Fedora instead. After the dependencies are installed you should be ready for installing the actual software you want. Repeat your first install command: ```bash sudo dpkg -i ~/QubesIncoming/disp3741/local-5.9.9-linux.deb ``` This time, it should run without complaining about any dependencies. |
sudo | sudo dnf install ~/QubesIncoming/disp3741/local-5.9.9-linux.rpm |
Skip now the Debian part by going to step `4.` | |
sudo | sudo apt install ~/QubesIncoming/disp3741/local-5.9.9-linux.deb |
> **Note** if you see some errors like the following, feel free to ignore it (see why [here](https://forum.qubes-os.org/t/installing-software-in-qubes-from-deb-rpm/2890/14)) > `/home/user/QubesIncoming/<SOME_VM>/<FILE>.deb’ couldn’t be accessed by user ‘_apt`sudo apt install`` |
*When you install software [in the regular way](https://www.qubes-os.org/doc/software-update-domu/#installing-software-in-templatevms) (from the repos) | *When you install software [in the regular way](https://www.qubes-os.org/doc/software-update-domu/#installing-software-in-templatevms) (from the repos) that is done automatically for you. However with this method you have to verify software manually. However many times this is not available, so you cannot confirm the authenticity of the software.* |
* ** | * **Name:** we're calling it `develop`, but you can name it whatever you want |
You'll want to add your application's name to the right column. If you don't see it, click on <kbd>Refresh Applications</kbd> button. That will take a couple of seconds but afterwards it should show up. Move you newly installed to the right column and hit <kbd>OK</kbd>. | You'll want to add your application's name to the right column. If you don't see it, click on <kbd>Refresh Applications</kbd> button. That will take a couple of seconds but afterwards it should show up. > **Still don't see it?** > If after refreshing your applications, your newly installed application doesn't show up it might be that your `.deb` or `.rpm` didn't include a shortcut (which sucks). If this is the case [read here](https://www.qubes-os.org/doc/managing-appvm-shortcuts/#what-if-my-application-has-not-been-automatically-included-in-the-list-of-available-apps) to try to salvage the situation. Move you newly installed to the right column and hit <kbd>OK</kbd>. As you can see on the following picture, the `Local` application is selected. |
When you moved the file to the StandaloneVM, it landed on the folder `~/QubesIncoming/<SOME_VM>/<FILE>. | When you moved the file to the StandaloneVM, it landed on the folder `~/QubesIncoming/<SOME_VM>/<FILE>.deb`. So in our case we ran on the terminal: |
sudo dpkg -i ~/QubesIncoming/disp3741/local-5.9.9-linux. | sudo dpkg -i ~/QubesIncoming/disp3741/local-5.9.9-linux.deb |
Continuing the discussion from [How do I create a standalone VM?](https://forum.qubes-os.org/t/how-do-i-create-a-standalone-vm/2884): | Continuing the discussion from [How do I create a standalone VM?](https://forum.qubes-os.org/t/how-do-i-create-a-standalone-vm/2884): <div data-theme-toc="true"> </div> |
Most of the times you can find a suitable freedom software available through standard software installation methods. So I would advise you to first to look for alternatives and only then follow this tutorial. | |
This time, it should run without complaining about any dependencies. Skip the debian part by going to step `4.` | This time, it should run without complaining about any dependencies. Skip the debian part by going to [step `4.`](#4-adding-shortcut-to-start-menu) |
 |  ## 6. Update it! Now, because you installed it manually, whenever there is an update for this application you'll have to remember to update it by repeating this exact process with the new version. You'll remember to do this, right?! ;) |