deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian contrib Add the following line to your /etc/apt/sources.list. For Debian 11 and older, replace '' with 'bullseye', 'buster', or 'stretch'. For Ubuntu 22.04 and older, 'replace '' with 'jammy', 'eoan', 'bionic', 'xenial', deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian contrib The Oracle public key for verifying the signatures can be downloaded here. You can add these keys with sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor oracle_vbox_2016.asc or combine downloading and registering: wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor The key fingerprint for oracle_vbox_2016.asc is B9F8 D658 297A F3EF C18D 5CDF A2F6 83C5 2980 AECF Oracle Corporation (VirtualBox archive signing key) To install VirtualBox, do sudo apt-get update sudo apt-get install virtualbox-7.1