Virtualbox linux ubuntu обновить

Установка / обновление Virtualbox 6.0 в Ubuntu

VirtualBox (Oracle VM VirtualBox) — программный продукт виртуализации для операционных систем Microsoft Windows, Linux, FreeBSD[5], macOS, Solaris/OpenSolaris, ReactOS, DOS и других[6].
Программа была создана компанией Innotek с использованием исходного кода Qemu. Первая публично доступная версия VirtualBox появилась 15 января 2007 года. В феврале 2008 года Innotek был приобретён компанией Sun Microsystems, модель распространения VirtualBox при этом не изменилась. В январе 2010 года Sun Microsystems была поглощена корпорацией Oracle, модель распространения осталась прежней.

user@localhost~:$ sudo sh -c 'echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

Для Linux Mint $(lsb_release -sc) заменить на bionic в ОС Mint 19.x, или на xenial в ОС Mint 18.x.
Для Elementary 5.0 $(lsb_release -sc) заменить на bionic. Скачиваем и устанавливаем ключ для репозитория virtualbox

user@localhost~:$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

Selectel — ведущий провайдер облачной инфраструктуры и услуг дата-центров

Компания занимает лидирующие позиции на рынке на рынке выделенных серверов и приватных облаков, и входит в топ-3 крупнейших операторов дата-центров в России.

Источник

Upgrade VirtualBox 6.x to VirtualBox 7.x on Ubuntu/Debian

In this tutorial, you will learn how to upgrade VirtualBox 6.x to VirtualBox 7.x on Ubuntu/Debian. VirtualBox 7.0.0 was officially released on October 10 2022. This is a major update with numerous updates and fixes. Read more about them on the Changelog. VirtualBox 6.x will still be supported until December 2023.

Читайте также:  Linux ubuntu поменять пароль пользователя

Table of Contents

Upgrade VirtualBox 6.x to VirtualBox 7.x on Ubuntu/Debian

Check Current VirtualBox Version

First confirm your current version of VirtualBox either via GUI or command line;

Or from VirtualBox manager GUI > help > About VirtualBox…

upgrade VirtualBox 6.x to VirtualBox 7.x on Ubuntu/Debian

So, how can you upgrade VirtualBox 6.x to VirtualBox 7.x on Ubuntu/Debian?

Uninstall Previous Versions of VirtualBox

Before you can proceed to upgrade VirtualBox 6.x to VirtualBox 7.x on Ubuntu/Debian, you need to uninstall the current version.

vboxmanage list runningvms | sed -r 's/.*\<(.*)\>/\1/' | \ xargs -L1 -I <> VBoxManage controlvm <> poweroff

Quit VirtualBox manager by pressing Ctrl+q on VirtualBox manager.

Next, remove VirtualBox Extension Package if installed;

sudo vboxmanage extpack uninstall "Oracle VM VirtualBox Extension Pack"

Then, uninstall virtualbox;

sudo apt remove --purge --auto-remove virtualbox virtualbox-6.1

Note that this wont remove the VirtualBox virtual machines on your host system.

Once the package removal is done, reboot the system;

Upgrade VirtualBox 6.x to VirtualBox 7.x on Ubuntu/Debian

Once the system boots, proceed!

Next, install VirtualBox repository on your Ubuntu or Debian system if not already in place;

echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | \ sudo tee /etc/apt/sources.list.d/virtualbox.list

Install VirtualBox repository signing key;

wget -qO- https://www.virtualbox.org/download/oracle_vbox_2016.asc | \ sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/virtualbox.gpg

Run system package cache update;

Install VirtualBox 7.x (VirtualBox 7.0 as of this writing is available) using the package manager.

sudo apt install virtualbox-7.0

Install VirtualBox Extension Pack for VirtualBox 7

Download VirtualBox 7.x extension pack and install;

wget -P /tmp https://download.virtualbox.org/virtualbox/7.0.2/Oracle_VM_VirtualBox_Extension_Pack-7.0.2.vbox-extpack
sudo vboxmanage extpack install --replace /tmp/Oracle_VM_VirtualBox_Extension_Pack-7.0.2.vbox-extpack

Launch VirtualBox 7.x on Ubuntu/Debian

You can now launch VirtualBox 7.x;

Similarly, launch VirtualBox manager and navigate to the Help > About VirtualBox to check the version.

Upgrade VirtualBox 6.x to VirtualBox 7.x on Ubuntu/Debian

And that is how easy it is to upgrade VirtualBox 6.x to VirtualBox 7.x on Ubuntu/Debian.

That closes our guide on how to upgrade VirtualBox 6.x to VirtualBox 7.x on Ubuntu/Debian.

More Tutorials

SUPPORT US VIA A VIRTUAL CUP OF COFFEE

We’re passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!

Источник

How to install or upgrade VirtualBox on Ubuntu or Debian

VirtualBox is a cross-platform virtualization software package for x86 architecture. A nice thing about VirtualBox is that it has several quite useful features, not available on other similar software such as VMware Player, which include: virtual machine snapshots. disk image conversion and support (e.g., VMware’s VMDK, Microsoft’s VHD, Apple’s DMG), guest machine cloning, etc.

Install VirtualBox on Ubuntu or Debian

First, use the following command to add the official repository of VirtualBox to your Linux system. This command will automatically determine the release version of your Ubuntu or Debian, and update /etc/apt/sources.list file accordingly.

$ sudo sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list"

Next, add the GPG key of this repository:

For Debian 8 and Ubuntu 16.04 or later:

$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

Now, check what version of VirtualBox is available in the repository:

Finally, go ahead and install the latest VirtualBox, which is version 6.0 in this example.

$ sudo apt install virtualbox-6.0

Upgrade VirtualBox on Ubuntu or Debian

If you want to upgrade current VirtualBox (e.g., version 6.0), go to File → » Check for Updates » on VirtualBox GUI menu. For older versions of VirtualBox, you may find it under Help → » Check for Updates «.

If there is any new version of VirtualBox available (e.g., version 6.1), you will see the following pop-up window. This window can also pop up automatically when launching VirtualBox any time.

The easiest way to upgrade VirtualBox is to use the default package manager apt . Installing a newer version of VirtualBox with apt will automatically remove the old version of VirtualBox.

$ sudo apt install virtualbox-6.1

Upgrade VirtualBox Extension Pack

When you restart VirtualBox after upgrade, you may be asked to upgrade VirtualBox Extension Pack as well. Click on «Download» to proceed.

Download the latest VirtualBox Extension Pack.

Install the latest VirtualBox Extension Pack.

When prompted, go ahead and upgrade VirtualBox Extension Pack.

Support Xmodulo

This website is made possible by minimal ads and your gracious donation via PayPal or credit card

Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.

Источник

Оцените статью
Adblock
detector