在ubuntu18.04上安装virtualbox5.2(代码片段)

wonder4 wonder4     2022-12-07     297

关键词:

Install the Latest VirtualBox on Ubuntu 18.04 LTS

!robot | 01/01/2018 | Applications, Labs, Linux Ubuntu | 6 Comments

Since Ubuntu 18.04 LTS was released, I have been testing it in my lab environment using VMware Workstation Pro… this steps below is how I got the latest version of VirtualBox installed on Ubuntu 18.04 LTS…

VirtualBox gets new updates very frequently on Windows and Linux systems… if you want to consistently get these updates when they become available, you’ll want to add VirtualBox repository to your systems… doing that will make all future updates available to your systems immediately…

For those who don’t know what VirtualBox is, it’s a cross-platform virtualization software that allows you to run guest operating system inside a windows of the host computer. The guest machine can Windows, Linux or Mac operating systems.

This brief tutorial shows students and new users how to add VirtualBox repository to Ubuntu to always get the latest releases when they become available..

To get started with adding VirtualBox’s repository to Ubuntu systems, follow the steps below:

Step 1: Add VirtualBox Repository Key

To install VirtualBox repositories, you must first add the repository key… the key allows Ubuntu to authenticate and validate that all packages downloaded from the repository are trusted and signed with the repository key… this adds a layer of security

To add the repository key, run the commands below:

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 -

Step 2: Add VirtualBox Repository

Now that the repository key is added to Ubuntu system, run the commands below to add the Repository

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

After that, run the commands below to update Ubuntu repositories..

Step 3: Installing VirtualBox

At this point, the Ubuntu system should be ready to install the latest version of VirtualBox…

First you may want to remove older versions of the software if you’re still running it… to do that, run the commands below:

sudo apt remove virtualbox virtualbox-5.1

Next, run the commands below to install some requirement packages for VirtualBox

sudo apt update
sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms

Finally, run the commands below to install the latest version of the software.

sudo apt update
sudo apt-get install virtualbox-5.2

You should have the latest version of VirtualBox installed after running the above commands… Now go to search for the package and launch it.

Enjoy!

如何在虚拟机Ubuntu 18.04上安装catkin

...catkin#Installing_catkin有人可以帮我解决这个问题吗?我使用virtualbox来运行Ubuntu18.04。柳絮可 查看详情

virtualbox成功安装ubuntu18.04设置共享文件夹总结(代码片段)

...经验,希望以后别在这上面折腾了。发现有更好用的VirtualBox还免费干嘛不用。我的版本是VirtualBox6.1,直接在 查看详情

在 Ubuntu 18.04 VM (VirtualBox) 上运行的 Shiny Server 应用程序存在 OpenStreetMaps 问题(Java 错误)

】在Ubuntu18.04VM(VirtualBox)上运行的ShinyServer应用程序存在OpenStreetMaps问题(Java错误)【英文标题】:ShinyServerappRunningonUbuntu18.04VM(VirtualBox)havingissueswithOpenStreetMaps(Javaerror)【发布时间】:2020-06-2214:23:02【问题描述】:我是ShinyServer的... 查看详情

无法在 Ubuntu 18.04(Virtual Box)上初始化 Kubernetes 集群

】无法在Ubuntu18.04(VirtualBox)上初始化Kubernetes集群【英文标题】:CannotinitializeKubernetesclusteronUbuntu18.04(VirtualBox)【发布时间】:2021-02-1116:00:04【问题描述】:我很难在Virtualbox上使用Ubuntu初始化一个简单的Kubernetes集群。我按照官... 查看详情

在 Ubuntu 18.04 上安装 RVM 时出错

】在Ubuntu18.04上安装RVM时出错【英文标题】:ErrorwhileinstallingRVMonUbuntu18.04【发布时间】:2018-12-2723:54:54【问题描述】:我尝试在新版本的Ubuntu18.04上安装RVM。但是我收到以下错误:"Errorrunning\'requirements_debian_libs_installgawkg++gccautoconf... 查看详情

我无法在 ubuntu 18.04 上安装 mysql

】我无法在ubuntu18.04上安装mysql【英文标题】:Icannotinstallmysqlonubuntu18.04【发布时间】:2020-06-0717:04:45【问题描述】:我正在尝试在我的ubuntu18.04上安装mysql-server,但出现dpkg错误sudoapt-getinstallmysql-server之后的终端输出是正在读取包... 查看详情

在 ubuntu 18.04 上安装 opencv 2.4.9

】在ubuntu18.04上安装opencv2.4.9【英文标题】:installingopencv2.4.9onubuntu18.04【发布时间】:2018-06-0310:58:07【问题描述】:我在我的电脑上安装了ubuntu18.04,并且我设法安装了最新版本的opencv。不过,我需要在我的电脑上运行旧版本的op... 查看详情

在ubuntu18.04系统上安装最新的adobeflashplayer

在本文中,我们将介绍在Ubuntu18.04桌面版系统上安装最新版AdobeFlashPlayer。请按照以下步骤在Ubuntu18.04系统上安装AdobeFlashPlayer。 AdobeFlashPlayer介绍AdobeFlashPlayer是一种轻量级插件,适用于在AdobeFlash网站和平台上传输视频,音频和... 查看详情

shwkhtmltopdf安装在ubuntu18.04上(代码片段)

查看详情

在 Ubuntu 18.04 上安装 nodemon 时出错

】在Ubuntu18.04上安装nodemon时出错【英文标题】:errorwheninstallingnodemononUbuntu18.04【发布时间】:2018-12-1907:44:39【问题描述】:当我用安装nodemonsudonpmi--save-devnodemon我收到以下错误消息:npmERR!path/home/dominikpatera/Dropbox/Projekty/Fytwa/server/... 查看详情

在 Ubuntu 18.04 LTS 上安装 wordpress

】在Ubuntu18.04LTS上安装wordpress【英文标题】:InstallwordpressonUbuntu18.04LTS【发布时间】:2019-05-0907:45:56【问题描述】:我正在尝试,但遇到了问题。我正在一步一步做每一件事。我安装了这些东西,我也检查了状态:Apache(状态为... 查看详情

如何在 Ubuntu 18.04 上安装最新的 openjdk 12

】如何在Ubuntu18.04上安装最新的openjdk12【英文标题】:Howtoinstallthelatestopenjdk12onUbuntu18.04【发布时间】:2019-09-2102:10:43【问题描述】:我已经通过发出命令安装了默认jdk:apt-getinstalldefault-jdk这将安装openjdk11并且apt-get似乎将文件安... 查看详情

sh在ubuntu18.04上安装golang(代码片段)

查看详情

sh在ubuntu18.04上安装nginx(代码片段)

查看详情

无法在 Ubuntu 18.04 上安装 Azure-cognitiveservices-speech

】无法在Ubuntu18.04上安装Azure-cognitiveservices-speech【英文标题】:cannotinstallAzure-cognitiveservices-speechonUbuntu18.04【发布时间】:2020-08-1022:06:49【问题描述】:晚上好。我尝试在UbuntuMate18.04上安装Azure-cognitiveservices-speech,但收到错误:... 查看详情

尝试在 Xampp (ubuntu 18.04) 上安装备份时无法登录到 wordpress 管理区域

】尝试在Xampp(ubuntu18.04)上安装备份时无法登录到wordpress管理区域【英文标题】:Unabeltologintowordpress\'sadminareawhentriedtoinstallthebackuponXampp(ubuntu18.04)【发布时间】:2020-02-1606:33:06【问题描述】:我最近在使用WordPress构建的网站时遇到... 查看详情

无法在 WSL Ubuntu 18.04 上安装 R Shiny Server

】无法在WSLUbuntu18.04上安装RShinyServer【英文标题】:CannotinstallRShinyServeronWSLUbuntu18.04【发布时间】:2020-01-0205:30:27【问题描述】:我无法在我的WSLUbuntu18.04LTS上安装Shiny服务器运行此行后出现错误:wgethttps://download3.rstudio.org/ubuntu-14... 查看详情

尝试在 Ubuntu 18.04 上安装 CUDA 9.2

】尝试在Ubuntu18.04上安装CUDA9.2【英文标题】:TryingtoinstallCUDA9.2onUbuntu18.04【发布时间】:2019-01-1805:49:27【问题描述】:我正在,遵循this网站:我已经下载了NVIDIACUDAToolkit(shell脚本cuda_9.2.88_396.26_linux),但是当我运行它时($sudoshc... 查看详情