特殊:Badtitle/NS100:WineForAMD64
![]() |
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/WineForAMD64 }} |
![]() |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/af | • {{#if: UbuntuHelp:WineForAMD64|Afrikaans| [[::WineForAMD64/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/ar | • {{#if: UbuntuHelp:WineForAMD64|العربية| [[::WineForAMD64/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/az | • {{#if: UbuntuHelp:WineForAMD64|azərbaycanca| [[::WineForAMD64/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/bcc | • {{#if: UbuntuHelp:WineForAMD64|جهلسری بلوچی| [[::WineForAMD64/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/bg | • {{#if: UbuntuHelp:WineForAMD64|български| [[::WineForAMD64/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/br | • {{#if: UbuntuHelp:WineForAMD64|brezhoneg| [[::WineForAMD64/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/ca | • {{#if: UbuntuHelp:WineForAMD64|català| [[::WineForAMD64/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/cs | • {{#if: UbuntuHelp:WineForAMD64|čeština| [[::WineForAMD64/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/de | • {{#if: UbuntuHelp:WineForAMD64|Deutsch| [[::WineForAMD64/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/el | • {{#if: UbuntuHelp:WineForAMD64|Ελληνικά| [[::WineForAMD64/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/es | • {{#if: UbuntuHelp:WineForAMD64|español| [[::WineForAMD64/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/fa | • {{#if: UbuntuHelp:WineForAMD64|فارسی| [[::WineForAMD64/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/fi | • {{#if: UbuntuHelp:WineForAMD64|suomi| [[::WineForAMD64/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/fr | • {{#if: UbuntuHelp:WineForAMD64|français| [[::WineForAMD64/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/gu | • {{#if: UbuntuHelp:WineForAMD64|ગુજરાતી| [[::WineForAMD64/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/he | • {{#if: UbuntuHelp:WineForAMD64|עברית| [[::WineForAMD64/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/hu | • {{#if: UbuntuHelp:WineForAMD64|magyar| [[::WineForAMD64/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/id | • {{#if: UbuntuHelp:WineForAMD64|Bahasa Indonesia| [[::WineForAMD64/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/it | • {{#if: UbuntuHelp:WineForAMD64|italiano| [[::WineForAMD64/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/ja | • {{#if: UbuntuHelp:WineForAMD64|日本語| [[::WineForAMD64/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/ko | • {{#if: UbuntuHelp:WineForAMD64|한국어| [[::WineForAMD64/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/ksh | • {{#if: UbuntuHelp:WineForAMD64|Ripoarisch| [[::WineForAMD64/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/mr | • {{#if: UbuntuHelp:WineForAMD64|मराठी| [[::WineForAMD64/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/ms | • {{#if: UbuntuHelp:WineForAMD64|Bahasa Melayu| [[::WineForAMD64/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/nl | • {{#if: UbuntuHelp:WineForAMD64|Nederlands| [[::WineForAMD64/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/no | • {{#if: UbuntuHelp:WineForAMD64|norsk| [[::WineForAMD64/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/oc | • {{#if: UbuntuHelp:WineForAMD64|occitan| [[::WineForAMD64/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/pl | • {{#if: UbuntuHelp:WineForAMD64|polski| [[::WineForAMD64/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/pt | • {{#if: UbuntuHelp:WineForAMD64|português| [[::WineForAMD64/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/ro | • {{#if: UbuntuHelp:WineForAMD64|română| [[::WineForAMD64/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/ru | • {{#if: UbuntuHelp:WineForAMD64|русский| [[::WineForAMD64/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/si | • {{#if: UbuntuHelp:WineForAMD64|සිංහල| [[::WineForAMD64/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/sq | • {{#if: UbuntuHelp:WineForAMD64|shqip| [[::WineForAMD64/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/sr | • {{#if: UbuntuHelp:WineForAMD64|српски / srpski| [[::WineForAMD64/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/sv | • {{#if: UbuntuHelp:WineForAMD64|svenska| [[::WineForAMD64/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/th | • {{#if: UbuntuHelp:WineForAMD64|ไทย| [[::WineForAMD64/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/tr | • {{#if: UbuntuHelp:WineForAMD64|Türkçe| [[::WineForAMD64/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/vi | • {{#if: UbuntuHelp:WineForAMD64|Tiếng Việt| [[::WineForAMD64/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/yue | • {{#if: UbuntuHelp:WineForAMD64|粵語| [[::WineForAMD64/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/zh | • {{#if: UbuntuHelp:WineForAMD64|中文| [[::WineForAMD64/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/zh-hans | • {{#if: UbuntuHelp:WineForAMD64|中文(简体)| [[::WineForAMD64/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:WineForAMD64 | UbuntuHelp:WineForAMD64 | {{#if: | :}}WineForAMD64}}/zh-hant | • {{#if: UbuntuHelp:WineForAMD64|中文(繁體)| [[::WineForAMD64/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:WineForAMD64|:WineForAMD64|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :WineForAMD64/zh | | {{#ifexist: WineForAMD64/zh | | {{#ifeq: {{#titleparts:WineForAMD64|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:WineForAMD64|1|-1|}} | zh | | }}
WineForAMD64
Wine is a compatibility layer that allows some Windows applications to run on Linux. Until Gutsy, Ubuntu did not include a working Wine package for AMD64. This page is designed to enable users of the AMD64 version of Ubuntu Dapper Drake or Edgy Eft to install Wine.
Installation on Hardy 8.04 and later
It is possible to install wine from the package manager. If you are using the Universe repositories, just mark the wine package for installation and apply the changes. It is recommended to configure Wine after, either by running 'Configure Wine' from the 'Wine' menu inside the 'Applications' navigation menu or by executing the winecfg command on the terminal. Alternatively, you can compile and install Wine from source at the BuildingWineFromSource page.
Hardy 8.04 (64-bit) & Sound
PulseAudio and Wine appear not to work so happily together when it comes to sound, luckily there is a workaround! Bypass PA with pasuspender and use the ALSA sound driver in wine.
pasuspender winecfg
Launch applications similarly
pasuspender wine app.exe
Installation on Gutsy 7.10
No special instructions are needed - you can install the Wine package that comes with Gutsy (0.9.46) by simply enabling the Universe repositories and selecting it for install. See Wine
Installation on Feisty 7.04
Packages for the 64 bit version of Ubuntu Feisty (7.04) are now available. To install them, use the "Newer Versions of Wine" instructions at Wine.
Installation on Edgy 6.10 or Dapper 6.06
At this moment there is no AMD64-package available. So the i386 architecture is forced to be used. First download the Wine package. You want the latest version available for either dapper or edgy, depending on which one you're using. New versions are released about twice a month. Next get the libxxf86dga1 package When the download fails, check the url on the redirect page, it could be that 'ubuntu' is missing in the url after /ubuntu.com/, for example [1] Save both of these files to your desktop. First we will install the needed libraries. Open a terminal and enter
cd ~/Desktop dpkg -x libxxf86dga1_1.0.0-0ubuntu3_i386.deb libs sudo cp ~/Desktop/libs/usr/lib/* /usr/lib32
Now that we have installed the libxxf86dga package, we will now install Wine. You may have to edit the command to reflect the version number of the .deb you downloaded.
sudo dpkg --force-architecture -i wine_0.9.30~winehq0~ubuntu~6.06-1_i386.deb
You can delete the files from your desktop when you're done.
Sidenet Script
If you followed the instructions above you may install the Sidenet script by hand. Sidenet adds fonts, a virtual c drive in you home folder, and sets up the windows dll's in the wine registry, however this method is not supported or recommended by the Wine developers. Users who installed with the below install script do not need to run the Sidenet setup because its included. Please do not run this setup script with sudo. Download the file to your desktop. Open a terminal and enter
cd ~/Desktop tar -xzvf sidenet.tar.gz sidenet
Then we change the directory and run the script.
cd ~/Desktop/sidenet ./setup
Installation Script with Sidenet included
There is an automatic installation script available. This one is for Dapper and This one is for Edgy save the correct one to your desktop and extract the package. Open a terminal and enter
cd ~/Desktop/wine ./wine
The script can also be used to upgrade existing installations. This script should not be run with sudo. For those that have used older scripts we no longer need to run a separate sidenet script afterwords. fatsheep has helped by giving the code that allows us to run everything from one script.
Edgy Eft
I had a long conversation on the developers mailing list. In it I found out that since they now have a 64bit open office they will be removing the ia32 packages. These packages contain the 32bit libaries for running 32bit applications on 64bit Ubuntu. Because of this some more packages will need to be installed. They are in the repositories and should install with apt. So open a terminal and enter.
sudo apt-get install ia32-libs
We may be adding more packages as development continues. If you have a problems make a post here. Mention that you are running Edgy if you are. Copy and paste into the post the complete error from the terminal. The error will contain the following.
err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv":
Common Issues
Error 1
fixme:wgl:X11DRV_setup_opengl_visual Failed to find a suitable visual
To fix this error you need to install/update the drivers for your video card to enable openGL. To test if they are enabled, type glxgears into a terminal. If you do not see a window open with 3 spinning gears it confirms that you need the drivers. Error 2
error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
The solution for people with Nvidia video cards that have this error can be found here. No Sound in Windows applications.
You may need to install the 32bit sound libraries. You can use Synaptic to install lib32asound2 or open a terminal and type
sudo apt-get install lib32asound2
If you have other issues, questions, or need further assistance, you can visit the Forum thread this page was based on.