Linux下安装Wine运行、卸载windows程序
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Linux下安装Wine运⾏、卸载windows程序
资料
1.安装Wine
本⽂以Ubuntu为例,其它请到官⽹参考详细⽂档
2.1 Installing WineHQ packages
If you have previously installed a Wine package from another repository, please remove it and any packages that depend on it (e.g., wine-mono, wine-gecko, winetricks) before attempting to install the WineHQ packages, as they may cause dependency conflicts.
If your system is 64 bit, enable 32 bit architecture (if you haven't already):
$sudo dpkg --add-architecture i386
Add the repository:
$sudo add-apt-repository ppa:wine/wine-builds
Update packages:
$sudo apt-get update
Then install one of the following packages:(注意:Staging版⼀般不稳定)
Stable branch sudo apt-get install --install-recommends winehq-stable
Development branch sudo apt-get install --install-recommends winehq-devel
Staging branch sudo apt-get install --install-recommends winehq-staging
If apt-get complains about missing dependencies, install them, then repeat the last two steps (update and install).
If you have previously used the distro packages, you will notice some differences in the WineHQ ones:
Files are installed to /opt/wine-devel.
Menu items are not created for Wine's builtin programs (winecfg, etc.), and if you are upgrading from a distro package that had added them, they will be removed. You can recreate them yourself using your menu editor.
Binfmt_misc registration is not added. Consult your distro's documentation for if you wish to do this manually.
WineHQ does not at present package wine-gecko or wine-mono. When creating a new wine prefix, you will be asked if you want to download those components. For best compatibility, it is recommended to click Yes here. If the download doesn't work for you, please follow the instructions on the and wiki pages to install them manually.
2.2 安装⽬录
成功后会在 /opt ⽬录下⽣成wine-staging⽬录
~/.wine/drive_c 是windows⽬录
2.⽤wine运⾏exe⽂件
终端下 wine xxx.exe
$wine Si3576Setup.exe
图形界⾯
右键点xxx.exe 选Open With -> Wine Windows Program Loader
3.卸载安装的程序
3.1 ⽤应⽤提供的卸载程序
在相应的⽬录下找到卸载程序,如uninstall.exe 。
然后右键选Open With -> Wine Windows Program Loader
3.2 wine uninstaller 命令
输⼊命令:
$wine uninstaller
找到相应程序卸载,也可以⽤它安装应⽤。
。