May

18


Thanks to Wine, an open source Windows compatibility layer, Adobe’s Photoshop, Dreamweaver, and Flash all can be installed on Ubuntu.

Wine is not an emulator (hence the name, in true GNU recursive style), but it does provide an alternative, 100-percent-non-Microsoft implementation of the DLLs that Windows programs use. (Wine can also use actual Windows DLLs as well.) The software has been in development for more than 12 years and just reached beta status in the fall of 2005. But Wine has been in widespread use for quite some time, and it’s included in most distributions, including Ubuntu.

Install Wine

The Wine software included with Ubuntu is frequently at least a step behind the current version, so to run the latest version you’ll want to edit your /etc/apt/sources.list file and add Wine’s own apt repository. You can do so manually, or with the Synaptic Package Manager.

To add the line yourself, open Terminal and enter this command:

sudo nano /etc/apt/sources.list

After you furnish your password, the nano editor will open sources.list. Enter this line at the end of the file:

deb http://wine.sourceforge.net/apt binary/

Save the file (press Ctrl-O), then close, open Terminal again and run:

$ sudo apt-get update

This will update the package cache. Now you can install Wine with the command:

sudo apt-get install wine

Configure Wine

The first thing you will want to do with Wine is configure it. You do so by running the Wine configuration utility, winecfg. In Terminal, enter:

winecfg

It’s generally fine to accept the defaults, but you may find it helpful to add a new Windows drive (via the Drives tab) that explicitly maps to your CD-ROM drive. To do so, click the Add button to create a new Windows D drive, and then click Browse to select the path to your CD-ROM (such as /media/cdrom0/). Finally, click the Apply button to finish.

There’s one more thing you should attend to before you begin to install Windows apps, and that is to install Microsoft TrueType fonts (so applications running in Wine can render text correctly) and cabextract, a useful tool for extracting the contents of Microsoft .cab archives. You can install both packages via apt by issuing this command in Terminal:

sudo apt-get install msttcorefonts cabextract

Now your Wine is properly set up!



Similar Posts

Comments

Name (required)

Email (required)

Website

Speak your mind

7 Comments so far

  1. Install Flash CS on Ubuntu | Highub - Web Development Blog on May 18, 2008 9:01 am

    [...] installing Flash, let’s first install Wine. To install and configure Wine, read the article Install and Configure Wine on Ubuntu [...]

  2. Install Photoshop on Ubuntu | Highub - Web Development Blog on May 18, 2008 9:30 am

    [...] Adobe Photoshop, let’s first install Wine. To install and configure Wine, read the article Install and Configure Wine on Ubuntu [...]

  3. Install IE6 using IEs 4 Linux on Ubuntu | Highub - Web Development Blog on June 8, 2008 9:00 am

    [...] install IE6 and below, you should first have cabextract and Wine installed, if not, read Install and Configure Wine on Ubuntu [...]

  4. Install and Play Red Alert 2 on Ubuntu | Highub - Web Development Blog on October 5, 2008 9:11 am

    [...] Install the Wine [...]

  5. Install and Play World of Warcraft on Ubuntu | Highub - Web Development Blog on October 5, 2008 7:00 pm

    [...] Make sure you have Wine installed. [...]

  6. Install and Play Diablo II on Ubuntu | Highub - Web Development Blog on October 11, 2008 10:26 am

    [...] you don’t have Wine installed on your Ubuntu machine, read this post [...]

  7. Willie - Do Not Disturb on November 22, 2008 10:15 am

    [...] Installing and configuring Wine in Ubuntu: http://www.blog.highub.com/linux/install-and-configure-wine-on-ubuntu/ [...]

Sponsors




Links