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
    


     
  • 相关阅读:
    Android studio的基本使用
    Java web项目基本介绍
    关于缓存的问题
    tomcat的基本使用
    https的页面内嵌入http页面报错的问题
    RTTHREAD使用sscanf遇到的问题
    Supervisor安装与配置(Linux/Unix进程管理工具)
    MYSQL 检查表的元数据是否有异常
    多表select count语句生成 带格式化
    MYSQL压缩表测试
  • 原文地址:https://www.cnblogs.com/leoking01/p/8707548.html
Copyright © 2011-2022 走看看