zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    C# 中的栈和堆
    C# 中的基本数值类型
    多个 .NET 框架
    简单介绍托管执行和 CLI
    C# 控制台输入和输出
    在 C# 中使用变量
    C# 语法基础
    LeetCode 1482. 制作 m 束花所需的最少天数
    C# 基础(更新中)
    圆形靶内的最大飞镖数量
  • 原文地址:https://www.cnblogs.com/doggod/p/11894921.html
Copyright © 2011-2022 走看看