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
  • 相关阅读:
    Centos7-两台Centos机器间复制文件
    Centos7-卸载自带的jdk 安装jdk8
    java网络编程_IP地址
    多线程下单例模式的实现_ThreadLocal_ReentrantLock
    线程定时调度
    线程通信
    线程同步学习一
    java线程学习2
    java线程学习1
    工单系统的设计与实现(3)
  • 原文地址:https://www.cnblogs.com/doggod/p/11894921.html
Copyright © 2011-2022 走看看