So what should I type Instead. As it stands I have a virtualbox.deb saved in root & nothing else.pylkko wrote:https://wiki.debian.org/SourcesList
This wiki explains what you should do.
Do not type "deb" into a terminal. That is not correct.
If you install Virtualbox from backports with apt, you don't have to manually install all the dependencies.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED] How can I install Virtual Box?
-
- Posts: 28
- Joined: 2017-05-07 15:55
Re: How can I install Virtual Box?
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: How can I install Virtual Box?
Yes, that line in the instructions is what you have to add to the text file /etc/apt/sources.list in order for the system to use the jessie-backports repository. This is a system file, so the text editor has to be run with system administrator rights. Since there are quite a few ways to do this, depending how you installed Debian and what desktop you are running, I would either want to know more about that, or resort to less beginner-friendly command-line options.
However, if you just want a universal terminal command that adds the repo in its own "jessie-backports.list" file in /etc/apt/sources.list.d, with the contrib and non-free packages also enabled, it's (as root or with sudo)
Then run as root or with sudo to refresh your package database.
However, if you just want a universal terminal command that adds the repo in its own "jessie-backports.list" file in /etc/apt/sources.list.d, with the contrib and non-free packages also enabled, it's (as root or with sudo)
Code: Select all
echo 'deb http://ftp.debian.org/debian jessie-backports main contrib non-free' > /etc/apt/sources.list.d/jessie-backports.list
Code: Select all
apt-get update
MX Linux packager and developer
-
- Posts: 28
- Joined: 2017-05-07 15:55
Re: How can I install Virtual Box?
Ran them both think It worked. Should I paste it ?stevepusser wrote:Yes, that line in the instructions is what you have to add to the text file /etc/apt/sources.list in order for the system to use the jessie-backports repository. This is a system file, so the text editor has to be run with system administrator rights. Since there are quite a few ways to do this, depending how you installed Debian and what desktop you are running, I would either want to know more about that, or resort to less beginner-friendly command-line options.
However, if you just want a universal terminal command that adds the repo in its own "jessie-backports.list" file in /etc/apt/sources.list.d, with the contrib and non-free packages also enabled, it's (as root or with sudo)
Then runCode: Select all
echo 'deb http://ftp.debian.org/debian jessie-backports main contrib non-free' > /etc/apt/sources.list.d/jessie-backports.list
as root or with sudo to refresh your package database.Code: Select all
apt-get update
Debian Jessie non-free 8.7.1 GNOME on Acer Aspire 4920G
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: How can I install Virtual Box?
Does this command now work, then?
Code: Select all
apt-get install virtualbox virtualbox-qt -t jessie-backports
MX Linux packager and developer
Re: How can I install Virtual Box?
Please actually first read the Wiki page.acer-manjaro wrote:So what should I type Instead. As it stands I have a virtualbox.deb saved in root & nothing else.pylkko wrote:https://wiki.debian.org/SourcesList
This wiki explains what you should do.
Do not type "deb" into a terminal. That is not correct.
If you install Virtualbox from backports with apt, you don't have to manually install all the dependencies.
Nobody want to try to rewrite it, especially since it is done better there than anyone here can do...
Reading the documentation and actually understanding what commands you give to your computer will help you in the future also.
-
- Posts: 28
- Joined: 2017-05-07 15:55
Re: How can I install Virtual Box?
stevepusser wrote:Does this command now work, then?
Code: Select all
apt-get install virtualbox virtualbox-qt -t jessie-backports
Results
Code: Select all
root@debian:/home/acer-manjaro# apt-get install virtualbox virtualbox-qt -t jessie-backports
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
virtualbox : Depends: virtualbox-dkms (>= 5.1.8-dfsg-6~bpo8+2) but it is not going to be installed or
virtualbox-source (>= 5.1.8-dfsg-6~bpo8+2) but it is not going to be installed or
virtualbox-modules
Depends: libgsoap5 but it is not going to be installed
Depends: libvncserver0 (>= 0.9.9) but it is not going to be installed
Recommends: libqt5core5a (>= 5.0.2) but it is not going to be installed
Recommends: libqt5opengl5 (>= 5.0.2) but it is not going to be installed
Recommends: libqt5widgets5 (>= 5.0.2) but it is not going to be installed
Conflicts: virtualbox-5.1 but 5.1.22-115126~Debian~jessie is to be installed
virtualbox-5.1 : Depends: libqt5core5a (>= 5.3.0) but it is not going to be installed
Depends: libqt5gui5 (>= 5.3.0) but it is not going to be installed
Depends: libqt5opengl5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5printsupport5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5widgets5 (>= 5.2.0) but it is not going to be installed
Depends: libqt5x11extras5 (>= 5.1.0) but it is not going to be installed
Recommends: libsdl-ttf2.0-0 but it is not going to be installed
Recommends: linux-image but it is not installable
Conflicts: virtualbox
virtualbox-qt : Depends: libqt5core5a (>= 5.3.0) but it is not going to be installed
Depends: libqt5gui5 (>= 5.3.0) but it is not going to be installed
Depends: libqt5opengl5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5printsupport5 (>= 5.0.2) but it is not going to be installed
Depends: libqt5widgets5 (>= 5.2.0) but it is not going to be installed
Depends: libqt5x11extras5 (>= 5.1.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Maybe I should uninstall all Virtual Box files first and then Install it again.
What do you reckon?
Re: How can I install Virtual Box?
Like I said, did you do as it suggested? Look at the error. It suggests to run:acer-manjaro wrote:stevepusser wrote:Does this command now work, then?
Code: Select all
apt-get install virtualbox virtualbox-qt -t jessie-backports
Results
And I think the Oracle Virtual Box in partially installed because a logo appears in the Application menu. But when I open It, It doesn't open.Code: Select all
root@debian:/home/acer-manjaro# apt-get install virtualbox virtualbox-qt -t jessie-backports ... You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: ...
Maybe I should uninstall all Virtual Box files first and then Install it again.
What do you reckon?
Code: Select all
apt-get -f install
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
-
- Posts: 28
- Joined: 2017-05-07 15:55
Re: How can I install Virtual Box?
Just to summarize, Which all should I run ? there a a lot.phenest wrote: Like I said, did you do as it suggested? Look at the error. It suggests to run:Code: Select all
apt-get -f install
Code:
dpkg -i virtualbox.deb
Code:
apt-get -f install
Are these enough ?
- eor2004
- Posts: 251
- Joined: 2013-10-01 22:49
- Location: Puerto Rico
- Has thanked: 4 times
- Been thanked: 5 times
Re: How can I install Virtual Box?
Hi, as an alternative way to install virtualbox (Oracle version) you can download the .deb file from virtualbox.org and install it using package "gdebi" from Debian repos.
Debian 12 Gnome on a MSI H61M-P25 (B3) PC & on a Dell Latitude E6410 & HP EliteBook 8540p Laptops.
LMDE 6 on a Panasonic ToughBook CF-C1 Laptop.
Bodhi Linux 7 on a HP Compaq DC5750 Small Form Factor PC.
Windows 11 on a Intel DH55TC PC.
LMDE 6 on a Panasonic ToughBook CF-C1 Laptop.
Bodhi Linux 7 on a HP Compaq DC5750 Small Form Factor PC.
Windows 11 on a Intel DH55TC PC.
Re: How can I install Virtual Box?
How is the OP going to install gdebi if they can't install virtualbox using apt-get?eor2004 wrote:and install it using package "gdebi" from Debian repos.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: How can I install Virtual Box?
Because gdebi is in the main Debian repository and doesn't conflict with anything else.
To clear things up, the OP first tried to install the deb directly downloaded from Oracle, but used dpkg -i, which ended up resulting in missing dependencies. To finish up on that path---all that needs to finish the install is the command "apt-get -f install"--or to use gdebi to install standalone deb files instead of "dpkg -i".
However, it wasn't clear to me that the OP had an incomplete Oracle install, and I suggested installing the fairly recent version from jessie-backports. The Oracle and Debian versions conflict, so the incomplete Oracle install clogged up the works.
So the OP must decide whether to go with the Oracle version and finish its install, or to remove it and go with the jessie-backports version. Both are good choices, IMO. Just be aware that the jessie-backports version will always be at 5.1.8 and not get any possible security updates. If that depresses people, I could update my virtualbox jessie-backports repo in the openSUSE Build Service to the latest in upstream Debian--just ask here.
To clear things up, the OP first tried to install the deb directly downloaded from Oracle, but used dpkg -i, which ended up resulting in missing dependencies. To finish up on that path---all that needs to finish the install is the command "apt-get -f install"--or to use gdebi to install standalone deb files instead of "dpkg -i".
However, it wasn't clear to me that the OP had an incomplete Oracle install, and I suggested installing the fairly recent version from jessie-backports. The Oracle and Debian versions conflict, so the incomplete Oracle install clogged up the works.
So the OP must decide whether to go with the Oracle version and finish its install, or to remove it and go with the jessie-backports version. Both are good choices, IMO. Just be aware that the jessie-backports version will always be at 5.1.8 and not get any possible security updates. If that depresses people, I could update my virtualbox jessie-backports repo in the openSUSE Build Service to the latest in upstream Debian--just ask here.
MX Linux packager and developer
Re: How can I install Virtual Box?
I think you misunderstood me Steve. If the OP is struggling with something as fundamental as this, there's not much hope for them installing anything else. And, to be honest, I'd rather teach something simpler, which so far has not advanced very much since the first post. The OP is trying to install software as one would in Windows. How many times have I installed a program in Windows just for it complain that a specific version of .Net is required but .Net needs to be downloaded separately. It would be nice if it grabbed it automatically, the same way it's done in a Linux distro packaging system.
Back to apt-get ...
Back to apt-get ...
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: How can I install Virtual Box?
Yup, I don't know if you have noticed, but we seem to have a few of these threads in the last couple days...ones where we have to spell out specifically how to get root or sudo, edit a simple text file, install a deb file or use a repo, and so on. It's difficult to know just how far down our basic instructions have to drop.phenest wrote:I think you misunderstood me Steve. If the OP is struggling with something as fundamental as this, there's not much hope for them installing anything else. And, to be honest, I'd rather teach something simpler, which so far has not advanced very much since the first post. The OP is trying to install software as one would in Windows. How many times have I installed a program in Windows just for it complain that a specific version of .Net is required but .Net needs to be downloaded separately. It would be nice if it grabbed it automatically, the same way it's done in a Linux distro packaging system.
Back to apt-get ...
MX Linux packager and developer
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: How can I install Virtual Box?
It seems some do not even know what a command line is, nor a terminal.It's difficult to know just how far down our basic instructions have to drop.
This is to confusing, but wouldn'tphenest wrote:How is the OP going to install gdebi if they can't install virtualbox using apt-get?eor2004 wrote:and install it using package "gdebi" from Debian repos.
Code: Select all
apt-get install gdebi
https://www.debian.org/doc/manuals/debi ... ls.en.html
==========
https://wiki.debian.org/DebianPackageManagement
The OP does not understand, or know how to install a package.
When they see this:
phenest wrote:
Like I said, did you do as it suggested? Look at the error. It suggests to run:
Code: Select all
apt-get -f install
The OP does not know to use logic, they need every little detail spelled out,acer-manjaro »Code:
apt-get -f install
Are these enough ?
No :
Code: Select all
apt-get -f install
Code: Select all
apt-get install -f virtualbox
or
Code: Select all
apt-get install gdebi
where it says "gedbi" or virtualbox, could be any package name,...but you must tell it the name of the package.
Read some documentation, read the manual:
Code: Select all
man apt-get
Code: Select all
man synaptic
Re: How can I install Virtual Box?
I don't know whether to continue being patient (by that I mean: putting a bandage on my head 'cos it's hit a wall so many times) and hope they "get it", or tell them they aren't suited to Debian (or Linux in general).stevepusser wrote:It's difficult to know just how far down our basic instructions have to drop.
@ acer-manjaro: Don't read anything into my comment to stevepusser. It's not personal. We're all willing to help, but you need to "get it".
Perhaps we to start by removing everything thus far related to VirtualBox, and start again.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
Re: How can I install Virtual Box?
You mean in the same way that:GarryRicketson wrote:This is to confusing, but wouldn'tinstall "gdebi' ?Code: Select all
apt-get install gdebi
Code: Select all
apt-get install virtualbox
You'd think wouldn't you. But let's start with VirtualBox as per thread title.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
-
- Posts: 28
- Joined: 2017-05-07 15:55
Re: [SOLVED] How can I install Virtual Box? [CLOSED]
Thanks to @GarryRicketson, @stevepusser, @phenest, @pylkko, @eor2004 and Moderators for your patients & supports
http://imgur.com/mmWjq97
conclusion
The issue was my lack of knowledge and understanding of Debian & Linux in general.
Thank You, All
http://imgur.com/mmWjq97
conclusion
The issue was my lack of knowledge and understanding of Debian & Linux in general.
Thank You, All
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: [SOLVED] How can I install Virtual Box?
Your welcome, and congratulations,....
It takes some time to learn about linux, and Debian, but the more you practice, and also
read, the easier it gets. However it is a never ending process, we all keep learning new
things.
It takes some time to learn about linux, and Debian, but the more you practice, and also
read, the easier it gets. However it is a never ending process, we all keep learning new
things.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: [SOLVED] How can I install Virtual Box?
I still remember thrashing around trying to get Broadcom wi-fi working on my first Linux install in 2006, so don't think you're alone. We all have to start somewhere.
Over on MX Linux, several of our developers have written a very nice, start from the basics user manual that's included with the ISO--so now we can bang our heads on the wall whenever a new user asks us a question that's answered on the first page of the manual.
Over on MX Linux, several of our developers have written a very nice, start from the basics user manual that's included with the ISO--so now we can bang our heads on the wall whenever a new user asks us a question that's answered on the first page of the manual.
MX Linux packager and developer
Re: [SOLVED] How can I install Virtual Box?
Yes, we've all been there. And once you "get it", you'll want to do more. It's almost infectious.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D