Installing Software in Qubes from .deb / .rpm revisions

Go back to topic: Installing Software in Qubes from .deb / .rpm

  1. v11 anchor; v11 full version
  2. v10 anchor; v10 full version
  3. reverted to version #6 v9 anchor; v9 full version
  4. reverted to version #6 v8 anchor; v8 full version
  5. v7 anchor; v7 full version
  6. v6 anchor; v6 full version
  7. v5 anchor; v5 full version
  8. v4 anchor; v4 full version
  9. v3 anchor; v3 full version
  10. v2 anchor; v2 full version

Revision #11

Edited on
2023-09-07
Edited by user
deeplow

Revision #10

Edited on
2021-09-03
Edited by user
deeplow
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> 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):

Revision #9

Edited on
2021-03-21
Edited by user
deeplow
Edit reason
reverted to version #6
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 dpkg -i ~/QubesIncoming/disp3741/local-5.9.9-linux.deb sudo apt install ~/QubesIncoming/disp3741/local-5.9.9-linux.deb
Most likely it will show you some dependency errors like this: ![wp-local-11|690x354](upload://xhAyPwmlSmywfjmgoeyUkqHuRDU.png) 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: ![wp-local-12|690x215](upload://8yshHgbeSygy3qhswOVtcDP42JI.png) 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. > **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``

Revision #8

Edited on
2021-03-21
Edited by user
deeplow
Edit reason
reverted to version #6
sudo dnf install ~/QubesIncoming/disp3741/local-5.9.9-linux.rpm sudo rpm -i ~/QubesIncoming/disp3741/local-5.9.9-linux.rpm
Skip now the Debian part by going to step `4.` Most likely it will show you some dependency errors like this: ![wp-local-5|659x167](upload://tWknC6LnYFbXg42ckHJDQ8JKK1w.png) 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 apt install ~/QubesIncoming/disp3741/local-5.9.9-linux.deb sudo dpkg -i ~/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`` Most likely it will show you some dependency errors like this: ![wp-local-11|690x354](upload://xhAyPwmlSmywfjmgoeyUkqHuRDU.png) 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: ![wp-local-12|690x215](upload://8yshHgbeSygy3qhswOVtcDP42JI.png) 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.

Revision #7

Edited on
2021-03-17
Edited by user
deeplow
sudo rpm -i ~/QubesIncoming/disp3741/local-5.9.9-linux.rpm sudo dnf install ~/QubesIncoming/disp3741/local-5.9.9-linux.rpm
Most likely it will show you some dependency errors like this: ![wp-local-5|659x167](upload://tWknC6LnYFbXg42ckHJDQ8JKK1w.png) 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) Skip now the Debian part by going to step `4.`
sudo dpkg -i ~/QubesIncoming/disp3741/local-5.9.9-linux.deb sudo apt install ~/QubesIncoming/disp3741/local-5.9.9-linux.deb
Most likely it will show you some dependency errors like this: ![wp-local-11|690x354](upload://xhAyPwmlSmywfjmgoeyUkqHuRDU.png) 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: ![wp-local-12|690x215](upload://8yshHgbeSygy3qhswOVtcDP42JI.png) 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. > **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``

Revision #6

Edited on
2021-03-10
Edited by user
deeplow
*When you install software [in the regular way](https://www.qubes-os.org/doc/software-update-domu/#installing-software-in-templatevms) (from the repos) this 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.* *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.*
* **Named and Label:** we're calling it `develop`, but you can name it whatever you want * **Name:** we're calling it `develop`, but you can name it whatever you want

Revision #5

Edited on
2021-02-19
Edited by user
deeplow
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>. As you can see on the following picture, the `Local` application is selected. 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.

Revision #4

Edited on
2021-02-19
Edited by user
deeplow
When you moved the file to the StandaloneVM, it landed on the folder `~/QubesIncoming/<SOME_VM>/<FILE>.rpm`. So in our case we ran on the terminal: 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.dev sudo dpkg -i ~/QubesIncoming/disp3741/local-5.9.9-linux.deb

Revision #3

Edited on
2021-02-18
Edited by user
deeplow
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)

Revision #2

Edited on
2021-02-18
Edited by user
deeplow
![wp-local-8|689x472](upload://okAvQekkC2TWnWBrj1NasfUNupU.png)![wp-local-8|689x472](upload://okAvQekkC2TWnWBrj1NasfUNupU.png) ## 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?! ;)