HACKING: More detailed instructions for VirtualBox

Add more detailed instructions for installing VirtualBox manually on
Debian and its derivatives.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalapati 2020-05-01 17:50:49 +05:30 committed by Sunil Mohan Adapa
parent c69c5f8317
commit 6fa752b7c5
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -15,14 +15,39 @@ can install latest versions of Git, Vagrant and VirtualBox.
$ sudo apt install git virtualbox vagrant
```
For some distro you might need to add Oracle's VirtualBox source
(https://download.virtualbox.org/virtualbox/debian) to apt's sources list
(typically in /etc/apt/sources.list file) and its key:
#### Installing VirtualBox manually
1. Add Oracle's key to apt's list of accepted keys.
```bash
$ sudo wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
```
2. Create a file under /etc/apt/sources.list.d/ for virtualbox package.
```bash
$ sudo touch /etc/apt/sources.list.d/virtualbox.list
```
3. Add the relevant source for your Debian/derivative distribution into the above file.
Example for Buster:
```
deb https://download.virtualbox.org/virtualbox/debian buster contrib
```
4. Search and install the latest virtualbox package.
```bash
$ apt search virtualbox
# virtualbox-6.1
# virtualbox-6.0
$ sudo apt install virtualbox-6.1
```
### For Other GNU/Linux Distributions or *BSDs
1. Install Git, Vagrant and VirtualBox using your favourite package manager.