東川印記

一本東川,笑看爭龍斗虎;寰茫兦者,度橫佰昧人生。

ubuntu14.04x64安装wine1.7

2015年12月3日星期四



以前一直因为各种依赖安不成功,只好取道Virtualbox;
然后一个偶然的机会(openjdk7问题)知道了原因,今日一试,果然可以安了

1,加源,安装

ppa的比较新,最新版wine1.7
  1. senrsl@senrsl-T540p:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa
  2. [sudo] password for senrsl:
  3.  Welcome to the Wine Team PPA.  Here you can get the latest available Wine betas for every supported version of Ubuntu.  This PPA is managed by Scott Ritchie and Maarten Lankhorst.
  4.  更多信息: https://launchpad.net/~ubuntu-wine/+archive/ubuntu/ppa
  5. 按回车继续或者 Ctrl+c 取消添加
  6. gpg: 钥匙环'/tmp/tmpbejwwj7x/secring.gpg'已建立
  7. gpg: 钥匙环'/tmp/tmpbejwwj7x/pubring.gpg'已建立
  8. gpg: 下载密钥'F9CB8DB0',从 hkp 服务器 keyserver.ubuntu.com
  9. gpg: /tmp/tmpbejwwj7x/trustdb.gpg:建立了信任度数据库
  10. gpg: 密钥 F9CB8DB0:公钥"Launchpad PPA for Ubuntu Wine Team"已导入
  11. gpg: 没有找到任何绝对信任的密钥
  12. gpg: 合计被处理的数量:1
  13. gpg:               已导入:1  (RSA: 1)
  14. OK
  15. senrsl@senrsl-T540p:~$ sudo apt-get update
  16. 获取:1 http://ppa.launchpad.net trusty InRelease [15.4 kB]     
  17. 忽略 http://archive.ubuntu.com trusty InRelease                               
  18. 获取:2 http://archive.ubuntu.com trusty-updates InRelease [64.4 kB]          
  19. 获取:3 http://security.ubuntu.com trusty-security InRelease [64.4 kB]
  20. 获取:4 http://ppa.launchpad.net trusty/main amd64 Packages [3,645 B]         
  21. 命中 http://archive.ubuntu.com trusty Release.gpg                             
  22. 获取:5 http://security.ubuntu.com trusty-security/main amd64 Packages [380 kB]
  23. 获取:6 http://ppa.launchpad.net trusty/main i386 Packages [3,641 B]       
  24. 获取:7 http://archive.ubuntu.com trusty-updates/main amd64 Packages [663 kB] 
  25. 获取:8 http://ppa.launchpad.net trusty/main Translation-en [1,493 B]         
  26. 获取:9 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [13.0 kB]
  27. 获取:10 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4,795 B]
  28. 获取:11 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
  29. 获取:12 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB]
  30. 获取:13 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [329 kB]
  31. 获取:14 http://security.ubuntu.com trusty-security/universe amd64 Packages [120 kB]
  32. 获取:15 http://archive.ubuntu.com trusty-updates/main i386 Packages [642 kB]
  33. 获取:16 http://security.ubuntu.com trusty-security/main i386 Packages [358 kB]
  34. 获取:17 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [13.1 kB]
  35. 获取:18 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
  36. 获取:19 http://archive.ubuntu.com trusty-updates/universe i386 Packages [329 kB]
  37. 获取:20 http://archive.ubuntu.com trusty-updates/main Translation-en [327 kB]
  38. 获取:21 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [6,832 B]
  39. 获取:22 http://archive.ubuntu.com trusty-updates/restricted Translation-en [3,699 B]
  40. 获取:23 http://archive.ubuntu.com trusty-updates/universe Translation-en [173 kB]
  41. 命中 http://archive.ubuntu.com trusty Release                                 
  42. 命中 http://archive.ubuntu.com trusty/main Sources                            
  43. 命中 http://archive.ubuntu.com trusty/multiverse Sources                      
  44. 获取:24 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4,967 B]
  45. 获取:25 http://security.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB]
  46. 命中 http://archive.ubuntu.com trusty/restricted Sources                      
  47. 获取:26 http://security.ubuntu.com trusty-security/universe i386 Packages [120 kB]
  48. 命中 http://archive.ubuntu.com trusty/universe Sources                        
  49. 命中 http://archive.ubuntu.com trusty/main amd64 Packages                     
  50. 命中 http://archive.ubuntu.com trusty/universe amd64 Packages                 
  51. 命中 http://security.ubuntu.com trusty-security/main Translation-en           
  52. 命中 http://archive.ubuntu.com trusty/restricted amd64 Packages               
  53. 命中 http://security.ubuntu.com trusty-security/multiverse Translation-en     
  54. 命中 http://archive.ubuntu.com trusty/multiverse amd64 Packages               
  55. 命中 http://security.ubuntu.com trusty-security/restricted Translation-en     
  56. 命中 http://archive.ubuntu.com trusty/main i386 Packages                      
  57. 命中 http://archive.ubuntu.com trusty/universe i386 Packages                  
  58. 命中 http://security.ubuntu.com trusty-security/universe Translation-en       
  59. 命中 http://archive.ubuntu.com trusty/restricted i386 Packages                
  60. 命中 http://archive.ubuntu.com trusty/multiverse i386 Packages                
  61. 命中 http://archive.ubuntu.com trusty/main Translation-zh_CN                  
  62. 命中 http://archive.ubuntu.com trusty/main Translation-en                     
  63. 命中 http://archive.ubuntu.com trusty/multiverse Translation-zh_CN            
  64. 命中 http://archive.ubuntu.com trusty/multiverse Translation-en               
  65. 命中 http://archive.ubuntu.com trusty/restricted Translation-zh_CN            
  66. 命中 http://archive.ubuntu.com trusty/restricted Translation-en               
  67. 命中 http://archive.ubuntu.com trusty/universe Translation-zh_CN              
  68. 命中 http://archive.ubuntu.com trusty/universe Translation-en                 
  69. 忽略 http://archive.ubuntu.com trusty/main Translation-zh                     
  70. 忽略 http://archive.ubuntu.com trusty/multiverse Translation-zh               
  71. 忽略 http://archive.ubuntu.com trusty/restricted Translation-zh               
  72. 忽略 http://archive.ubuntu.com trusty/universe Translation-zh                 
  73. 下载 3,698 kB,耗时 18秒 (197 kB/s)                                           
  74. 正在读取软件包列表... 完成
  75. senrsl@senrsl-T540p:~$ sudo apt-get install wine1.7
  76. 正在读取软件包列表... 完成
  77. 正在分析软件包的依赖关系树      
  78. 正在读取状态信息... 完成      
  79. 下列软件包是自动安装的并且现在不需要了:
  80.   git-man liberror-perl
  81. Use 'apt-get autoremove' to remove them.
  82. 将会安装下列额外的软件包:
  83.   binfmt-support cabextract fonts-horai-umefont fonts-unfonts-core
  84.   fonts-wqy-microhei gnome-exe-thumbnailer icoutils imagemagick
  85.   imagemagick-common libasn1-8-heimdal:i386 libasound2:i386
  86.   libasound2-plugins:i386 libasyncns0:i386 libauthen-sasl-perl
  87.   libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
  88.   libcapi20-3 libcapi20-3:i386 libcgmanager0 libcgmanager0:i386
  89.   libcomerr2:i386 libcups2:i386 libdb5.3:i386 libdbus-1-3:i386
  90.   libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386
  91.   libedit2:i386 libelf1:i386 libencode-locale-perl libexif12:i386
  92.   libexpat1:i386 libffi6 libffi6:i386 libfile-listing-perl libflac8:i386
  93.   libfont-afm-perl libfontconfig1:i386 libfreetype6:i386 libgcrypt11:i386
  94.   libgd3:i386 libgif4:i386 libgl1-mesa-dri-lts-vivid:i386
  95.   libgl1-mesa-glx-lts-vivid:i386 libglapi-mesa-lts-vivid:i386
  96.   libglib2.0-0:i386 libglu1-mesa:i386 libgnutls26:i386 libgpg-error0:i386
  97.   libgphoto2-6:i386 libgphoto2-port10:i386 libgssapi-krb5-2:i386
  98.   libgssapi3-heimdal:i386 libgstreamer-plugins-base0.10-0:i386
  99.   libgstreamer0.10-0:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386
  100.   libheimntlm0-heimdal:i386 libhtml-form-perl libhtml-format-perl
  101.   libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl
  102.   libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
  103.   libhttp-message-perl libhttp-negotiate-perl libhx509-5-heimdal:i386
  104.   libice6:i386 libieee1284-3:i386 libio-html-perl libio-socket-inet6-perl
  105.   libio-socket-ssl-perl libjack-jackd2-0:i386 libjbig0:i386
  106.   libjpeg-turbo8:i386 libjpeg8:i386 libjson-c2:i386 libk5crypto3:i386
  107.   libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386
  108.   libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm3.6:i386
  109.   liblqr-1-0 libltdl7:i386 liblwp-mediatypes-perl liblwp-protocol-https-perl
  110.   liblzma5:i386 libmagickcore5 libmagickcore5-extra libmagickwand5
  111.   libmailtools-perl libmpg123-0:i386 libnet-http-perl libnet-smtp-ssl-perl
  112.   libnet-ssleay-perl libnetpbm10 libnih-dbus1:i386 libnih1:i386 libodbc1
  113.   libogg0:i386 libopenal1:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386
  114.   libp11-kit0:i386 libpcap0.8:i386 libpciaccess0:i386 libpcre3:i386
  115.   libpulse0:i386 libroken18-heimdal:i386 libsamplerate0:i386 libsane:i386
  116.   libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386
  117.   libselinux1:i386 libsm6:i386 libsndfile1:i386 libsocket6-perl
  118.   libspeexdsp1:i386 libsqlite3-0:i386 libssl1.0.0:i386 libtasn1-6:i386
  119.   libtiff5:i386 libtxc-dxtn-s2tc0:i386 libudev1 libudev1:i386 liburi-perl
  120.   libusb-1.0-0:i386 libuuid1 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386
  121.   libvorbis0a:i386 libvorbisenc2:i386 libvpx1:i386 libwind0-heimdal:i386
  122.   libwrap0:i386 libwww-perl libwww-robotrules-perl libx11-6:i386
  123.   libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
  124.   libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxcb1:i386
  125.   libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386
  126.   libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxml2
  127.   libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386
  128.   libxshmfence1:i386 libxslt1.1:i386 libxt6:i386 libxxf86vm1:i386 netpbm
  129.   ocl-icd-libopencl1 ocl-icd-libopencl1:i386 odbcinst odbcinst1debian2
  130.   p11-kit-modules:i386 ttf-mscorefonts-installer ttf-wqy-microhei udev
  131.   unixodbc wine-gecko2.34 wine-gecko2.34:i386 wine-mono4.5.4 wine1.7-amd64
  132.   wine1.7-i386:i386 winetricks
  133. 建议安装的软件包:
  134.   libterm-readline-gnu-perl libterm-readline-perl-perl imagemagick-doc
  135.   autotrace enscript ffmpeg gnuplot grads hp2xx html2ps libwmf-bin mplayer
  136.   povray radiance texlive-base-bin transfig ufraw-batch libdigest-hmac-perl
  137.   libgssapi-perl isdnutils-doc isdnutils-doc:i386 rng-tools:i386
  138.   libgd-tools:i386 gnutls-bin:i386 gphoto2:i386 gtkam:i386 krb5-doc:i386
  139.   krb5-user:i386 libvisual-0.4-plugins:i386 gstreamer-codec-install:i386
  140.   gnome-codec-install:i386 gstreamer0.10-tools:i386
  141.   gstreamer0.10-plugins-base:i386 libdata-dump-perl jackd2:i386
  142.   liblcms2-utils:i386 libcrypt-ssleay-perl libmyodbc odbc-postgresql tdsodbc
  143.   unixodbc-bin libportaudio2:i386 libroar-compat2:i386 pulseaudio:i386
  144.   hplip:i386 hpoj:i386 libsane-extras:i386 libsasl2-modules-otp:i386
  145.   libsasl2-modules-ldap:i386 libsasl2-modules-sql:i386
  146.   libsasl2-modules-gssapi-mit:i386 libsasl2-modules-gssapi-heimdal:i386
  147.   libauthen-ntlm-perl opencl-icd opencl-icd:i386 dosbox:any winbind
  148. 推荐安装的软件包:
  149.   xml-core:i386 wine1.5-amd64 wine1.5-i386:i386 unixodbc:i386
  150.   wine-mono4.5.4:i386 wine
  151. 下列【新】软件包将被安装:
  152.   binfmt-support cabextract fonts-horai-umefont fonts-unfonts-core
  153.   fonts-wqy-microhei gnome-exe-thumbnailer icoutils imagemagick
  154.   imagemagick-common libasn1-8-heimdal:i386 libasound2:i386
  155.   libasound2-plugins:i386 libasyncns0:i386 libauthen-sasl-perl
  156.   libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
  157.   libcapi20-3 libcapi20-3:i386 libcgmanager0:i386 libcomerr2:i386
  158.   libcups2:i386 libdb5.3:i386 libdbus-1-3:i386 libdrm-intel1:i386
  159.   libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386
  160.   libelf1:i386 libencode-locale-perl libexif12:i386 libexpat1:i386
  161.   libffi6:i386 libfile-listing-perl libflac8:i386 libfont-afm-perl
  162.   libfontconfig1:i386 libfreetype6:i386 libgcrypt11:i386 libgd3:i386
  163.   libgif4:i386 libgl1-mesa-dri-lts-vivid:i386 libgl1-mesa-glx-lts-vivid:i386
  164.   libglapi-mesa-lts-vivid:i386 libglib2.0-0:i386 libglu1-mesa:i386
  165.   libgnutls26:i386 libgpg-error0:i386 libgphoto2-6:i386 libgphoto2-port10:i386
  166.   libgssapi-krb5-2:i386 libgssapi3-heimdal:i386
  167.   libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386
  168.   libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386
  169.   libhtml-form-perl libhtml-format-perl libhtml-parser-perl
  170.   libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
  171.   libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
  172.   libhttp-negotiate-perl libhx509-5-heimdal:i386 libice6:i386
  173.   libieee1284-3:i386 libio-html-perl libio-socket-inet6-perl
  174.   libio-socket-ssl-perl libjack-jackd2-0:i386 libjbig0:i386
  175.   libjpeg-turbo8:i386 libjpeg8:i386 libjson-c2:i386 libk5crypto3:i386
  176.   libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386
  177.   libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm3.6:i386
  178.   liblqr-1-0 libltdl7:i386 liblwp-mediatypes-perl liblwp-protocol-https-perl
  179.   liblzma5:i386 libmagickcore5 libmagickcore5-extra libmagickwand5
  180.   libmailtools-perl libmpg123-0:i386 libnet-http-perl libnet-smtp-ssl-perl
  181.   libnet-ssleay-perl libnetpbm10 libnih-dbus1:i386 libnih1:i386 libodbc1
  182.   libogg0:i386 libopenal1:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386
  183.   libp11-kit0:i386 libpcap0.8:i386 libpciaccess0:i386 libpcre3:i386
  184.   libpulse0:i386 libroken18-heimdal:i386 libsamplerate0:i386 libsane:i386
  185.   libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386
  186.   libselinux1:i386 libsm6:i386 libsndfile1:i386 libsocket6-perl
  187.   libspeexdsp1:i386 libsqlite3-0:i386 libssl1.0.0:i386 libtasn1-6:i386
  188.   libtiff5:i386 libtxc-dxtn-s2tc0:i386 libudev1:i386 liburi-perl
  189.   libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386
  190.   libvorbis0a:i386 libvorbisenc2:i386 libvpx1:i386 libwind0-heimdal:i386
  191.   libwrap0:i386 libwww-perl libwww-robotrules-perl libx11-6:i386
  192.   libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
  193.   libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxcb1:i386
  194.   libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386
  195.   libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxml2:i386
  196.   libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386
  197.   libxslt1.1:i386 libxt6:i386 libxxf86vm1:i386 netpbm ocl-icd-libopencl1
  198.   ocl-icd-libopencl1:i386 odbcinst odbcinst1debian2 p11-kit-modules:i386
  199.   ttf-mscorefonts-installer ttf-wqy-microhei unixodbc wine-gecko2.34
  200.   wine-gecko2.34:i386 wine-mono4.5.4 wine1.7 wine1.7-amd64 wine1.7-i386:i386
  201.   winetricks
  202. 下列软件包将被升级:
  203.   libcgmanager0 libffi6 libudev1 libuuid1 libxml2 udev
  204. 升级了 6 个软件包,新安装了 184 个软件包,要卸载 0 个软件包,有 213 个软件包未被升级。
  205. 需要下载 209 MB 的软件包。
  206. 解压缩后会消耗掉 687 MB 的额外空间。
  207. 您希望继续执行吗? [Y/n]
  208. ....
  209. 正在设置 icoutils (0.31.0-2) ...
  210. 正在设置 unixodbc (2.2.14p2-5ubuntu5) ...
  211. 正在设置 gnome-exe-thumbnailer (0.9.3-0ubuntu1) ...
  212. 正在设置 odbcinst (2.2.14p2-5ubuntu5) ...
  213. 正在处理用于 ureadahead (0.100.0-16) 的触发器 ...
  214. 正在设置 wine1.7 (1:1.7.55-0ubuntu1) ...
  215. 正在处理用于 libc-bin (2.19-0ubuntu6.6) 的触发器 ...
  216. 正在处理用于 initramfs-tools (0.103ubuntu4.2) 的触发器 ...
  217. update-initramfs: Generating /boot/initrd.img-3.19.0-28-generic
2,配置wine

配置wine,会弹出对话框,安装一堆支持组件。
  1. senrsl@senrsl-T540p:~$ winecfg




3,wine的应用程序管理器
  1. senrsl@senrsl-T540p:~$ wine uninstaller




4,wine的强化
  1. senrsl@senrsl-T540p:~$ winetricks



5,安装SourceInsight3.5

通过wine安装sourceinsight,可以用来看源码

直接双击exe安装包


安装,注册,汉化


看起来不错。

--
senRsl
2015年12月03日10:49:42

没有评论 :

发表评论