博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Linuxmint13 / Ubuntu12.04 x86-64位 系统使用 WINE/winetricks 安装32位 IE7 + CAJViewer7 阅读器
阅读量:4135 次
发布时间:2019-05-25

本文共 2208 字,大约阅读时间需要 7 分钟。

由于我最近写毕业设计,需要在Linux下做实验,并使用CAJViewer参考论文,并写论文记录试验结果,而使用的电脑系统是LinuxMint 13 maya (基于Ubuntu 12.04 Precise)版本的X86-64位Linux系统,之前在其上安装了WINE1.4,但是使用 winetricks 安装 IE6 / IE7浏览器的过程中,一直出现各种各样的问题:

首先遇到的是  "This installation does not support your system architecture (32/64bits)" 

也就是说我安装的 wine 是64位的,而 从 winetricks 上面下载的 IE6/IE7 却是 32位的,所以不兼容。

后来查阅网址,看到下面一段话:

4.5.3. WINEARCH

Specifies the Windows architecture to support. It can be set either to win32 (support only 32-bit applications), or to win64 (support both 64-bit applications and 32-bit ones in WoW64 mode). The architecture supported by a given Wine prefix is set at prefix creation time and cannot be changed afterwards. When running with an existing prefix, Wine will refuse to start if WINEARCH doesn't match the prefix architecture.

就是说,要想在64位的系统里面使用 32位的WINE以及winetricks,那么需要在命令行中使用它们前中输入:   

export WINEARCH="win32"
而且又因为很多经典的Windows程序大多都是32位的,所以可以使用下面的方式,让重启系统后,不用每次输入上述命令前缀,可以直接使用wine来安装32位的软件:

In the mean time, you could add

export WINEARCH="win32"

to your .bashrc or somewhere, if you're never going to need a 64bit prefix...

后来我想将wine1.4直接升级为 wine1.5 ,使用以下语句升级即可:

sudo add-apt-repository ppa:ubuntu-wine/ppa

sudo apt-get update && sudo apt-get install wine1.5 winetricks

但是后来,可能是升级不彻底,之前的版本里面有不兼容的wine-gecko,所以就又遇到下面的问题:

wine cmd.exe /c echo '%ProgramFiles%' returned empty string

此时,按照这个网址 中的说法:

"

如果之前wine沒裝什麼重要的東西,刪掉它, 進入終端機:

sudo rm -rf ~/.wine
然後輸入
winecfg
會重新生成一個假的Windows環境, 備份它,因為你用 winetricks很可能會把它搞壞,自己到檔案管理員多複製一份 (Control+H解除隱藏才可以看到".wine"),或是指令:
cp -R ~/.wine ~/.wine-backup
這時候你可以在終端機執行 winetricks
winetricks
注意!!! sudo 不能亂用的, 無論任何情況,都不要用sudo或管理員身份執行wine或是其相關設定工具(winetricks, winecfg) !!!
====
補充,如果你winetricks把~/.wine給搞爛了,沒關係,剛才有備份:
cp -R ~/.wine-backup ~/.wine
或是直接砍掉~/.wine, 在重新 winecfg 一份~

 "

以下是在 64位 ubuntu 上面 安装 32位 Picasa 程序的 一个实例:

sudo apt-get install wine winetricksexport WINEARCH=win32wget https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getlibs_2.06-0ubuntu1%7Eppa2_all.debsudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.debgetlibs -p gnome-keyring:i386cd ~/ && wget http://dl.google.com/picasa/picasa39-setup.exewine ~/picasa39-setup.exewinetricks ie6

也可以安装 IE7:  winetricks ie7

然后,使用 wine iexplore 打开IE浏览器。

转载地址:http://ygsvi.baihongyu.com/

你可能感兴趣的文章
X-code7 beta error: warning: Is a directory
查看>>
Error: An App ID with identifier "*****" is not avaliable. Please enter a different string.
查看>>
X-code beta 开发iWatch项目,运行没有错误,但是某些操作一点就崩,而且找不错误的原因场景一
查看>>
Xcode 报错: Extra argument in call
查看>>
iTunes Connect 上传APP报错: Communication error. please use diagnostic mode to check connectivity.
查看>>
#import <Cocoa/Cocoa.h> 报错 Lexical or Preprocessor Issue 'Cocoa/Cocoa.h' file not found
查看>>
`MQTTClient (~> 0.2.6)` required by `Podfile`
查看>>
X-Code 报错 ld: library not found for -lAFNetworking
查看>>
Bitcode
查看>>
If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
查看>>
3.5 YOLO9000: Better,Faster,Stronger(YOLO9000:更好,更快,更强)
查看>>
iOS菜鸟学习--如何避免两个按钮同时响应
查看>>
How to access the keys in dictionary in object-c
查看>>
iOS菜鸟学习—— NSSortDescriptor的使用
查看>>
hdu 3787 hdoj 3787
查看>>
hdu 3790 hdoj 3790
查看>>
hdu 3789 hdoj 3789
查看>>
hdu 3788 hdoj 3788
查看>>
zju 1003 zoj 1003
查看>>
zju 1004 zoj 1004
查看>>