Results 1 to 4 of 4

Thread: How to execute a window wine program in Terminal

  1. #1
    Join Date
    Aug 2007
    Beans
    830
    Distro
    Xubuntu 14.04 Trusty Tahr

    How to execute a window wine program in Terminal

    I have been trying to run iTunes in Wine. I am running Xubuntu 22.04. When I couldn't get iTunes to run right I tried a bunch of things and ended up trashing my Wine installation. So I tried to purge Wine and start over. Apparently I didn't get the purge done correctly, because when I reloaded Wine (no errors in the reload) and ran winecfg, I couldn't even run iexplore.exe that winecfg installed to demonstrate that Wine worked. When I started iexplore.exe (by double clicking it), it grinds for a while and then just quits.
    1. Is there a way to run "wine windows program loader" in a Terminal, so I can see error messages. I don't know what the real program name for "wine windows program loader" is, so I can't execute it in a Terminal and see errors from iexplore.exe.
    2. Any other ideas on how to completely purge Wine, so I can reload it from scratch. I used these sites for guidance: https://ubuntuhandbook.org/index.php...-windows-apps/ and https://vitux.com/how-to-install-wine-on-ubuntu/.

    Any help is appreciated.........

  2. #2
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: How to execute a window wine program in Terminal

    Moved to Wine as a more appropriate location.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  3. #3
    Join Date
    Nov 2004
    Location
    Maine
    Beans
    2,420
    Distro
    Kubuntu

    Re: How to execute a window wine program in Terminal

    Wine folders are usually hidden files in your home directory so if the program you want to run is already installed in wine you will have to navigate to the .wine directory and go from there.
    Wireless script
    Dave
    Registered Linux User #462608
    Morse Code an early Digital Mode.

  4. #4
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How to execute a window wine program in Terminal

    This thread is months old and it is unlikely that the OP is still subscribed to it, but for the sake of any lurkers out there—or just for posterity's sake—this is how WINE works:

    1. When you install the WINE app you are creating two "branches" of code.
    2. The first branch is the WINE system itself. This usually installs into the same place that all Linux executable code installs into: /usr/bin
    3. You can see where your WINE executable is by querying with:
      Code:
      which wine
    4. But WINE cannot run with just its own executables. After all, its whole point is to mimic Windows. Therefore, it creates a second branch containing pseudo‑Windows code that resides in your /home directory. This branch is "hidden" through the usual Linux expedient of prefacing the directory with a . (a dot) which you can reveal in Nautilus by toggling display of hidden files.
    5. When you purge WINE, you purge all of the first branch (in /usr/bin) but you do not purge the second branch (in /home) because the apt purge function considers all data under /home to be user owned and untouchable.
    6. When you reinstall WINE, it puts a new version of WINE into /usr/bin but when you run it the first time, it will detect the old second branch and will automatically assume that you want to inherit it.
    7. The upshot is: you cannot completely clean out your old WINE install without manually purging the second branch. An apt purge will not do this. You must do this manually.

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
  •