ubuntu18.10下面升级wine_ubuntu wine 更新-程序员宅基地

技术标签: wine  

Wine, a free compatibility layer to run Windows applications on Linux, released 4.0 stable recently. Here’s how to install it in Ubuntu 18.04, Ubuntu 16.04, Ubuntu 14.04, Linux Mint 18.x and 19.

Wine 4.0 is a big release that features:

  • Vulkan support.
  • Direct3D 12 support.
  • Game controllers support.
  • High-DPI support on Android.
  • See announcement for more.

The official wine repository offers Ubuntu packages for all current Ubuntu releases, so you can easily install it via following steps:

1. Open terminal from application menu, then run command to enable 32 bit architecture:

sudo dpkg --add-architecture i386

Type user password (no visual feedback) when it prompts and hit Enter.

2. Run command to download and add the repository key:

wget -nc https://dl.winehq.org/wine-builds/winehq.key

sudo apt-key add winehq.key

wine-key

3. For Ubuntu 18.04, Linux Mint 19.x, run command to add the repository:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'

For other releases, replace bionic in the code with:

  • cosmic for Ubuntu 18.10.
  • xenial for Ubuntu 16.04, and Linux Mint 18.x.
  • trusty for Ubuntu 14.04.

wine-repo

4. Finally check system package cache and install Wine 4.0:

sudo apt-get update

sudo apt-get install --install-recommends winehq-stable

For Ubuntu 18.04 and higher, you can skip apt-get update as it’s done after adding PPA.

install-wine-stable

How to Use Wine in Ubuntu:

Once installed, you need to generate configuration file by running command:

winecfg

It prompts you to install some libraries and finally launches the configuration dialog.

wine-config

To run a .exe file, right-click on file, select “Open with Other Application”, and choose “Wine Windows Program Loader”.

open-exe-via-wine

Uninstall:

To remove Wine repository, go to Software & Updates -> Other Software, highlight the repository line and remove it.

remove-wine-repo

To remove wine, run command in terminal:

sudo apt-get remove --autoremove wine-stable winehq-stable

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/appleyuchi/article/details/99881897

智能推荐

SAP中AUTHORITY-CHECK 的使用-程序员宅基地

文章浏览阅读1.7w次,点赞2次,收藏13次。<v:shapetypeid="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:shape id="_x0000_i102

python执行cmd命令并解析结果_基于Python执行dos命令并获取输出的结果-程序员宅基地

文章浏览阅读532次。{"moduleinfo":{"card_count":[{"count_phone":1,"count":1}],"search_count":[{"count_phone":4,"count":4}]},"card":[{"des":"阿里技术人对外发布原创技术内容的最大平台;社区覆盖了云计算、大数据、人工智能、IoT、云原生、数据库、微服务、安全、开发与运维9大技术领域。","link1":..._python 执行cmd命令 的输出

rabbitmq-消息追踪rabbitmq_tracing_rabbitmq rabbitmq_tracing-程序员宅基地

文章浏览阅读456次。【README】消息中心的消息追踪需要使用 Trace 实现,Trace是 rabbitmq用于记录每一次发送的消息;方便开发者调试,排错。可通过插件形式提供可视化界面。【1】 开启消息追踪1)消息追踪通过 rabbitmq的插件 trace 来实现, 插件需要启用和打开;2)trace 启动后会自动创建系统 Exchange, amq. rabbitmq.trace, 每个队列会自动该绑定该exchange,绑定后发送到队列的消息都会发送到 trace 日志;3)插件命令序号 _rabbitmq rabbitmq_tracing

TensorFlow2利用Fashion_mnist数据集实现神经网络图像分类任务_difussion model mnist-程序员宅基地

文章浏览阅读2k次,点赞3次,收藏25次。1. 导入所需的库import tensorflow as tfimport numpy as npimport matplotlib.pyplot as pltfor i in [tf, np]: print(i.__name__,": ",i.__version__,sep="")输出:tensorflow: 2.2.0numpy: 1.17.42. 导入Fashion_MNIST数据集fashion_mnist = tf.keras.datasets.fas_difussion model mnist

【板栗糖GIS】WPS—怎么压缩ppt文件使文件变小_wps ppt压缩-程序员宅基地

文章浏览阅读693次。点击ppt中的某一张图片,上边工具栏会出现压缩图片的选项。_wps ppt压缩

html中video自动循环,HTML5视频自动循环播放方法-程序员宅基地

文章浏览阅读9.4k次。如果需要在网页中添加视频,可以参考下面的代码,支持MP4视频自动循环播放。纯HTML5视频自动循环播放HTML>不过火狐浏览器貌似默认禁止自动播放音频视频,需要到选项 → 隐私与安全 → 自动播放,设置允许音频和视频。如果不设置就可以自动播放,可以使用代码二。配合JS自动循环播放html>HTML5视频自动循环播放window.onload=function(){varloca..._video html播放快结束的时候一直循环最后几秒

随便推点

kaldi做语音识别_利用 kaldi 进行语音识别-程序员宅基地

文章浏览阅读1k次,点赞27次,收藏16次。kaldi是一个开源的语音识别工具箱,是基于c++、perl、shell编写的,可以在windows和unix 平台上编译。教程网页:http://www.kaldi-asr.org/doc/ 里面可以查阅语音/说话人识别实现过程、kaldi的数据结构、命令的使用说明等。还有网上的dan的ppt。kaldi下载:https://_利用 kaldi 进行语音识别

MATLAB 查找互素(质)对_matlab 随机生成互质数-程序员宅基地

文章浏览阅读2k次。互素定义互素也称互质,是指公约数只有1的两个数,如2和3、2和5、3和5等等。matlab函数简单介绍factor(n):对一个数而言是做质数分解,如factor(4),输出为2,2;factor(5),输出为5;factor(9),输出为3,3。factor(f):对一个函数进行因式分解,如f=x2−1f = x^2 - 1f=x2−1输出结果为:[x+1,x−1x + 1, x - 1x+1,x−1]。intersect()函数:求两个集合的交集,如A = [1, 2, 3],B = [3]_matlab 随机生成互质数

【项目实战】基于大数据的Hadoop网络电商分析系统Hive数据可视化大屏展示Spark计算机程序设计_大数据处理与分析实训:用hive处理和分析给定的电商数据,并将分析结果进行可视化展-程序员宅基地

文章浏览阅读638次。【项目实战】基于大数据的Hadoop网络电商分析系统Hive数据可视化大屏展示Spark计算机程序设计_大数据处理与分析实训:用hive处理和分析给定的电商数据,并将分析结果进行可视化展

团队项目需求分析-程序员宅基地

文章浏览阅读58次。一、前言课程名称:软件工程实践作业要求:团队项目需求分析团队名称:葫芦娃战队本次作业目标:完成项目需求说明书软件规格需求说明书:https://files.cnblogs.com/files/beifengtuanzi/%E8%91%AB%E8%8A%A6%E5%A8%83%E9%9C%80%E6%B1%82%E8%AF%B4%E6%98%8E%E4%B9%A6.zip需求报告PPT...

Linux命令之man命令数字含义_man 3 printf与man 1 printf有何区别?这里的数字的意义是什么-程序员宅基地

文章浏览阅读1.4k次。Linux man命令数字含义 1 User Commands 2 System Calls 3 C Library Functions 4 Devices and Special Files 5 File Formats andConventions _man 3 printf与man 1 printf有何区别?这里的数字的意义是什么

单片机遥控车c语言程序,2.4G无线遥控车制作 STC15单片机源程序-程序员宅基地

文章浏览阅读1.2k次,点赞2次,收藏5次。#include "stc15f2k60s2.h"#include "nrf.h"#include "oled.h"#include "usart.h"#include "motor.h"#define L_UPPER_LIMIT 240 ..._遥控车程序c代码