How to install and configure Wine on Ubuntu Edgy

Feb 23, 2007 11:06 GMT  ·  By

Normally, there shouldn't be a reason to install a MS Windows application on Linux because most applications already have a Linux counterpart available. Unfortunately, there are a few Windows applications that don't have a similar version available for Linux and which hold some people back from completely switching to Linux or totally dropping Windows. For instance, professional photographers and graphic designers will probably need Photoshop or another powerful photo manipulation software that's only available in Windows. If you're in this case, you have a few options: First, run a dual-boot system with Windows and Linux and choose the operating system at start-up so whenever you need Photoshop, quickly reboot and load Windows. Two, run a virtualizer software in Linux which allows you to virtually run Windows inside Linux. Third, try-out several photo managing software for Linux and choose the closest to Photoshop regarding features and usability. Forth, but not last, run Photoshop in Linux using Wine. Wine is an open source Windows emulator which tricks Windows applications to 'think' they are being installed on a real Windows environment, thus completing the installation and successfully running under Linux.

Installing WINE

- Make sure your backports repository is enabled in the Software Sources dialog. - You will also need a Windows box with a correctly installed and registered version of PS.

- Open a terminal and type

code
$ sudo apt-get update
$ sudo apt-get install wine wine-dev recode
- Test the installation by downloading a small and simple Windows program (WinRAR) and download the installer in your home directory:
code
$ wget http://www.rarlab.com/rar/wrar362.exe
$ wine wrar362.exe
Installing Windows Software

- Installing them is easy, follow the same steps as for WinRAR. Download the executable and type:

code
$ wine /path/to/executable.exe
- After installation, change directory to wine virtual Program Files:
code
$ cd "/home/your-user/.wine/drive_c/Program Files/program-name"
- Run the installed program by typing:
code
$ wine program-name.exe -winver winxp
Keep in mind that not all Windows programs will work with Wine. Moreover, some programs won't work or will look ugly without the Windows fonts. There is however a way to install Windows fonts in Ubuntu by typing:
code
$ sudo apt-get install msttcorefonts
Have fun!