zoukankan      html  css  js  c++  java
  • 在Ubuntu 16.04下安装 virtualbox 5.2

     

     
     
    sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'
    
    wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
    
    sudo apt update
    
    sudo apt install virtualbox-5.2

    -----------------------------------------分割线----------------------------
    https://www.virtualbox.org/wiki/Linux_Downloads
    附录:

    Debian-based Linux distributions

    Add the following line to your /etc/apt/sources.list. According to your distribution, replace '<mydist>' with 'artful', 'zesty', 'yakkety', 'xenial', 'trusty', 'stretch', 'jessie', or 'wheezy' (older versions of VirtualBox supported different distributions):

    deb https://download.virtualbox.org/virtualbox/debian <mydist> contrib
    

    The Oracle public key for apt-secure can be downloaded

    • here for Debian 8 ("Jessie") / Ubuntu 16.04 ("Xenial") and later
    • here for older distributions.

    You can add these keys with

    sudo apt-key add oracle_vbox_2016.asc
    sudo apt-key add oracle_vbox.asc
    

    or combine downloading and registering:

    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 -
    

    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) <info@virtualbox.org>
    

    The key fingerprint for oracle_vbox.asc is

    7B0F AB3A 13B9 0743 5925  D9C9 5442 2A4B 98AB 5139
    Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>
    

    (As of VirtualBox 3.2, the signing key was changed. The old Sun public key for apt-secure can be downloaded  here.)

    To install VirtualBox, do

    sudo apt-get update
    sudo apt-get install virtualbox-5.2
    

    Replace virtualbox-5.2 by virtualbox-5.1 to install the latest VirtualBox 5.1 build.

    What to do when experiencing The following signatures were invalid: BADSIG ... when refreshing the packages from the repository?

    # sudo -s -H
    # apt-get clean
    # rm /var/lib/apt/lists/*
    # rm /var/lib/apt/lists/partial/*
    # apt-get clean
    # apt-get update
    


     
  • 相关阅读:
    windows下安装mysql-5.7.11-winx64
    memset库函数
    [转]全面解析《嵌入式程序员应该知道的16个问题》
    Cent OS 7 下 Redis 5.0.5 安装与配置
    SVN+TortoiseSVN的Windows版安装和配置
    工具和环境--目录(随时更新)
    Linux安装和配置Nodejs和NPM
    Windows10命令提示符窗口大小导致执行效率不同问题
    Windows安装Nodejs和npm以及创建项目
    WebStorm 2019.3.2安装与配置
  • 原文地址:https://www.cnblogs.com/leoking01/p/8707548.html
Copyright © 2011-2022 走看看