Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Install VirtualBox on ubuntu

$ sudo apt install virtualbox
Comment

install virtualbox on ubuntu

# for your eyes only

# install virtutal box
sudo apt update
sudo apt install virtualbox

# install virtual box extension pack
sudo apt update
sudo apt install virtualbox-ext-pack
Comment

virtualbox ubuntu

yum install VirtualBox-6.1
Comment

install virtualbox ubuntu

sudo nano /etc/apt/sources.list.d/virtualbox.list
and change:

this:
deb https://download.virtualbox.org/virtualbox/debian bionic contrib
to:
deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib

#Or open terminal an execute the following command:
echo "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list


#Or run this bash script to install virtualbox and its dependencies from Oracle repository (tested in Ubuntu 18.04/20.04/22.04-unconfirmed):
sudo chmod +x VboxInstall.sh && sudo ./VboxInstall.sh

#!/bin/bash
# Oracle Repository
# Download and install .asc
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | gpg --dearmor | tee /usr/share/keyrings/virtualbox.gpg &> /dev/null
# add repo
echo deb [arch=amd64 signed-by=/usr/share/keyrings/virtualbox.gpg] http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib | tee /etc/apt/sources.list.d/virtualbox.list/virtualbox.list
apt update
# install vbox
apt -y install linux-headers-$(uname -r) build-essential gcc make perl dkms bridge-utils
apt -y install virtualbox-6.1
dpkg --configure -a && apt-get -f -y install
# install Extension Pack
export VBOX_VER=`VBoxManage --version | awk -Fr '{print $1}'`
wget -c http://download.virtualbox.org/virtualbox/$VBOX_VER/Oracle_VM_VirtualBox_Extension_Pack-$VBOX_VER.vbox-extpack
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-$VBOX_VER.vbox-extpack
# configure
usermod -a -G vboxusers $USER
update-grub
/sbin/vboxconfig
echo "Done. Reboot"
# check service after reboot
systemctl status vboxdrv
Comment

PREVIOUS NEXT
Code Example
Shell :: how to push cloned repo 
Shell :: install ansible 
Shell :: docker image is not reseting 
Shell :: PowerShell script block 
Shell :: mac redis cli 
Shell :: git config log 
Shell :: sed delete line match 
Shell :: delete all lines in vi 
Shell :: powershell global variable 
Shell :: install dpkg vscode 
Shell :: docker no pg_hba.conf entry for host SSL off 
Shell :: delete a folder then git push 
Shell :: installing flutter_native_splash 
Shell :: bash read value 
Shell :: docker compose volumes 
Shell :: failed to start high performance web server and reverse proxy 
Shell :: get until last match 
Shell :: trash linux command 
Shell :: git clone password authentication failed 
Shell :: git pull new branch from remote 
Shell :: Generate Key Hashes For Facebook login Android app 
Shell :: git modify repository remote url 
Shell :: small size centos7 gui 
Shell :: c# check if word is installed 
Shell :: how to add a file in git 
Shell :: gchange default from dash to bash 
Shell :: ERROR: Repository not found. fatal: Konnte nicht vom Remote-Repository lesen. Bitte stellen Sie sicher, dass die korrekten Zugriffsberechtigungen bestehen und das Repository existiert. 
Shell :: convert excel to csv command line linux 
Shell :: Unable to start terminal in ubuntu 
Shell :: logger command to remote syslog 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =