1.主体大致过程

$ wget  https://dl.winehq.org/wine/source/3.0/wine-3.0.tar.xz
$ tar -xvf wine-3.0.tar.xz
$ cd wine-3.0/
$ sudo ./configure
$ sudo ./configure --enable-win64 [对于64位平台]
$ sudo make && sudo make install

2.错误

  1.执行 sudo ./configure   时报错

configure: libOSMesa 64-bit development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
configure: OpenCL 64-bit development files not found, OpenCL won't be supported.
configure: pcap 64-bit development files not found, wpcap won't be supported.
configure: libdbus 64-bit development files not found, no dynamic device support.
configure: lib(n)curses 64-bit development files not found, curses won't be supported.
configure: libsane 64-bit development files not found, scanners won't be supported.
configure: libv4l 64-bit development files not found.
configure: libgphoto2 64-bit development files not found, digital cameras won't be supported.
configure: libgphoto2_port 64-bit development files not found, digital cameras won't be auto-detected.
configure: liblcms2 64-bit development files not found, Color Management won't be supported.
configure: libpulse 64-bit development files not found or too old, Pulse won't be supported.
configure: gstreamer-1.0 base plugins 64-bit development files not found, GStreamer won't be supported.
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libudev 64-bit development files not found, plug and play won't be supported.
configure: libcapi20 64-bit development files not found, ISDN won't be supported.
configure: libcups 64-bit development files not found, CUPS won't be supported.
configure: libgsm 64-bit development files not found, gsm 06.10 codec won't be supported.
configure: libkrb5 64-bit development files not found, Kerberos won't be supported.
configure: libtiff 64-bit development files not found, TIFF won't be supported.
configure: libmpg123 64-bit development files not found (or too old), mp3 codec won't be supported.
configure: libopenal 64-bit development files not found (or too old), OpenAL won't be supported.
configure: openal-soft 64-bit development files not found (or too old), XAudio2 won't be supported.
configure: libldap (OpenLDAP) 64-bit development files not found, LDAP won't be supported. configure: WARNING: libgnutls 64-bit development files not found, no schannel support. configure: Finished. Do 'make' to compile Wine.

2.错误多的时候,直接执行安装依赖

sudo apt-get build-dep wine

如果执行  sudo apt-get build-dep wine 报错

正在读取软件包列表... 完成
E: 您必须在 sources.list 中指定代码源(deb-src) URI

----------------------------------以下部分来自:http://blog.csdn.net/zhqh100/article/details/52919730--------------------------------------------------

原因是我们的文件/etc/apt/source.list里的deb-src都被注释掉了,而现在我们需要,找到问题了就好解决了,可以直接vim修改该文件把deb-src的注释去掉,也可以运行“软件和更新”修改,选中下图中的“源代码”

--------------------------------------------------------------------------------------------------------------

然后重新执行

sudo apt-get build-dep wine

4:加个参考链接    :https://www.linuxidc.com/Linux/2017-12/149285.htm

最新文章

  1. SpringMVC注解汇总(二)-请求映射规则
  2. JS组件系列——Bootstrap右键菜单解决方案:ContextMenu
  3. JAVA虚拟机垃圾回收算法原理
  4. ThreadPoolExecutor使用介绍
  5. jackson set properties to default value (取消让jackson 赋予默认值)
  6. Android各代码层获取系统时间的方法
  7. 第4章2节《MonkeyRunner源码剖析》ADB协议及服务: ADB服务SERVICES.TXT翻译参考(原创)
  8. firstChild,lastChild,nextSibling,previousSibling & 兼容性写法
  9. FreeRTOS——内存管理
  10. Java眼中的XML--------文件读取
  11. Group Convolution分组卷积,以及Depthwise Convolution和Global Depthwise Convolution
  12. 修改 Docker 的 daemon.json后启动失败
  13. Java开发笔记(二)Java工程的帝国区划
  14. 【转载】Jmeter 性能测试入门
  15. 【洛谷p1162】填涂颜色
  16. Failed to load package MonoAndroidDesignerPackage
  17. Git坑点——remote: error: GH007: Your push would publish a private email address.
  18. 精通Linux
  19. centos6 搭建nginx实现负载均衡
  20. (转载)Fiddler调式使用知多少(一)深入研究

热门文章

  1. panda强化练习2
  2. 【记录】BurpSuite之Grep-Extract
  3. python学习12-反射 判断函数与方法(转载)
  4. 解决 command not found: express
  5. 请以excel管理你的接口测试用例
  6. C++程序设计基础(3)条件语句和循环语句
  7. sqlserver 限制用户只能访问指定的视图
  8. HTTP和HTTPS的区别?
  9. UML建模概述
  10. App调用safar