In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Linux system installation VirtualBox specific steps, I believe that many inexperienced people do not know what to do, so this paper summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
VirtualBox is an open source virtual machine software written in Qt. Claimed to be the strongest free virtual machine software, it not only has rich features, but also excellent performance! So how do you install VirtualBox on a Linux system?
Method 1: install VirtualBox from Ubuntu warehouse advantages: easy to install
Cons: older version
Perhaps the easiest way to download VirtualBox on Ubuntu is to find and download it from the software center.
VirtualBox is available at the Ubuntu Software Center.
You can also use this command to install from the command line:
Sudo apt install virtualbox however, if you check the package version before installation, you will see that the VirtualBox version provided by the Ubuntu repository is very old.
For example, at the time of writing this tutorial, the latest version of VirtualBox is 6.0, but it is available in the Software Center. This means you can't get the new features introduced in the latest version of VirtualBox.
Method 2: use the Deb file on the Oracle website to install VirtualBox advantages: easy to install, the latest version
Cons: cannot be updated
If you want to use the latest version of VirtualBox on Ubuntu, the easiest way is to use the Deb file.
Oracle provides out-of-the-box binaries for VirtiualBox versions. If you look at the download page, you will see the option to download the deb installer for Ubuntu and other distributions.
VirtualBox Linux Download
You just need to download the deb file and double-click it to install it. It's that simple.
Download virtualbox for Ubuntu
The problem with this approach, however, is that you can't automatically update to the latest VirtualBox version. The only way is to remove the existing version, download the latest version, and install it again. It's not very convenient, is it?
Method 3: install VirtualBox with Oracle warehouse advantage: automatic update
Cons: installation is slightly complex
Now we are going to introduce the command line installation method, which may seem complex, but it has more advantages over the first two methods. You will get the latest version of VirtualBox, and it will be automatically updated to a newer version in the future. I think that's what you want.
To install VirtualBox from the command line, add Oracle VirtualBox's repository to your warehouse list. Add a GPG key so that your system can trust this repository. Now, when you install VirtualBox, it is installed from the Oracle repository instead of the Ubuntu repository. If a new version is released, the local VirtualBox will be updated with it. Let's see how to do this:
First, add the key for the warehouse. You can download and add keys through this command:
Wget-Q https://www.virtualbox.org/download/oracle_vbox_2016.asc-O-| Note for sudo apt-key add-Mint users:
The next step applies only to Ubuntu. If you are using Linux Mint or another Ubuntu-based distribution, replace the $(lsb_release-cs) on the command line with the Ubuntu version on which your current version is based. For example, Linux Mint 19 series users should use bionic,Mint 18 series users should use xenial, like this:
Sudo add-apt-repository "deb [arch=amd64] * * bionic** contrib" `now adds the Oracle VirtualBox repository to the warehouse list with the following command:
Sudo add-apt-repository "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release-cs) contrib" if you have read my article to check the Ubuntu version, you probably know that lsb_release-cs will print the code of your Ubuntu system.
Note: if you see a "add-apt-repository command not found" error, you need to download the software-properties-common package.
Now that you have added the correct repository, please refresh the list of available packages and install VirtualBox through this repository:
Sudo apt update & & sudo apt install virtualbox-6.0 hint: a good way is to type sudo apt install virtualbox- and click the tab key to see the various versions of VirtualBox available for installation, and then select one of them with the complete command.
Install VirtualBox via terminal
How to remove VirtualBox from Ubuntu now that you have learned how to install VirtualBox, I would also like to mention to you the steps to remove it.
If you installed it from the software center, the easiest way to delete it is to start from the software center. You just need to find it in the list of installed applications and click the Delete button.
Another way is to use the command line:
Sudo apt remove virtualbox virtualbox-* Please note that this will not delete the virtual machines and files associated with the operating system you installed with VirtualBox. This is not a bad thing, because you may want them to be safe to use later or in other systems.
After reading the above, have you mastered the specific steps of installing VirtualBox on Linux system? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.