Page 1 of 11 123 ... LastLast
Results 1 to 10 of 104

Thread: Multiple Wine Installer now Available for Ubuntu !!!

  1. #1
    Join Date
    Oct 2006
    Location
    Solo, Indonesia
    Beans
    1,319
    Distro
    Ubuntu 14.04 Trusty Tahr

    Multiple Wine Installer now Available for Ubuntu !!!

    Warning: To use multiple wine, you must remove wine from ordinary installation. So, just install any version of wine you want using this installer.
    UPDATE:
    - Bug fix: Enable wineprefixcreate for older wine ( 24/11/08 )
    - Ensure installing deb package to empty directory ( 1/11/08 )
    - Added installation using deb package ( 31/10/08 )
    - Workaround to solve Preloader: Warning: failed to reserve range 00000000-60000000 for older wines ( 13/10/08 )
    - Remove valgrind and libldap2-dev if older wines fail to compile. ( 13/10/08 )
    - Previous installer might not work smoothly as I attached the wrong one (work in progress). I have revised to the new one, now completely GUI. You do not need to run in terminal any more, just run it because I have added progress bar GUI for all long processes. ( 11/10/08 )

    ================================================== =====================================
    The bad news, sometimes certain application could run on certain wine version, but could not run on later wine version. Problem start occur if a few application that you want to run needed different wine versions.

    Off course you could run regression test and report to wine developer, but in the mean time you have to upgrade/downgrade wine to suit applications you want to run.

    Sometimes you are not sure which wine version is suitable for your application, but to try many versions of wine require you to downgrade and upgrade continuously.

    The good news is:

    Update:
    If you want to use downloaded deb package, you do not need to run sudo apt-get build-dep wine. Just make sure you have lzma installed:

    Code:
    sudo apt-get install lzma
    It is much faster then compiling from source and require much lesser disc space.

    For system other than gnome, you might not have zenity which is use in this script. As such, you will need to install zenity:

    Code:
    sudo apt-get install zenity

    I just finished making a script to install multiple wine at the same time, and all are installed in your home directory so that it will not mess up your system files

    You could install as many wine version as you want with this installer. I have tried it with wine 1.0, 1.1.0 - 1.1.5, all installed at the same time and what you have to do is just to click and click, no command line needed.

    This installer also could install older wine versions, and also future wine version by selecting "wine-other" option, I have tried to install wine-0.9.59 using this option and it went well.

    What you have to do is:

    1. sudo apt-get build-dep wine (you could skip this step if you want to install using deb packages only)
    2. - download the installer attached,
    - extract it, and then
    - double click the extracted file to run,
    - Choose "Run" (you could "Run in terminal" but not necessary)

    If you compile from source, it could take a few hours, depending on how fast your computer is and how many wine versions you choose to install. But if you choose to install from downloaded deb package, it just took a few seconds or minutes.

    The installer will do below actions:
    1. Downloading wine source codes according to your selection.
    2. Extracting, compiling and installing with a minor tweak to suit "multiple wine" situation.
    3. It comes with uninstaller, in case you want to uninstall it.

    USAGE

    I have many wine versions now in my computer, but how do I use them? Here is the answer.

    There are two ways to use it:
    1. Without changing system file,
    2. Make a link in system file (a little bit more dangerous but much more convenient to use).

    1. Without changing system file


    1.1 Adding "open with" and changing default wine
    Right click on any exe file and choose:

    Properties> Open with > Add > Use a custom command > Browse > navigate to $home/wine-X.X.X (that you have installed) > bin > wine-X.X.X and click "open" button. > click "Add" button.
    Repeat the above process until all wine version appear in the "open with" tab.

    And to choose the default wine when you double click exe file, select the radio button there as you wish.

    1.2. Changing launcher
    For application launcher, you have to substitute wine in the "command" entry to "$home/wine-x.x.x/bin/wine-xxx"

    Using this method, you have to give full path to launch wine-x.x.x in terminal (i.e. $home/wine-x.x.x/bin/wine-xxx yourprogram.exe)
    2. Make a link in system file (a little bit more dangerous but much more convenient to use)

    First, you have to make a link in your /usr/bin directory:
    Open terminal and:

    Code:
    cd /usr/bin
    Next, make a link:

    Code:
    sudo ln -s '$home/wine-X.X.X/bin/wine-X.X.X'
    and key in your password as requested.

    1.1 Adding "open with" and changing default wine
    Right click on any exe file and choose:

    Code:
    Properties> Open with > Add > wine-x.x.x > click "Add" button.
    Yes, now it available in the application selection. Repeat the above process until all wine versions appear in the "open with" tab.

    And to choose the default wine when you double click exe file, select the radio button there as you wish.

    1.2. Changing launcher
    For application launcher, you have to substitute wine in the "command" entry to wine-x.x.x

    Using this method, you could also launch wine-x.x.x from terminal (i.e. wine-x.x.x yourprogram.exe)

    If later on you decide to remove certain wine version, you should remove this link as well. To remove it:

    Code:
    cd /usr/bin
    Next, remove the un-needed link:

    Code:
    sudo rm wine-X.X.X

    Troubleshooting

    1. Older wines fail to compile.
    If you want to install old wines and it fail to compile, remove 2 packages:

    Code:
    sudo apt-get remove valgrind libldap2-dev
    and then run the installer again.

    2. Preloader: Warning: failed to reserve range 00000000-60000000


    http://wiki.winehq.org/PreloaderPageZeroProblem

    Please let me know if you have any questions.

    DK

    PS: Please do not confuse multiple wine with wineprefix. With this installer you could have multiple wine versions and multiple wineprefix.
    Attached Files Attached Files
    Last edited by david_kt; February 18th, 2009 at 08:46 AM. Reason: added install from deb package

  2. #2
    Join Date
    Jan 2008
    Beans
    31

    Re: Multiple Wine Installer now Available for Ubuntu !!!

    This is great, thanks!

  3. #3
    Join Date
    Oct 2006
    Location
    Solo, Indonesia
    Beans
    1,319
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Multiple Wine Installer now Available for Ubuntu !!!

    Quote Originally Posted by X-Legs View Post
    This is great, thanks!
    Last night I did some experiments, I could use the deb package to install at any location I want, including user home folder. This would save a lot of time as we do not need to compile it anymore. But I am not sure whether wines install using this method will work as good as original ones as I forced install it, but it works.

    If you want to give it a try, just let me know and I will create another installer for this purpose. The other advantage is also we do not need to install many packages for compiling (do not need apt-get build-dep wine).

    DK

  4. #4
    Join Date
    Oct 2006
    Location
    Solo, Indonesia
    Beans
    1,319
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Multiple Wine Installer now Available for Ubuntu !!!

    I have revised the installer, now completely GUI. You do not need to run in terminal any more, just run it because I have added progress bar GUI for all long processes:

    - Downloading wine source codes
    - Extracting
    - configure
    - make depend
    - make
    - make install
    - installing

    So, now you know which step the installer is doing. Please let me know if you have difficulty in running the script.

    DK

  5. #5
    Join Date
    Oct 2006
    Location
    Solo, Indonesia
    Beans
    1,319
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Multiple Wine Installer now Available for Ubuntu !!!

    I tried to install wine 0.9.43 and wine 0.9.46 using the installer but failed. Upon investigation, there are two packages that preventing those wines to be installed i.e. valgrind and libldap2-dev. Removing those 2 packages solves the problem.

    DK

  6. #6
    Join Date
    Oct 2008
    Location
    Kansas City, MO
    Beans
    4
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Multiple Wine Installer now Available for Ubuntu !!!

    So is the "Making wine..." apart of the process and is it supposed to take quite awhile?

  7. #7
    Join Date
    Oct 2006
    Location
    Solo, Indonesia
    Beans
    1,319
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Multiple Wine Installer now Available for Ubuntu !!!

    Quote Originally Posted by Nymz View Post
    So is the "Making wine..." apart of the process and is it supposed to take quite awhile?
    Yes. Depending on your computer's processor and memory, it may take around 30 minutes. Making wine is the longest process.

    DK

  8. #8
    Join Date
    Oct 2008
    Beans
    1

    Re: Multiple Wine Installer now Available for Ubuntu !!!

    i used sudo apt-get build dep-wine, but it used lots of space. How can i uninstall it? thanks!

  9. #9
    Join Date
    Oct 2006
    Location
    Solo, Indonesia
    Beans
    1,319
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Multiple Wine Installer now Available for Ubuntu !!!

    Quote Originally Posted by sephyroff View Post
    i used sudo apt-get build dep-wine, but it used lots of space. How can i uninstall it? thanks!
    Open terminal, copy and paste ALL below command together at the same time, NOT line by line:

    Code:
    sudo apt-get remove \
    bison \
    cvs git-core \
    flex \
    fontforge \
    gcc \
    git \
    libasound2-dev \
    libaudio-dev \
    libc6-dev \
    libcapi20-3 \
    libcapi20-dev \
    libcupsys2-dev \
    libdbus-1-dev \
    libesd0-dev \
    libexif-dev \
    libexpat1-dev \
    libfontconfig1-dev \
    libfreetype6-dev \
    libgcrypt11-dev \
    libgl1-mesa-dev \
    libglib1.2-dev \
    libglib2.0-dev \
    libglu1-mesa-dev \
    libgnutls-dev \
    libgpg-error-dev \
    libgphoto2-2-dev \
    libhal-dev \
    libice-dev \
    libieee1284-3-dev \
    libjpeg62-dev \
    liblcms1-dev \
    libldap2-dev \
    libltdl3 \
    libltdl3-dev \
    liblzo-dev \
    libmad0 \
    libmad0-dev \
    libmng-dev \
    libncurses5-dev \
    libodbcinstq1c2 \
    libogg-dev \
    libopencdk10-dev \
    libpng12-dev \
    libpopt-dev \
    libqt3-headers \
    libqt3-mt \
    libqt3-mt-dev \
    libsane-dev \
    libsm-dev \
    libssl-dev \
    libtasn1-3-dev \
    libtiff4-dev \
    libtiffxx0c2 \
    libusb-dev \
    libvorbis-dev \
    libvorbisfile3 \
    libx11-dev \
    libxau-dev \
    libxcomposite-dev \
    libxcursor-dev \
    libxdmcp-dev \
    libxext-dev \
    libxfixes-dev \
    libxft-dev \
    libxi-dev \
    libxinerama-dev \
    libxml2-dev \
    libxmu-dev \
    libxmu-headers \
    libxrandr-dev \
    libxrender-dev \
    libxslt1-dev \
    libxt-dev \
    libxv-dev \
    libxxf86vm-dev \
    linux-libc-dev \
    m4 \
    make \
    mesa-common-dev \
    odbcinst1debian1 \
    qt3-dev-tools \
    unixodbc \
    unixodbc-dev \
    valgrind \
    x11proto-composite-dev \
    x11proto-core-dev \
    x11proto-fixes-dev \
    x11proto-input-dev \
    x11proto-kb-dev \
    x11proto-randr-dev \
    x11proto-video-dev \
    x11proto-xext-dev \
    x11proto-xf86vidmode-dev \
    x11proto-xinerama-dev \
    x-dev \
    xtrans-dev \
    zlib1g-dev
    DK
    Last edited by david_kt; October 30th, 2008 at 01:18 AM.

  10. #10
    Join Date
    Oct 2008
    Beans
    23

    Smile Re: Multiple Wine Installer now Available for Ubuntu !!!

    Love your script!

    I mentioned it here:

    http://forum.eeeuser.com/viewtopic.php?id=49335

    I'm getting configure errors when installing Wine 0.9.15 manually and with your script. It's missing some kind of dependency, but I'm not sure what to do to fix this. The .deb install works fine. So there must be someway to get it to work. It's the only version that works well with Fallout 1 and 2 via Wine.

    Running Ubuntu 8.0.4 Hardy Heron.

    Can you help, please?

Page 1 of 11 123 ... 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
  •