Add the following line to your /etc/apt/sources.list:

deb vivid contrib

According to your distribution, replace 'vivid' by 'utopic', 'trusty', 'raring', 'quantal', 'precise', 'lucid', 'jessie', 'wheezy', or 'squeeze'.

(Up to version 3.2 the packages were located in the non-free section. Starting with version 4.0 they are located in the contrib section.)

The Oracle public key for apt-secure can be downloaded here. You can add this key with

sudo apt-key add oracle_vbox.asc

or combine downloading and registering:

wget -q -O- | sudo apt-key add -

The key fingerprint is

7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139
Oracle Corporation (VirtualBox archive signing key) <>

(As of VirtualBox 3.2, the signing key was changed. The old Sun public key for apt-secure can be downloaded here.)

To install VirtualBox, do

sudo apt-get update
sudo apt-get install virtualbox-5.0

Replace virtualbox-5.0 by

  • virtualbox-4.3 to install VirtualBox 4.3.30
  • virtualbox-4.2 to install VirtualBox 4.2.32

Note: Ubuntu/Debian users might want to install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade. For Debian it is available in Lenny backports and in the normal repository for Squeeze and later. The dkms package can be installed through the Synaptic Package manager or through the following command:

sudo apt-get install dkms

What to do when experiencing The following signatures were invalid: BADSIG ... when refreshing the packages from the repository?

# sudo -s -H
# apt-get clean
# rm /var/lib/apt/lists/*
# rm /var/lib/apt/lists/partial/*
# apt-get clean
# apt-get update

Debian-based Linux distributions install virtualbox More articles about

  1. Debian series Linux/Ubuntu Install the software

    wps( Good weather ( ...

  2. Debian/Ubuntu Linux Lower installation LLVM/Clang compiler

    First step , The first edit /etc/apt/sources.list, Add the following source : ( Be sure to execute after joining the source apt-get update, Suppose there is an error message , Do the second step first , then apt-get update) Debia ...

  3. 【LAMP】 stay Debian system linux Lower installation LAMP

    One . Install the basic build environment apt-get install build-essential Two . install MySQL apt-get install mysql-server 3、 ... and . install Apache apt-ge ...

  4. Linux Next use VirtualBox install Windows System

    ( The document is long , It's just detailed , The actual operation is relatively simple .) For some special reason , We can't leave it all behind Windows While using Linux.VirtualBox It's a virtual machine software , Support for multiple systems . stay Linux Lower installation Vir ...

  5. kali linux install virtualbox Virtual machine experience

    quite a lot kali Fans want to kali linux As a system , But some win Sometimes you need to use the program under , A virtual machine is needed at this point . kali The system will also encounter a lot of holes when installing virtual machines , The next step is my climbing process . striking one snag after another . Ring ...

  6. Debian Virtual machine installation VirtualBox Enhancements

    author : The dream of the wilderness Link to the original text : The Debian Is installed in VirtualBox Virtual machines in , The specific parameters are as follows : Debian edition :Linux de ...

  7. kali linux install virtualbox Report errors (rc=-1908)

    Solution steps : apt-get install dkms # How to install dkms Just skip this step apt-get install linux-headers-`uname -r` # The symbol is TAB The symbol above ...

  8. stay Linux Mint 19 / Linux Mint 18 Installation on VirtualBox 6.0 / 5.2

    If you can just sudo apt-get install virtualbox-6.0 Then it's all right Otherwise, refer to ...

  9. PJzhang:kali linux install virtualbox Virtual machine and chrome browser

    Cat Ning !!! Reference link : kali linux install virtualbox. Query the version of the system apt-cac ...

Random recommendation

  1. Windows Store App Globalization : Class library references

    The previous sections describe how to reference resources from your own project , And sometimes in the application development process may need to access resources in other projects . for example , When several or a dozen people work together to design a solution , Everyone's work is different , The projects written are also different , But every one of them ...

  2. java Parse the key format

    import; import org.bouncycastle.asn1.ASN1Sequence; import org.bouncycastle.asn1 ...

  3. linux The next disk is partitioned 、 File system creation 、 Mount and unload

    The reason for the task : because , The newly purchased server needs to mount the disk to the operating system , In order to mount the disk, first partition the disk , And then create the file system , Finally, mount the disk to a directory on the operating system . MBR(Master Boot Reco ...

  4. Java Learning folder

    Make a little progress every day , First, study a language, and then go further .

  5. 2017-2018-2 20155314《 Network countermeasure technology 》Exp7 Network fraud prevention

    2017-2018-2 20155314< Network countermeasure technology >Exp7 Network fraud prevention Catalog The goal of the experiment Experimental content Experimental environment Answer the basic question Preliminary knowledge The experimental steps 1 utilize setoolkit Set up a fake website ...

  6. 【Static Program Analysis - Chapter 2】 Control flow diagram of code representation

      (a) an if-then-else (b) a while loop (c) a natural loop with two exits, e.g. while with an ...

  7. Python3 tkinter Basics OptionMenu Click button , A radio drop-down list appears

       Python : 3.7.0    OS : Ubuntu 18.04.1 LTS   IDE : PyCharm 2018.2.4  Conda ...

  8. RHEL7 Install graphical desktop

    RHEL7 Install graphical desktop author :Eric WeChat :loveoracle11g When installing the system, select the default Minimal Install RHEL7 After the system is installed and started, it is found that there is no graphics Linux System ...

  9. box-shadow Border style

    as follows box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.1 ...

  10. [SPOJ-LCS]Longest Common Substring

    The main idea of the topic : For two strings of LCS. Ideas : Build... On one of the strings SAM, And then match it with another string , according to SAM Go straight down on the edge of , The number of consecutive characters matched is the length of the common string . #include<str ...