以前一直因为各种依赖安不成功,只好取道Virtualbox;
然后一个偶然的机会(openjdk7问题)知道了原因,今日一试,果然可以安了
1,加源,安装
ppa的比较新,最新版wine1.7
2,配置wine
- senrsl@senrsl-T540p:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa
- [sudo] password for senrsl:
- 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.
- 更多信息: https://launchpad.net/~ubuntu-wine/+archive/ubuntu/ppa
- 按回车继续或者 Ctrl+c 取消添加
- gpg: 钥匙环'/tmp/tmpbejwwj7x/secring.gpg'已建立
- gpg: 钥匙环'/tmp/tmpbejwwj7x/pubring.gpg'已建立
- gpg: 下载密钥'F9CB8DB0',从 hkp 服务器 keyserver.ubuntu.com
- gpg: /tmp/tmpbejwwj7x/trustdb.gpg:建立了信任度数据库
- gpg: 密钥 F9CB8DB0:公钥"Launchpad PPA for Ubuntu Wine Team"已导入
- gpg: 没有找到任何绝对信任的密钥
- gpg: 合计被处理的数量:1
- gpg: 已导入:1 (RSA: 1)
- OK
- senrsl@senrsl-T540p:~$ sudo apt-get update
- 获取:1 http://ppa.launchpad.net trusty InRelease [15.4 kB]
- 忽略 http://archive.ubuntu.com trusty InRelease
- 获取:2 http://archive.ubuntu.com trusty-updates InRelease [64.4 kB]
- 获取:3 http://security.ubuntu.com trusty-security InRelease [64.4 kB]
- 获取:4 http://ppa.launchpad.net trusty/main amd64 Packages [3,645 B]
- 命中 http://archive.ubuntu.com trusty Release.gpg
- 获取:5 http://security.ubuntu.com trusty-security/main amd64 Packages [380 kB]
- 获取:6 http://ppa.launchpad.net trusty/main i386 Packages [3,641 B]
- 获取:7 http://archive.ubuntu.com trusty-updates/main amd64 Packages [663 kB]
- 获取:8 http://ppa.launchpad.net trusty/main Translation-en [1,493 B]
- 获取:9 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [13.0 kB]
- 获取:10 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4,795 B]
- 获取:11 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
- 获取:12 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB]
- 获取:13 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [329 kB]
- 获取:14 http://security.ubuntu.com trusty-security/universe amd64 Packages [120 kB]
- 获取:15 http://archive.ubuntu.com trusty-updates/main i386 Packages [642 kB]
- 获取:16 http://security.ubuntu.com trusty-security/main i386 Packages [358 kB]
- 获取:17 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [13.1 kB]
- 获取:18 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
- 获取:19 http://archive.ubuntu.com trusty-updates/universe i386 Packages [329 kB]
- 获取:20 http://archive.ubuntu.com trusty-updates/main Translation-en [327 kB]
- 获取:21 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [6,832 B]
- 获取:22 http://archive.ubuntu.com trusty-updates/restricted Translation-en [3,699 B]
- 获取:23 http://archive.ubuntu.com trusty-updates/universe Translation-en [173 kB]
- 命中 http://archive.ubuntu.com trusty Release
- 命中 http://archive.ubuntu.com trusty/main Sources
- 命中 http://archive.ubuntu.com trusty/multiverse Sources
- 获取:24 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4,967 B]
- 获取:25 http://security.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB]
- 命中 http://archive.ubuntu.com trusty/restricted Sources
- 获取:26 http://security.ubuntu.com trusty-security/universe i386 Packages [120 kB]
- 命中 http://archive.ubuntu.com trusty/universe Sources
- 命中 http://archive.ubuntu.com trusty/main amd64 Packages
- 命中 http://archive.ubuntu.com trusty/universe amd64 Packages
- 命中 http://security.ubuntu.com trusty-security/main Translation-en
- 命中 http://archive.ubuntu.com trusty/restricted amd64 Packages
- 命中 http://security.ubuntu.com trusty-security/multiverse Translation-en
- 命中 http://archive.ubuntu.com trusty/multiverse amd64 Packages
- 命中 http://security.ubuntu.com trusty-security/restricted Translation-en
- 命中 http://archive.ubuntu.com trusty/main i386 Packages
- 命中 http://archive.ubuntu.com trusty/universe i386 Packages
- 命中 http://security.ubuntu.com trusty-security/universe Translation-en
- 命中 http://archive.ubuntu.com trusty/restricted i386 Packages
- 命中 http://archive.ubuntu.com trusty/multiverse i386 Packages
- 命中 http://archive.ubuntu.com trusty/main Translation-zh_CN
- 命中 http://archive.ubuntu.com trusty/main Translation-en
- 命中 http://archive.ubuntu.com trusty/multiverse Translation-zh_CN
- 命中 http://archive.ubuntu.com trusty/multiverse Translation-en
- 命中 http://archive.ubuntu.com trusty/restricted Translation-zh_CN
- 命中 http://archive.ubuntu.com trusty/restricted Translation-en
- 命中 http://archive.ubuntu.com trusty/universe Translation-zh_CN
- 命中 http://archive.ubuntu.com trusty/universe Translation-en
- 忽略 http://archive.ubuntu.com trusty/main Translation-zh
- 忽略 http://archive.ubuntu.com trusty/multiverse Translation-zh
- 忽略 http://archive.ubuntu.com trusty/restricted Translation-zh
- 忽略 http://archive.ubuntu.com trusty/universe Translation-zh
- 下载 3,698 kB,耗时 18秒 (197 kB/s)
- 正在读取软件包列表... 完成
- senrsl@senrsl-T540p:~$ sudo apt-get install wine1.7
- 正在读取软件包列表... 完成
- 正在分析软件包的依赖关系树
- 正在读取状态信息... 完成
- 下列软件包是自动安装的并且现在不需要了:
- git-man liberror-perl
- Use 'apt-get autoremove' to remove them.
- 将会安装下列额外的软件包:
- binfmt-support cabextract fonts-horai-umefont fonts-unfonts-core
- fonts-wqy-microhei gnome-exe-thumbnailer icoutils imagemagick
- imagemagick-common libasn1-8-heimdal:i386 libasound2:i386
- libasound2-plugins:i386 libasyncns0:i386 libauthen-sasl-perl
- libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
- libcapi20-3 libcapi20-3:i386 libcgmanager0 libcgmanager0:i386
- libcomerr2:i386 libcups2:i386 libdb5.3:i386 libdbus-1-3:i386
- libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386
- libedit2:i386 libelf1:i386 libencode-locale-perl libexif12:i386
- libexpat1:i386 libffi6 libffi6:i386 libfile-listing-perl libflac8:i386
- libfont-afm-perl libfontconfig1:i386 libfreetype6:i386 libgcrypt11:i386
- libgd3:i386 libgif4:i386 libgl1-mesa-dri-lts-vivid:i386
- libgl1-mesa-glx-lts-vivid:i386 libglapi-mesa-lts-vivid:i386
- libglib2.0-0:i386 libglu1-mesa:i386 libgnutls26:i386 libgpg-error0:i386
- libgphoto2-6:i386 libgphoto2-port10:i386 libgssapi-krb5-2:i386
- libgssapi3-heimdal:i386 libgstreamer-plugins-base0.10-0:i386
- libgstreamer0.10-0:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386
- libheimntlm0-heimdal:i386 libhtml-form-perl libhtml-format-perl
- libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl
- libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
- libhttp-message-perl libhttp-negotiate-perl libhx509-5-heimdal:i386
- libice6:i386 libieee1284-3:i386 libio-html-perl libio-socket-inet6-perl
- libio-socket-ssl-perl libjack-jackd2-0:i386 libjbig0:i386
- libjpeg-turbo8:i386 libjpeg8:i386 libjson-c2:i386 libk5crypto3:i386
- libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386
- libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm3.6:i386
- liblqr-1-0 libltdl7:i386 liblwp-mediatypes-perl liblwp-protocol-https-perl
- liblzma5:i386 libmagickcore5 libmagickcore5-extra libmagickwand5
- libmailtools-perl libmpg123-0:i386 libnet-http-perl libnet-smtp-ssl-perl
- libnet-ssleay-perl libnetpbm10 libnih-dbus1:i386 libnih1:i386 libodbc1
- libogg0:i386 libopenal1:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386
- libp11-kit0:i386 libpcap0.8:i386 libpciaccess0:i386 libpcre3:i386
- libpulse0:i386 libroken18-heimdal:i386 libsamplerate0:i386 libsane:i386
- libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386
- libselinux1:i386 libsm6:i386 libsndfile1:i386 libsocket6-perl
- libspeexdsp1:i386 libsqlite3-0:i386 libssl1.0.0:i386 libtasn1-6:i386
- libtiff5:i386 libtxc-dxtn-s2tc0:i386 libudev1 libudev1:i386 liburi-perl
- libusb-1.0-0:i386 libuuid1 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386
- libvorbis0a:i386 libvorbisenc2:i386 libvpx1:i386 libwind0-heimdal:i386
- libwrap0:i386 libwww-perl libwww-robotrules-perl libx11-6:i386
- libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
- libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxcb1:i386
- libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386
- libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxml2
- libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386
- libxshmfence1:i386 libxslt1.1:i386 libxt6:i386 libxxf86vm1:i386 netpbm
- ocl-icd-libopencl1 ocl-icd-libopencl1:i386 odbcinst odbcinst1debian2
- p11-kit-modules:i386 ttf-mscorefonts-installer ttf-wqy-microhei udev
- unixodbc wine-gecko2.34 wine-gecko2.34:i386 wine-mono4.5.4 wine1.7-amd64
- wine1.7-i386:i386 winetricks
- 建议安装的软件包:
- libterm-readline-gnu-perl libterm-readline-perl-perl imagemagick-doc
- autotrace enscript ffmpeg gnuplot grads hp2xx html2ps libwmf-bin mplayer
- povray radiance texlive-base-bin transfig ufraw-batch libdigest-hmac-perl
- libgssapi-perl isdnutils-doc isdnutils-doc:i386 rng-tools:i386
- libgd-tools:i386 gnutls-bin:i386 gphoto2:i386 gtkam:i386 krb5-doc:i386
- krb5-user:i386 libvisual-0.4-plugins:i386 gstreamer-codec-install:i386
- gnome-codec-install:i386 gstreamer0.10-tools:i386
- gstreamer0.10-plugins-base:i386 libdata-dump-perl jackd2:i386
- liblcms2-utils:i386 libcrypt-ssleay-perl libmyodbc odbc-postgresql tdsodbc
- unixodbc-bin libportaudio2:i386 libroar-compat2:i386 pulseaudio:i386
- hplip:i386 hpoj:i386 libsane-extras:i386 libsasl2-modules-otp:i386
- libsasl2-modules-ldap:i386 libsasl2-modules-sql:i386
- libsasl2-modules-gssapi-mit:i386 libsasl2-modules-gssapi-heimdal:i386
- libauthen-ntlm-perl opencl-icd opencl-icd:i386 dosbox:any winbind
- 推荐安装的软件包:
- xml-core:i386 wine1.5-amd64 wine1.5-i386:i386 unixodbc:i386
- wine-mono4.5.4:i386 wine
- 下列【新】软件包将被安装:
- binfmt-support cabextract fonts-horai-umefont fonts-unfonts-core
- fonts-wqy-microhei gnome-exe-thumbnailer icoutils imagemagick
- imagemagick-common libasn1-8-heimdal:i386 libasound2:i386
- libasound2-plugins:i386 libasyncns0:i386 libauthen-sasl-perl
- libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
- libcapi20-3 libcapi20-3:i386 libcgmanager0:i386 libcomerr2:i386
- libcups2:i386 libdb5.3:i386 libdbus-1-3:i386 libdrm-intel1:i386
- libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386
- libelf1:i386 libencode-locale-perl libexif12:i386 libexpat1:i386
- libffi6:i386 libfile-listing-perl libflac8:i386 libfont-afm-perl
- libfontconfig1:i386 libfreetype6:i386 libgcrypt11:i386 libgd3:i386
- libgif4:i386 libgl1-mesa-dri-lts-vivid:i386 libgl1-mesa-glx-lts-vivid:i386
- libglapi-mesa-lts-vivid:i386 libglib2.0-0:i386 libglu1-mesa:i386
- libgnutls26:i386 libgpg-error0:i386 libgphoto2-6:i386 libgphoto2-port10:i386
- libgssapi-krb5-2:i386 libgssapi3-heimdal:i386
- libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386
- libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386
- libhtml-form-perl libhtml-format-perl libhtml-parser-perl
- libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
- libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
- libhttp-negotiate-perl libhx509-5-heimdal:i386 libice6:i386
- libieee1284-3:i386 libio-html-perl libio-socket-inet6-perl
- libio-socket-ssl-perl libjack-jackd2-0:i386 libjbig0:i386
- libjpeg-turbo8:i386 libjpeg8:i386 libjson-c2:i386 libk5crypto3:i386
- libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386
- libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm3.6:i386
- liblqr-1-0 libltdl7:i386 liblwp-mediatypes-perl liblwp-protocol-https-perl
- liblzma5:i386 libmagickcore5 libmagickcore5-extra libmagickwand5
- libmailtools-perl libmpg123-0:i386 libnet-http-perl libnet-smtp-ssl-perl
- libnet-ssleay-perl libnetpbm10 libnih-dbus1:i386 libnih1:i386 libodbc1
- libogg0:i386 libopenal1:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386
- libp11-kit0:i386 libpcap0.8:i386 libpciaccess0:i386 libpcre3:i386
- libpulse0:i386 libroken18-heimdal:i386 libsamplerate0:i386 libsane:i386
- libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386
- libselinux1:i386 libsm6:i386 libsndfile1:i386 libsocket6-perl
- libspeexdsp1:i386 libsqlite3-0:i386 libssl1.0.0:i386 libtasn1-6:i386
- libtiff5:i386 libtxc-dxtn-s2tc0:i386 libudev1:i386 liburi-perl
- libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386
- libvorbis0a:i386 libvorbisenc2:i386 libvpx1:i386 libwind0-heimdal:i386
- libwrap0:i386 libwww-perl libwww-robotrules-perl libx11-6:i386
- libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
- libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxcb1:i386
- libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386
- libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxml2:i386
- libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386
- libxslt1.1:i386 libxt6:i386 libxxf86vm1:i386 netpbm ocl-icd-libopencl1
- ocl-icd-libopencl1:i386 odbcinst odbcinst1debian2 p11-kit-modules:i386
- ttf-mscorefonts-installer ttf-wqy-microhei unixodbc wine-gecko2.34
- wine-gecko2.34:i386 wine-mono4.5.4 wine1.7 wine1.7-amd64 wine1.7-i386:i386
- winetricks
- 下列软件包将被升级:
- libcgmanager0 libffi6 libudev1 libuuid1 libxml2 udev
- 升级了 6 个软件包,新安装了 184 个软件包,要卸载 0 个软件包,有 213 个软件包未被升级。
- 需要下载 209 MB 的软件包。
- 解压缩后会消耗掉 687 MB 的额外空间。
- 您希望继续执行吗? [Y/n]
- ....
- 正在设置 icoutils (0.31.0-2) ...
- 正在设置 unixodbc (2.2.14p2-5ubuntu5) ...
- 正在设置 gnome-exe-thumbnailer (0.9.3-0ubuntu1) ...
- 正在设置 odbcinst (2.2.14p2-5ubuntu5) ...
- 正在处理用于 ureadahead (0.100.0-16) 的触发器 ...
- 正在设置 wine1.7 (1:1.7.55-0ubuntu1) ...
- 正在处理用于 libc-bin (2.19-0ubuntu6.6) 的触发器 ...
- 正在处理用于 initramfs-tools (0.103ubuntu4.2) 的触发器 ...
- update-initramfs: Generating /boot/initrd.img-3.19.0-28-generic
配置wine,会弹出对话框,安装一堆支持组件。
- senrsl@senrsl-T540p:~$ winecfg
3,wine的应用程序管理器
- senrsl@senrsl-T540p:~$ wine uninstaller
4,wine的强化
- senrsl@senrsl-T540p:~$ winetricks
5,安装SourceInsight3.5
通过wine安装sourceinsight,可以用来看源码
直接双击exe安装包
安装,注册,汉化
看起来不错。
--
senRsl
2015年12月03日10:49:42
2015年12月03日10:49:42
没有评论 :
发表评论