ubuntu14.04安装最新版本的wine

前端之家收集整理的这篇文章主要介绍了ubuntu14.04安装最新版本的wine前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1、更新了/etc/apt/source.list内容如下,右键该文件用Open with software&Updates打开

  1. # deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)]/ trusty main restricted
  2.  
  3. # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
  4. # newer versions of the distribution.
  5. deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted
  6. deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted
  7.  
  8. ## Major bug fix updates produced after the final release of the
  9. ## distribution.
  10. deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted
  11. deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted
  12.  
  13. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
  14. ## team. Also,please note that software in universe WILL NOT receive any
  15. ## review or updates from the Ubuntu security team.
  16. deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty universe
  17. deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty universe
  18. deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates universe
  19. deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates universe
  20.  
  21. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
  22. ## team,and may not be under a free licence. Please satisfy yourself as to
  23. ## your rights to use the software. Also,please note that software in
  24. ## multiverse WILL NOT receive any review or updates from the Ubuntu
  25. ## security team.
  26. deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty multiverse
  27. deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty multiverse
  28. deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates multiverse
  29. deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates multiverse
  30.  
  31. ## N.B. software from this repository may not have been tested as
  32. ## extensively as that contained in the main release,although it includes
  33. ## newer versions of some applications which may provide useful features.
  34. ## Also,please note that software in backports WILL NOT receive any review
  35. ## or updates from the Ubuntu security team.
  36. deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
  37. deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
  38.  
  39. deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted
  40. deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted
  41. deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security universe
  42. deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security universe
  43. deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security multiverse
  44. deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security multiverse
  45.  
  46. ## Uncomment the following two lines to add software from Canonical's
  47. ## 'partner' repository.
  48. ## This software is not part of Ubuntu,but is offered by Canonical and the
  49. ## respective vendors as a service to Ubuntu users.
  50. # deb http://archive.canonical.com/ubuntu trusty partner
  51. # deb-src http://archive.canonical.com/ubuntu trusty partner
  52.  
  53. ## This software is not part of Ubuntu,but is offered by third-party
  54. ## developers who want to ship their latest software.
  55. deb http://extras.ubuntu.com/ubuntu trusty main
  56. deb-src http://extras.ubuntu.com/ubuntu trusty main

2、安装源

  1. sudo add-apt-repository ppa:wine/wine-builds
  2.  
  3. sudo apt-get update

3、安装wine

  1. sudo apt-get install --install-recommends wine-staging
  2.  
  3. sudo apt-get install winehq-staging

4、卸载wine

  1. 1).卸载wine主程序,在终端里输入:
  2.  
  3. sudo apt-get remove --purge wine
  4.  
  5. 2).然后删除wine的目录文件
  6.  
  7. rm -r ~/.wine
  8.  
  9. 3).卸载残留不用的软件包:
  10.  
  11. sudo apt-get autoremove

猜你在找的Ubuntu相关文章