You are not logged in.

#1 2019-07-17 00:38

StephenT
Member
Registered: 2019-07-17
Posts: 3

How to load VirtualBox in Q4OS?

I am using the latest version of Q4OS with the Trinity desktop and need to have the VirtualBox application.  It is not in the Synaptic repository (although the Guest Additions is listed) and none of the techniques I have tried from the found web suggestions have worked.

Could someone please walk me through figuring this thing out?  I tried adding the repository from the suggestions to no avail.  Do I have to build the app from source code???

I like Q4OS and want it to run my other operating systems as virtual machines.

HELP PLEASE!!!!!!

Offline

#2 2019-07-17 09:01

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,222
Website

Re: How to load VirtualBox in Q4OS?

You need to add the Virtualbox repositories. Create a file "/etc/apt/sources.list.d/virtualbox.list" containing:

deb http://download.virtualbox.org/virtualbox/debian buster contrib non-free

Add the Virtualbox keyring in terminal:
$ sudo apt-key add /usr/share/apps/q4os_system/q4p_keyring/q4a-vbox_oracle.pub
and install the application:
$ sudo apt update
$ sudo apt install virtualbox-6.0

EDIT: fixed distro in the repository

Last edited by q4osteam (2019-07-17 09:06)

Offline

#3 2019-07-17 09:04

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: How to load VirtualBox in Q4OS?

I have been using QEMU (and virtual machine manager) for virtual machines for a little while now and although it has a little more to learn I have found it to be better (IMO) than VirtualBox. If you want to try it there is a good installation video for it

Having said that you could install by following the steps in this tutorial which although uses the Ubuntu (bionic) repository is reported to work with Buster.

EDIT:
The Q4OSTEAM advise is likely better for this distro smile

Last edited by Dai_trying (2019-07-17 09:05)

Offline

#4 2019-07-27 05:48

cjoliprsf
Member
Registered: 2017-04-23
Posts: 71

Re: How to load VirtualBox in Q4OS?

To the OP: have you succeeded?

For my part, I have always used a different method...
1- download the appropriate package from this page: https://www.virtualbox.org/wiki/Linux_Downloads
(this will be a .deb file) Select either Debian 9 or 10 for Q4OS 2.X or 3.X.
2- download the extension pack and optionally the user manual from this page: https://www.virtualbox.org/wiki/Downloads
3- save the 3 files somewhere on your HD
4- install the .deb with gdebi
alternatively if you don't have gdebi installed, the following command should work
sudo apt install /path/to/package/name.deb
5- open VirtualBox, then menu, files, settings (or parameters or preferences mine is in French, so not sure which word they use in English), go to extension tab, then add the extension pack that you have downloaded above.

That's it...

Last edited by cjoliprsf (2019-07-27 05:50)

Offline

#5 2020-03-13 18:47

oller53
Member
Registered: 2020-02-23
Posts: 5

Re: How to load VirtualBox in Q4OS?

I too would like to install Virtualbox 32bit but I have followed this method but I have not succeeded.
I downloaded the package:
virtualbox-5.2_5.2.38-136252_Debian_stretch_i386.deb

I tried to install it with Gdebi but I get this error message:

Error: dependency is not satisfiable: libcurl3 (> = 7.16.2)

can you help me?

Offline

#6 2020-03-13 20:00

wove
Member
From: Minnesota
Registered: 2019-12-31
Posts: 67

Re: How to load VirtualBox in Q4OS?

oller53 wrote:

I too would like to install Virtualbox 32bit but I have followed this method but I have not succeeded.
I downloaded the package:
virtualbox-5.2_5.2.38-136252_Debian_stretch_i386.deb

I tried to install it with Gdebi but I get this error message:

Error: dependency is not satisfiable: libcurl3 (> = 7.16.2)

can you help me?

libcurl3 is available in the repositories. It should be installable using Synaptic  or via "sudo apt install libcurl3" from the command line.

bill

Offline

#7 2020-03-14 06:37

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,295

Re: How to load VirtualBox in Q4OS?

oller53 wrote:

I too would like to install Virtualbox 32bit but I have followed this method but I have not succeeded.
I downloaded the package:
virtualbox-5.2_5.2.38-136252_Debian_stretch_i386.deb

I tried to install it with Gdebi but I get this error message:

Error: dependency is not satisfiable: libcurl3 (> = 7.16.2)

can you help me?

If you are on 64 bit, have you enabled 32 bit support

sudo dpkg --add-architecture i386 
sudo apt update

Offline

#8 2020-03-14 07:42

oller53
Member
Registered: 2020-02-23
Posts: 5

Re: How to load VirtualBox in Q4OS?

Thanks for the reply,
in the synaptic package manager I saw that "libcurl3-gnutls", "libcurl3-nss" and "libcurl4" is already installed.
If I try to install "libcurl3" from the command line I get the answer:

"The libcurl3 package has no versions available, but is named by another package. This may indicate that the package is missing, obsolete or is available only from another source
However these packages replace it:
   libcurl4 "

As recommended by Q4osteam in the second post I also tried to add the Virtualbox repositories and then install from the command line but I receive the following answer:

E: Unable to set lock / var / lib / dpkg / lock-frontend - open (11: Resource temporarily unavailable)
E: Failed to acquire the lock on the dpkg frontend (/ var / lib / dpkg / lock-front end). Another trial could keep him busy.

how do you think I should proceed?

I remind you that my Q4os is 32bit

Offline

#9 2020-03-14 09:04

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: How to load VirtualBox in Q4OS?

oller53 wrote:

As recommended by Q4osteam in the second post I also tried to add the Virtualbox repositories and then install from the command line but I receive the following answer:

E: Unable to set lock / var / lib / dpkg / lock-frontend - open (11: Resource temporarily unavailable)
E: Failed to acquire the lock on the dpkg frontend (/ var / lib / dpkg / lock-front end). Another trial could keep him busy.

how do you think I should proceed?

I remind you that my Q4os is 32bit

This error has occurred because apt is busy doing something, maybe automatic upgrades are enabled on your system, try running the command again after some time has passed.

Offline

#10 2020-03-14 11:04

oller53
Member
Registered: 2020-02-23
Posts: 5

Re: How to load VirtualBox in Q4OS?

Thanks Dai_trying,
I tried to install again with
"sudo apt install virtualbox-6.0"
or
"sudo apt install virtualbox-5.2"
but I get:
Reading package list ... Done
Dependency tree generation
Reading status information ... Done
The virtualbox-6.0 package has no versions available, but is named by another package. This could indicate that the package is missing, obsolete or is only available from another source
E: The "virtualbox-6.0" package has no candidates to install

maybe you need to load some other repository?

Instead with the .deb package method the installation always stops with:
dependency is not satisfiable: libcurl3 (> = 7.16.2)
even if "libcurl3-gnutls", "libcurl3-nss" and "libcurl4" are installed.

At this point I believe that virtualbox on 32-bit Q4os cannot be installed !!!

Offline

#11 2020-03-14 16:59

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: How to load VirtualBox in Q4OS?

@oller53 What version of Q4OS are you using? (32/64bit)

EDIT: Sorry I had a brain fart!! I will install Q4OS in a VM and see if I can install VirtualBox in it and post back with the results.

Last edited by Dai_trying (2020-03-14 17:15)

Offline

#12 2020-03-14 18:17

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: How to load VirtualBox in Q4OS?

A little searching has led me to believe that VirtualBox 6.0 does not support 32 bit hosts, and so 5.2.38-136252 was the last version available to use. This can be downloaded and installed using the following:-

wget https://download.virtualbox.org/virtualbox/5.2.38/VirtualBox-5.2.38-136252-Linux_x86.run

(this is the 32 bit version for all Linux Distributions)

sudo apt install module-assistant bzip2
sudo m-a prepare
sudo sh VirtualBox-5.2.38-136252-Linux_x86.run

vrYnKSSm.png

Offline

#13 2020-03-14 18:43

oller53
Member
Registered: 2020-02-23
Posts: 5

Re: How to load VirtualBox in Q4OS?

SOLVED!!!!

Thanks Dai_trying you were very very great !!!!

Offline

#14 2020-03-14 18:58

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: How to load VirtualBox in Q4OS?

And you are very very welcome. big_smile

Offline

#15 2020-04-16 15:14

JimW
Member
Registered: 2015-12-08
Posts: 400

Re: How to load VirtualBox in Q4OS?

I tried following the Q4OS team instructions. Perhaps it is because I'm on a 64 bit computer, but had no luck.
after doing the "apt-key add" and "apt update", as instructed, with no apparent errors -

$ sudo apt install virtualbox-6.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package virtualbox-6.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'virtualbox-6.0' has no installation candidate

I would prefer the 64 bit virtualbox, so perhaps I'm trying for the wrong thing?
Any suggestions?

Offline

#16 2020-04-16 16:00

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,222
Website

Re: How to load VirtualBox in Q4OS?

You should try:
$ sudo apt install virtualbox-6.1

Offline

#17 2020-04-16 16:35

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,222
Website

Re: How to load VirtualBox in Q4OS?

@JimW
Please run:
$ qrepolist
$ sudo apt update
and post terminal output here

Offline

#18 2020-04-16 21:35

JimW
Member
Registered: 2015-12-08
Posts: 400

Re: How to load VirtualBox in Q4OS?

sudo apt install virtualbox-6.1

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package virtualbox-6.1
E: Couldn't find any package by glob 'virtualbox-6.1'
E: Couldn't find any package by regex 'virtualbox-6.1'

qrepolist wrote:

deb http://q4os.org/q4repo q4os-3-0-cn main
deb http://q4os.org/qtderepo buster main
deb http://ftp.debian.org/debian/ buster main contrib non-free
deb http://security.debian.org/debian-security/ buster/updates main contrib non-free
deb http://ftp.debian.org/debian/ buster-updates main contrib non-free
deb http://q4os.org/qextrepo buster-firefox-cn main
deb http://q4os.org/qextrepo buster-libreoffice-cn main

apt_update wrote:

Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:4 http://ftp.debian.org/debian buster InRelease
Hit:6 http://ftp.debian.org/debian buster-updates InRelease
Hit:1 https://q4os.org/q4repo q4os-3-0-cn InRelease
Hit:3 https://q4os.org/qtderepo buster InRelease
Hit:5 https://q4os.org/qextrepo buster-firefox-cn InRelease
Hit:7 https://q4os.org/qextrepo buster-libreoffice-cn InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.

Did the virtualbox repo not add? I didn't see any errors when I ran the add command.

Offline

#19 2020-04-16 21:51

JimW
Member
Registered: 2015-12-08
Posts: 400

Re: How to load VirtualBox in Q4OS?

Ok, I know better than to try to do something when I have a bad headache!

Going back through the setup I found that I had not created the "etc/apt/sources.list.d/virtualbox.list" file. After creating it and following the rest of the steps I was able to install VB6.1
Thanks for the help Q4OSteam!

Offline

#20 2020-04-18 01:29

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: How to load VirtualBox in Q4OS?

I installed it in Centaurus x64 by downloading VBox 6.1 which is for Debian 10 from VBox website, and from the terminal

sudo apt install ./*.deb

by doing so apt takes care of dependencies. I used the wild card because it was the only .deb file sitting in my home but if you have others should type the full name i.e

sudo apt install ./virtuabox_6.1_x64.deb

It installed with no issues whatsoever, the only extra I needed to do was to install a newer kernel. Just to add my 2 cents hoping it might be of help for others wanting to install VBox. smile

Offline

Board footer

Powered by FluxBB