Page 1 of 51 12311 ... LastLast
Results 1 to 10 of 508

Thread: HOWTO Setup Wine

  1. #1
    Join Date
    Feb 2006
    Location
    Cambs, England
    Beans
    148
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    HOWTO Setup Wine

    *** UPDATE 19-07-2006 (UK DATE SYSTEM ) This howto was originally written for breezy badger, I can now confirm it also works on dapper drake

    *** UPDATE 15-12-2008 Updated for Intrepid Ibex, and fixed dead winetools link (thanks to Murdoc_of_puts post 485)

    After a lot of searching here there and every where I finally know how to get wine working on my machine anyway, every time without fail, and as there is a lack of how to's on wine, I thought i would give the Ubuntu community something back. This is my first how to, so don't be to harsh if it dosen't work for you.

    First we get the wine0.95.deb from winehq http://kent.dl.sourceforge.net/sourc...ehq-1_i386.deb

    or if you want to open a terminal (alt+F2 then type gnome-terminal then enter) to download it use this command

    Code:
     wget http://kent.dl.sourceforge.net/sourceforge/wine/wine_0.9.5-winehq-1_i386.deb
    In case your wondering why we are not downloading the latest version of wine its because internet explorer install breaks on newer versions and you will probably need internet explorer to get other programs working, but we will update wine after, so don't worry

    Right so we got our Wine .deb so lets unpackage it in our terminal dont forget to change directory to where you downloaded wine (if you used the above command you should already be there)

    Code:
    sudo dpkg -i wine*.deb
    ok, so we no have wine, but how do i use it, set up a C:/ D:/ etc i hear you cry, let alone install anything, well here come the great little app called winetools

    I have now learned that winetools has at least one dependancy, pointed out by replies on this forum, here is the command for installing it (added 1st April 06, after 12 not a april fool btw)

    Code:
    sudo apt-get install libgtk1.2
    wine tools can be downloaded here

    or if your still with me in the good old terminal you can use this command

    Code:
    wget http://www.sfr-fresh.com/linux/misc/winetools-0.9jo-III.tar.gz
    ok, so we got this great tool no we need to unpack it

    Code:
    tar -xf winetools*
    and install it

    Code:
    cd winetools*
    sudo ./install
    Done so lets start this wonderfull tool with this

    Code:
    wt
    you will get loads of messages popup about not being configured etc, just keep clicking ok oh and that you should also own a copy of windows to use some of these tools. Yeah Yeah on with the plot.

    You should finally get to a menu

    So first we go for base setup, then create a fake windows drive
    Next winetools will find your cdrom for you so it can set it up for wine
    Followed by a username and organization, I Just leave theese as is
    After a few fake windows restarts later we are told fake drive completed. Yippee

    We are back to the base setup menu, now select DCOM98 and then go down the list installing all the programs on the list, obvioulsy only do internet explorer in your language, the reason we have left the Arial font out is because the link to this is dead, but we will sort this later. Just click next and ok on everything, im sure you know how window installers work.

    Ok so we have finished the first list, hit the main menu button to get us back to the start.

    next click install windows system software then click ok

    again install everything thats in the list from top to bottom in your own language, and install visual basic 5 & 6

    ok, so now we gotta sort out theese fonts as the links that winetools uses to retrieve them is dead, so click main menu followed by exit to leave winetools

    now then back to our friend the terminal
    ok so first we need to make and move to the directory where winetools would have downloaded the fonts

    Code:
    mkdir ~/winetools/fonts
    cd ~/winetools/fonts
    you might get an error saying the file exsits, if you do don't worry just continue

    Next we download the fonts from a link that is still around at the time of writing this, you might want to copy and paste this one into your terminal

    Code:
    wget http://kent.dl.sourceforge.net/sourceforge/corefonts/andale32.exe && wget http://kent.dl.sourceforge.net/sourceforge/corefonts/arial32.exe && wget http://kent.dl.sourceforge.net/sourceforge/corefonts/arialb32.exe &&  wget http://kent.dl.sourceforge.net/sourceforge/corefonts/comic32.exe &&  wget http://kent.dl.sourceforge.net/sourceforge/corefonts/courie32.exe &&  wget http://kent.dl.sourceforge.net/sourceforge/corefonts/georgi32.exe &&  wget http://kent.dl.sourceforge.net/sourceforge/corefonts/impact32.exe &&  wget http://kent.dl.sourceforge.net/sourceforge/corefonts/times32.exe &&  wget http://kent.dl.sourceforge.net/sourceforge/corefonts/trebuc32.exe &&  wget http://kent.dl.sourceforge.net/sourceforge/corefonts/verdan32.exe &&  wget http://kent.dl.sourceforge.net/sourceforge/corefonts/webdin32.exe
    Ok, so we now have the fonts downloaded, next back to winetools to install them

    Code:
    wt
    Select base setup again then install true type font arial

    Next main menu then select Install Microsoft true type corefonts, yet again go all the way down the list until you have installed all the fonts.

    done that, so main menu and exit winetools

    Ok so we should now have a working wine, with internet explorer installed and windows media player 6 hopefully :s

    we should be able to start Internet Explorer with the following

    Code:
     wine "/home/USERNAME/.wine/c/Program Files/Internet Explorer/IEXPLORE.EXE"
    Dont forget to change USERNAME to your own username

    With any luck your using internet explorer now

    although we dont want to have to write this in everytime we want to start internet explorer, so right click the desktop and create a launcher and paste the previous code in there for a desktop shortcut, or make a menu shortcut which ever you prefer.

    Here is the code for Outlook and Windows Media Player

    Code:
    wine "/home/USERNAME/.wine/c/Program Files/Outlook Express/msimn.exe"
    and

    Code:
     wine "/home/USERNAME/.wine/c/Program Files/Windows Media Player/mplayer2.exe"
    and really thats about it, you can also navigate using your file browser and double click .exe files and wine will launch them, like installers for programs and so on, then its just a case of finding the .exe that starts the program and making your custom launcher for it, your wine c: should always be found in /home/USERNAME/.wine/c. As long as know a bit about the windows file layout you should have no problem in finding them, always remember when creating your launchers that linux is case sensitive, so dont forget the caps.

    Two last things to do

    Firstly updating wine 0.95 to the latest version, remember we had to use 0.95 because internet explorer will not install on newer versions, although this maybe fixed now. There is no need to panic though, we just add a wine repository to our sources.list like this.

    Code:
    sudo gedit /etc/apt/sources.list
    then add this line to the bottom of the file

    http://www.openoffice.de/wt/winetools-0.9jo-III.tar.gz

    then save your sources.list and run the following in terminal to update your wine installation

    Code:
    sudo apt-get update
    sudo apt-get upgrade
    This should update wine to the latest version released by wineHQ, and will always be updated with the rest of your updates when a new version is released, Good hey

    The second thing to do is to tell you about the winecfg command

    Code:
    winecfg
    This little panel allows you to change the default wine settings, like which windows version to try to act as, and what builtin and native dll's to use, I would suggest leaving the global settings to windows98 as this seems to work best, but you can change the windows version for individual .exe's if a program only works on a certain version of windows, if a program dosen't quite work right this is the place to go, although the full usage of winecfg is a bit beyond the scope of this howto, you should get familiar with it quite soon

    If you have problems with a certain program i find it always pays to just put in a google search "program name winehq" and you will usually find the program in the winehq database and find out what success people have had at getting the program to work and what they did to achieve it, very helpfull

    One last point, if you use any programs that reside in the windows system tray then the system tray icons do not show up, a workaround is to open up a kde application that uses a tray icon and then the windows tray icons will appear, i.e i have amarok start when gnome starts, kalarm is a good one to use if you dont use amarok, even after you quit your kde program the windows icons will remain. I believe this shouldn't be a problem for KDE users.

    Anyway hope this was some help to a least one person out there, and I will probably add a MSN Messenger HOWTO this as soon as i get the time, let me know how you get on, In the meantime happy wineing
    Last edited by gazj; April 26th, 2009 at 11:10 AM. Reason: update
    Gaz

  2. #2
    Join Date
    Nov 2005
    Beans
    101
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO Setup Wine

    Thanks for the HOWTO.

    You made one small typo by the way by forgetting the first / in
    wine "home/USERNAME/.wine/c/Program Files/Internet Explorer/IEXPLORE.EXE" , but I suppose most people will spot that. Great howto anyway.

  3. #3
    Join Date
    Mar 2006
    Beans
    3
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO Setup Wine

    First, thanks for putting this up. I was having a ton of trouble finding help on getting IE to work in Wine and on getting Winetools in Ubuntu. (I'm so much of a noob that the winetools page was confusing. Do rpm's work in a Debian distribution?) This howto was exactly what I needed.

    Second, I have Wine 0.9.10 installed and everything turned out well after following your guide. IE is up and running just fine. (Well, I had trouble with the ad page for Salon, but I think that is a flash-in-IE-in-Wine problem not a problem of the Wine version by itself.)

  4. #4
    Join Date
    Aug 2005
    Beans
    428
    Distro
    Hardy Heron (Ubuntu Development)

    Re: HOWTO Setup Wine

    I already have wine installed, aswell as a few programs. Am I able to install wine tools without messing up my current wine installation?

  5. #5
    Join Date
    Feb 2006
    Location
    Cambs, England
    Beans
    148
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO Setup Wine

    mark_g Thanks for the HOWTO.

    You made one small typo by the way by forgetting the first / in
    wine "home/USERNAME/.wine/c/Program Files/Internet Explorer/IEXPLORE.EXE" , but I suppose most people will spot that. Great howto anyway.
    Thanks for pointing that out, is now fixed
    Gaz

  6. #6
    Join Date
    Feb 2006
    Location
    Cambs, England
    Beans
    148
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO Setup Wine

    cbudden I already have wine installed, aswell as a few programs. Am I able to install wine tools without messing up my current wine installation?
    13 Hours Ago 11:58 PM
    There is an option in wine tools, instead of creating wine base installation, you cant point an exsisting wine installation to it, everything should be ok, but theres never 100% gaurantee, its probably best to start fresh, if your programs you already have won't take too much installing back on, its your choice
    Gaz

  7. #7
    Join Date
    Feb 2006
    Location
    Cambs, England
    Beans
    148
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO Setup Wine

    Quote Originally Posted by oddman
    First, thanks for putting this up. I was having a ton of trouble finding help on getting IE to work in Wine and on getting Winetools in Ubuntu. (I'm so much of a noob that the winetools page was confusing. Do rpm's work in a Debian distribution?) This howto was exactly what I needed.

    Second, I have Wine 0.9.10 installed and everything turned out well after following your guide. IE is up and running just fine. (Well, I had trouble with the ad page for Salon, but I think that is a flash-in-IE-in-Wine problem not a problem of the Wine version by itself.)
    You can use .rpm in ubuntu although original .deb is better

    You can use a command prompt called alien to do the converstion

    Code:
    alien exampleprog.rpm
    to get alien

    Code:
    sudo apt-get install alien
    i havent tried the .rpm of winetools, let me know how you get on
    Gaz

  8. #8
    Join Date
    Sep 2005
    Location
    Houston, Texas
    Beans
    171
    Distro
    Ubuntu 6.06

    Re: HOWTO Setup Wine

    Umm, the .deb is a little outdated, I suggest you make a new one with the version 9.10 (the current version).

  9. #9
    Join Date
    Feb 2006
    Location
    Cambs, England
    Beans
    148
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO Setup Wine

    Quote Originally Posted by Harold P
    Umm, the .deb is a little outdated, I suggest you make a new one with the version 9.10 (the current version).
    The reason the old .deb is used, is because internet explorer setup within winetools fails on any newer version, the how to later updates to the latest version from apt-get, this was the case with versions 9.6-9.9, however this may not be an issue with 9.10 as i have not tried it on this version.

    Thanks for pointing that out though
    Gaz

  10. #10
    Join Date
    Sep 2005
    Location
    Canada
    Beans
    86
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO Setup Wine

    Hi,
    Thanks for the HOWTO, works quite well, and I should report that I've had no problem running IEXPLORE.EXE with Wine 0.9.10. The only problem I am having is that I want to install some software that requires the "Windows Installer 2.0", which I have retrieved from here. The problem is that I can't install the Windows Installer, it just exits with the following errors:
    Code:
    fixme:msiexec:main /regserver not implemented yet, ignoring
    fixme:msiexec:main /unregserver not implemented yet, ignoring

Page 1 of 51 12311 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •