Install and Configure Wine on Ubuntu

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!

Be Sociable, Share!

About Shi Chuan

I am a web developer.
This entry was posted in Linux and tagged , . Bookmark the permalink.

24 Responses to Install and Configure Wine on Ubuntu

  1. Pingback: Install Flash CS on Ubuntu | Highub - Web Development Blog

  2. Pingback: Install Photoshop on Ubuntu | Highub - Web Development Blog

  3. Pingback: Install IE6 using IEs 4 Linux on Ubuntu | Highub - Web Development Blog

  4. Pingback: Install and Play Red Alert 2 on Ubuntu | Highub - Web Development Blog

  5. Pingback: Install and Play World of Warcraft on Ubuntu | Highub - Web Development Blog

  6. Pingback: Install and Play Diablo II on Ubuntu | Highub - Web Development Blog

  7. Pingback: Willie - Do Not Disturb

  8. Pingback: Install msi on Ubuntu | Highub - IT Web Tips Tricks

  9. Karl Sullivan says:

    How do I automatically run games like Age of Empires from the cdrom once I’ve installed it through wine–or do I even need to worry about configuring something for that?

    Please, someone send me a response ASAP–I need help!

  10. Arun says:

    how to install tally in ubuntu…. give me the good solution.. step by step… pls.. send me solution soon…

  11. Asiri says:

    Hi,
    Thanks a lot.
    That was really helpful.

  12. Aaron says:

    whenever i try to install wine, it tells me that it was not able to lock something

  13. Fracta says:

    Aaron: make sure you aren’t running Synaptic Package Manager or Update Manager at the same time

  14. Ganesh Bansal says:

    i will use ubuntu 10.04 version & i also wine 1.2 version i will install tally.epp9 1.61 version but i open tally she give a error (out of merrory ) so what i do to solve this problum

  15. Hernan says:

    I could install the wine app properly. However, when i need to install the msi file i get the following error message….

    err:msidb:load_string_table string table load failed! (00293503 != 00133503)

    I am using ubuntu 10.04;

    How can i solve it??

    Thanks and advice!

  16. ram says:

    i need help
    i installed wine 1.2
    but unknowingly i set its dpi to max and now all windows opening in wine are very large in size and font
    how to correct it.
    pls help

  17. abhi says:

    i followed the steps they worked fine.
    but during the step,
    which was like>>
    winecfg
    i got this message>>
    The program ‘winecfg’ can be found in the following packages:
    * wine1.2
    * wine1.0
    Try: sudo apt-get install
    when i then typed
    sudo apt-get install
    i got something like this..
    what to do??
    plz help..

    bash: syntax error near unexpected token `newline’

  18. Hello there, You’ve done an excellent job. I?ll definitely digg it and individually recommend to my friends. I am confident they will be benefited from this site.

  19. F*ckin? tremendous issues here. I?m very happy to look your article. Thank you a lot and i am looking forward to touch you. Will you kindly drop me a e-mail?

  20. My brother recommended I may like this blog. He used to be totally right. This submit actually made my day. You cann’t imagine just how so much time I had spent for this info! Thanks!

  21. Joel says:

    thankyou so much. this was really helpful. God bless ;-)

  22. Manikandan says:

    thanks it is working good . once again thanks for sharing the use full info. with us

  23. Marcia says:

    I see you share interesting content here, you can earn some extra cash, your blog has huge potential, for the monetizing
    method, just type in google – K2 advices how to monetize a website

  24. Marla says:

    I read a lot of interesting content here. Probably you spend a lot
    of time writing, i know how to save you a lot of
    time, there is an online tool that creates high quality, SEO friendly posts in seconds,
    just search in google – laranitas free content source

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>