Ubuntu – How to install virtualbox on ubuntu 14.04

14.04virtualboxwine

using Ubuntu 14.04

  1. I download the Ubuntu version from this link:

    https://virtualbox.org/wiki/Linux_Downloads

    Ubuntu 13.04/13.10/14.04 (64bit)

    http://download.virtualbox.org/virtualbox/4.3.18/virtualbox-4.3_4.3.18-96516~Ubuntu~raring_amd64.deb

  2. installed with terminal like explained here

    wget -q https:// virtualbox .org/download/oracle_vbox.asc -O- | sudo apt-key add -
    

cause it doesn't run I try new way

  1. I download the windows version:

    https://virtualbox.org/wiki/Downloads
    http://download.virtualbox.org/virtualbox/4.3.18/VirtualBox-4.3.18-96516-Win.exe

  2. install it by using "Wine"

    Error window: SUPR3HardenedMain Effective UID is not root (euid=1000
    egid=1000 uid=1000 gid=1000) (rc=-10) Please try reinstalling
    VirtualBox.

Any other idea or way to do it? cant find why is not working!

Best Answer

Virtualbox is available from the Ubuntu repository. You can install it from the Ubuntu Software Center or using the terminal by running sudo apt-get install virtualbox

If you need the Oracle maintained VirtualBox run this in the Terminal:

sudo sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian 
'$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list" && 
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-
key add - && sudo apt-get update && sudo apt-get install virtualbox-4.3 dkms