如何在ubuntu上安装最新版的Wine

原文:[url]http://www.winehq.org/site/download-deb[/url]

Ubuntu and other Debian-based distributions utilize a special tool for managing packages known as APT. APT is able to automagically install all of the needed dependencies for a software package, as well as keep the package up to date, by scanning what are known as APT repositories. Debian-based distributions have their own repositories of software that include Wine, however we keep our own repository of the latest available beta packages here for download.

Warning: These are beta packages

The packages here are beta packages. This means they will periodically suffer from regressions, and as a result an update may break functionality in Wine. If the latest stable release of Wine (currently Wine 1.0.1) works for you, then you may not want to use these beta packages.

Adding the WineHQ APT Repository:

Open the Software Sources menu by going to System->Administration->Software Sources. Then select the Third Party Software tab and click Add.
System->Administration->Software
Then, copy and paste one of the lines below depending on which version you are running.
For Ubuntu Intrepid (8.10):
deb [url]http://wine.budgetdedicated.com/apt[/url] intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"
For Ubuntu Hardy (8.04):
deb [url]http://wine.budgetdedicated.com/apt[/url] hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"
For Debian Lenny (5.0):
deb [url]http://wine.budgetdedicated.com/apt[/url] lenny main #WineHQ - Debian 5.0 "Lenny"

Trusting the WineHQ APT Repository and installing Wine:

After adding the repository, you also need to add the key for the repository to your system's list of trusted keys.
Download and save Scott Ritchie's key to your desktop. Then open the Authentication tab, click import key file, and select the key file you just saved (Scott Ritchie.gpg). It is safe to delete this file after doing this step.
System->Administration->Software
Click close to finish, and then reload the package information. If you have Wine installed, the system's update manager will now inform you of the latest Wine beta release and prompt you to upgrade. If you haven't installed Wine yet, go to Applications->Add/Remove and search for Wine.

Upgrading to a new version of Ubuntu

If you are upgrading the entire system, such as going from Ubuntu 8.04 to 8.10, you will need to come back to this page and add the repository for the new version above. The built in update manager will not switch the Wine repository automatically.

Older .deb packages

Since the APT repository can only hold the latest packages, older versions of the packages are available at the WineHQ .deb packages archive.
You can install downloaded packages by double-clicking on them.

你可能感兴趣的:(linux,职场,ubuntu,wine,休闲)