How to install virtualbox 7.0 to Ubuntu 22.04 LTS

  • Init apt key for verifying the signatures
curl -sL https://www.virtualbox.org/download/oracle_vbox_2016.asc | gpg --dearmor | sudo tee /usr/share/keyrings/oracle-virtualbox-2016.gpg >/dev/null

或者

wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --dearmor --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg
  • Add sources.list
sudo tee /etc/apt/sources.list.d/virtualbox.list <<-'EOF'
deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib
EOF
  • Update local apt index cache
sudo apt update
  • Install
sudo apt install virtualbox-7.0

Reference

  • Download VirtualBox for Linux Hosts

你可能感兴趣的:(Virtualization,Virtualbox,7.0,Virtualbox,Ubuntu,Ubuntu,22.04)