在64位元環境下編譯安裝wine 32bit/64bit

  ubuntu升上9.10後,wine就變得怪怪的,安裝時只能裝套件管理程式的wine 1.2,卻無法安裝主要的wine,從軟體中心安裝也會出現相依性錯誤,只裝1.2的話,運行部份程式又會出錯,最後只好自己手動編譯wine了。

Error appearing in Ubuntu Software Center:

Error appearing in Synaptic

[Download source code]
http://sourceforge.net/projects/wine/files/Source/Download source code,Currently the latest version is 1.1.33
After download is complete,Right-click to extract

[Compile/Install for 32bit Wine]
● Preparations
wget http://winezeug.googlecode.com/svn/trunk/install-wine-deps.sh
sudo sh install-wine-deps.sh
These are the environment packages needed to compile 32-bit Wine

● Compile/Install
./configure
make depend
make
sudo make install
The 'make' process takes about half an hour

● Run
wine "檔案名稱",例如:wine notepad

● Remove
sudo make uninstall wine

[Compile/Install for 64-bit wine]
● Compile/Install
./configure –enable-win64
make depend
make
sudo make install
make will also take a long time

● Run/Remove
Same as the 32-bit instructions

Although in the end my problem was still not solved,I still want to record the results of a whole morning of research。Additionally, it should be noted that,If you install 64-bit wine,You will only be able to run 64-bit Windows programs,If you run the 32-bit version, you will get an error message。


[Related Links]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.