{"id":10118,"date":"2021-08-19T23:09:26","date_gmt":"2021-08-19T20:09:26","guid":{"rendered":"https:\/\/kifarunix.com\/?p=10118"},"modified":"2024-03-18T18:51:43","modified_gmt":"2024-03-18T15:51:43","slug":"install-virtualbox-on-debian-11-desktop","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-virtualbox-on-debian-11-desktop\/","title":{"rendered":"Install VirtualBox on Debian 11 Desktop"},"content":{"rendered":"\n<p>In this tutorial, you will learn how to install VirtualBox on Debian 11 desktop version. <em><a href=\"https:\/\/www.virtualbox.org\/wiki\/VirtualBox\" target=\"_blank\" rel=\"noreferrer noopener\">VirtualBox<\/a> is a general-purpose full virtualizer for x86 hardware, targeted at server, desktop and embedded use<\/em>.<\/p>\n\n\n\n<p>Read about features offered by VirtualBox on <a href=\"https:\/\/www.virtualbox.org\/manual\/UserManual.html#features-overview\" target=\"_blank\" rel=\"noreferrer noopener\">Features page<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing VirtualBox on Debian 11 Desktop<\/h2>\n\n\n\n<p>VirtualBox 6.1 is the current stable release version of VirtualBox as of this writing.<\/p>\n\n\n\n<p>There are two ways to install VirtualBox:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"#use-deb-binary\">Install VirtualBox using Linux DEB Binary<\/a><\/li>\n\n\n\n<li><a href=\"#repos\">Install VirtualBox from VirtualBox repository<\/a><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"use-deb-binary\">Install VirtualBox on Debian 11 using Linux DEB Binary<\/h3>\n\n\n\n<p>Download the DEB binary from the <a href=\"https:\/\/www.virtualbox.org\/wiki\/Linux_Downloads\" target=\"_blank\" rel=\"noreferrer noopener\">VirtualBox downloads page<\/a>.<\/p>\n\n\n\n<p><strong>Please note that currently, there is no official DEB binary for Debian 11 bullseye, as of this writing.<\/strong> Hence, we use for Debian 10.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget https:\/\/download.virtualbox.org\/virtualbox\/6.1.26\/virtualbox-6.1_6.1.26-145957~Debian~buster_amd64.deb<\/code><\/pre>\n\n\n\n<p>Next, run the command below to install the required dependencies;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget http:\/\/ftp.br.debian.org\/debian\/pool\/main\/libv\/libvpx\/libvpx5_1.7.0-3+deb10u1_amd64.deb<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install .\/libvpx5_1.7.0-3+deb10u1_amd64.deb libsdl-ttf2.0-0 linux-image-$(uname -r)<\/code><\/pre>\n\n\n\n<p>Next, install VirtualBox on Debian 11;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install .\/virtualbox-6.1_6.1.26-145957~Debian~buster_amd64.deb<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"repos\">Install VirtualBox on Debian 11 from VirtualBox Repositories<\/h3>\n\n\n\n<p>The default Debian 11 repositories do not provide VirtualBox, at least as of this writing.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt-cache policy virtualbox<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>virtualbox:\n  Installed: (none)\n  Candidate: (none)\n  Version table:<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Add VirtualBox Repository<\/h4>\n\n\n\n<p>Also, as of this writing, no official repository for Debian 11 Bullseye. Hence, run the command below to add the sources list for Debian 10 Buster.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>echo \"deb [arch=amd64] https:\/\/download.virtualbox.org\/virtualbox\/debian buster contrib\" &gt; \/etc\/apt\/sources.list.d\/virtualbox.list<\/code><\/pre>\n\n\n\n<p>Next, install the repository GPG signing keys;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget -q https:\/\/www.virtualbox.org\/download\/oracle_vbox_2016.asc -O- | | sudo apt-key add -\nwget -q https:\/\/www.virtualbox.org\/download\/oracle_vbox.asc -O- | sudo apt-key add -<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Run system update<\/h4>\n\n\n\n<p>Ensure your package cache is up-to-date by running the command below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt update<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Install VirtualBox<\/h4>\n\n\n\n<p>VirtualBox 6.1 can then be installed by running the command below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget http:\/\/ftp.br.debian.org\/debian\/pool\/main\/libv\/libvpx\/libvpx5_1.7.0-3+deb10u1_amd64.deb<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install .\/libvpx5_1.7.0-3+deb10u1_amd64.deb libsdl-ttf2.0-0 linux-image-$(uname -r)<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install  virtualbox-6.1<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Running VirtualBox on Debian 11<\/h3>\n\n\n\n<p>You can now start using VirtualBox.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/launch-vbox.png\" class=\"td-modal-image\"><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"928\" height=\"516\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/launch-vbox.png\" alt=\"Install VirtualBox on Debian 11 Desktop\" class=\"wp-image-10120\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/launch-vbox.png?v=1629403133 928w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/launch-vbox-768x427.png?v=1629403133 768w\" sizes=\"(max-width: 928px) 100vw, 928px\" \/><\/figure><\/div><\/a><\/div>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/virtualbox-deb.png\" class=\"td-modal-image\"><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1354\" height=\"892\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/virtualbox-deb.png\" alt=\"Install VirtualBox on Debian 11 Desktop\" class=\"wp-image-10121\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/virtualbox-deb.png?v=1629403160 1354w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/virtualbox-deb-768x506.png?v=1629403160 768w\" sizes=\"(max-width: 1354px) 100vw, 1354px\" \/><\/figure><\/div><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Uninstall VirtualBox on Debian 11<\/h3>\n\n\n\n<p>If for some reasons you want to remove VirtualBox, run the command below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt remove --purge --auto-remove virtualbox-6.1<\/code><\/pre>\n\n\n\n<p>Please note that this wont delete your VMs.<\/p>\n\n\n\n<p>And that concludes our guide on how to install VirtualBox on Debian 11.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Other Tutorials<\/h3>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-virtualbox-guest-additions-on-debian-11\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install VirtualBox Guest Additions on Debian 11<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-debian-11-on-virtualbox\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Debian 11 on VirtualBox<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn how to install VirtualBox on Debian 11 desktop version. VirtualBox is a general-purpose full virtualizer for x86 hardware, targeted<\/p>\n","protected":false},"author":3,"featured_media":10122,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[36,121,46],"tags":[3958,3977,3976,3975,24],"class_list":["post-10118","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-virtualization","category-howtos","category-virtualbox","tag-debian-11","tag-debian-11-install-virtualbox","tag-install-virtualbox-6-1-on-debian-11","tag-install-virtualbox-on-debian-11","tag-virtualbox","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/10118"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=10118"}],"version-history":[{"count":4,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/10118\/revisions"}],"predecessor-version":[{"id":21692,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/10118\/revisions\/21692"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/10122"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=10118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=10118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=10118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}