• ubuntu18.04安装wine


    wine是一个兼容层,可以从多平台(linux,macos,等)运行windows应用。

    Wine (Wine Is Not an Emulator)[即Wine不是一个模拟器]是一个在Linux和UNIX之上的,Windows APIs的实现。注意,Wine不是Windows模拟器,而是运用API转换技术实做出Linux对应到Windows相对应的函数来调用DLL以运行Windows程序。

    1.安装wine

    第一步:wine是基于32位架构的,现在计算机基本上都是64位,因此需要启用32位架构,如果计算机是32位的则忽略此步。
    sudo dpkg --add-architecture i386
    第二步:添加软件源。
    wget -nc https://dl.winehq.org/wine-builds/Release.key
    sudo apt-key add Release.key
    sudo apt-key adv --recv-keys --keyserver keyserver.Ubuntu.com F987672F
    sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ 
    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
    第三步:更新软件包。
    sudo apt-get update
    第四步:选择一个wine发行包安装。
    版本                 安装命令
    Stable branch           sudo apt-get install --install-recommends winehq-stable
    Development branch      sudo apt-get install --install-recommends winehq-devel
    Staging branch          sudo apt-get install --install-recommends winehq-staging

    检查wine是否安装好可以执行:

    wine --version     #如果出现wine的版本则说明安装成功
    本文转载自:niffler
  • 相关阅读:
    SQL-server 学习笔记(三):实战建库建表,插入数据
    SQL-server 学习笔记(二):约束
    SQL-server 学习笔记(一):数据库创建
    操作系统——第五章
    操作系统——第四章
    操作系统——第三章
    操作系统——第二章 (二)
    Python之路,Day7
    Day6
    Day5
  • 原文地址:https://www.cnblogs.com/doggod/p/11894921.html
Copyright © 2020-2023  润新知