个人工具

“UbuntuHelp:WineForAMD64”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第58行: 第58行:
 
The solution for people with Nvidia video cards that have this error [http://www.ubuntuforums.org/showthread.php?t=199589 can be found here].
 
The solution for people with Nvidia video cards that have this error [http://www.ubuntuforums.org/showthread.php?t=199589 can be found here].
 
No Sound in Windows applications.
 
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  
+
You may need to install the 32bit sound libraries. You can use Synaptic to install lib32asound2 or open a terminal and type <pre><nowiki>sudo apt-get install lib32asound2
<pre><nowiki>sudo apt-get install lib32asound2
+
 
</nowiki></pre>
 
</nowiki></pre>
 
If you have other issues, questions, or need further assistance, you can [http://www.ubuntuforums.org/showthread.php?t=185557 visit the Forum thread] this page was based on.
 
If you have other issues, questions, or need further assistance, you can [http://www.ubuntuforums.org/showthread.php?t=185557 visit the Forum thread] this page was based on.

2007年12月6日 (四) 11:05的版本

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 Gutsy 7.10 and later

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.