Announcement

Collapse
No announcement yet.

Need some help with Wine

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Need some help with Wine

    Following the commands and instructions given on the Wine website, I installed Wine and began to try to install the drive cloning software that I like to use. The page is found here: https://wiki.winehq.org/Ubuntu

    Not sure where I went wrong but I am lost. Keep in mind I have actively been using Linux for a little over a week. Listed below is my work in the konsole thus far. For easier reading the command headings were changed to blue, commands given were changed to green, and generated text was changed to purple. PII was removed, but all else remains intact.

    -Precision-M4600:~$winecfg
    -Precision-M4600:~$sudo dpkg --add-architecture i386
    [sudo] password for :
    -Precision-M4600:~$wget -nc https://dl.winehq.org/wine-builds/winehq.key
    --2020-01-20 12:37:25-- https://dl.winehq.org/wine-builds/winehq.key
    Resolving dl.winehq.org (dl.winehq.org)... 151.101.50.217
    Connecting to dl.winehq.org (dl.winehq.org)|151.101.50.217|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 3220 (3.1K) [application/pgp-keys]
    Saving to: ‘winehq.key’

    winehq.key 100%[================================================== ================================================== ================================================== ============>] 3.14K --.-KB/s in 0s

    2020-01-20 12:37:25 (15.8 MB/s) - ‘winehq.key’ saved [3220/3220]

    -Precision-M4600:~$sudo apt-key add winehq.key
    OK
    -Precision-M4600:~$sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
    Get:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [6,259 B]
    Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
    Hit:3 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic InRelease
    Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
    Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
    Get:6 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
    Get:7 https://dl.winehq.org/wine-builds/ubuntu bionic/main amd64 Packages [562 kB]
    Get:8 https://dl.winehq.org/wine-builds/ubuntu bionic/main i386 Packages [593 kB]
    Fetched 1,325 kB in 1s (1,157 kB/s)
    Reading package lists...

    Done
    -Precision-M4600:~$sudo apt update
    Hit:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
    Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
    Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
    Hit:4 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic InRelease
    Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
    Get:6 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
    Fetched 163 kB in 1s (117 kB/s)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    1 package can be upgraded. Run 'apt list --upgradable' to see it.
    -Precision-M4600:~$sudo apt list --upgradeable
    Listing... Done
    wine-stable/bionic 4.0.3~bionic all [upgradable from: 3.0-1ubuntu1]
    N: There are 9 additional versions. Please use the '-a' switch to see them.
    -Precision-M4600:~$sudo apt install --install-recommends winehq-stable
    Reading package lists... Done
    Building dependency tree
    Reading state information...

    Done
    The following packages were automatically installed and are no longer required:
    fonts-wine libwine libwine:i386 wine32:i386 wine64
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
    libegl-mesa0:i386 libegl1:i386 libgbm1:i386 libsdl2-2.0-0:i386 libwayland-cursor0:i386 libwayland-egl1:i386 libwayland-egl1-mesa:i386 libxcb-xfixes0:i386 libxkbcommon0:i386 libxss1:i386 wine-stable wine-stable-amd64 wine-stable-i386:i386
    The following NEW packages will be installed:
    libegl-mesa0:i386 libegl1:i386 libgbm1:i386 libsdl2-2.0-0:i386 libwayland-cursor0:i386 libwayland-egl1:i386 libwayland-egl1-mesa:i386 libxcb-xfixes0:i386 libxkbcommon0:i386 libxss1:i386 wine-stable-amd64 wine-stable-i386:i386 winehq-stable
    The following packages will be upgraded:
    wine-stable
    1 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
    Need to get 48.4 MB of archives.
    After this operation, 438 MB of additional disk space will be used.
    Do you want to continue?

    [Y/n] y
    Get:1 https://dl.winehq.org/wine-builds/ubuntu bionic/main amd64 wine-stable-amd64 amd64 4.0.3~bionic [23.6 MB]
    Get:2 http://us.archive.ubuntu.com/ubuntu bionic/main i386 libxss1 i386 1:1.2.2-1 [8,566 B]
    Get:3 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 libgbm1 i386 19.2.1-1ubuntu1~18.04.1 [29.9 kB]
    Get:4 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 libxcb-xfixes0 i386 1.13-2~ubuntu18.04 [9,712 B]
    Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 libegl-mesa0 i386 19.2.1-1ubuntu1~18.04.1 [102 kB]
    Get:6 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 libwayland-cursor0 i386 1.16.0-1ubuntu1.1~18.04.1 [10.9 kB]
    Get:7 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 libegl1 i386 1.0.0-2ubuntu2.3 [33.7 kB]
    Get:8 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 libwayland-egl1 i386 1.16.0-1ubuntu1.1~18.04.1 [5,764 B]
    Get:9 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 libwayland-egl1-mesa i386 19.2.1-1ubuntu1~18.04.1 [6,844 B]
    Get:10 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 libxkbcommon0 i386 0.8.2-1~ubuntu18.04.1 [104 kB]
    Get:11 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 libsdl2-2.0-0 i386 2.0.8+dfsg1-1ubuntu1.18.04.4 [387 kB]
    Get:12 https://dl.winehq.org/wine-builds/ubuntu bionic/main i386 wine-stable-i386 i386 4.0.3~bionic [23.0 MB]
    Get:13 https://dl.winehq.org/wine-builds/ubuntu bionic/main amd64 wine-stable amd64 4.0.3~bionic [1,138 kB]
    Get:14 https://dl.winehq.org/wine-builds/ubuntu bionic/main amd64 winehq-stable amd64 4.0.3~bionic [1,892 B]
    Fetched 48.4 MB in 1s (45.4 MB/s)
    Selecting previously unselected package libxss1:i386.
    (Reading database ...

    234308 files and directories currently installed.)
    Preparing to unpack .../00-libxss1_1%3a1.2.2-1_i386.deb ...
    Unpacking libxss1:i386 (1:1.2.2-1) ...
    Selecting previously unselected package wine-stable-amd64.
    Preparing to unpack .../01-wine-stable-amd64_4.0.3~bionic_amd64.deb ...
    Unpacking wine-stable-amd64 (4.0.3~bionic) ...
    Selecting previously unselected package wine-stable-i386:i386.
    Preparing to unpack .../02-wine-stable-i386_4.0.3~bionic_i386.deb ...
    Unpacking wine-stable-i386:i386 (4.0.3~bionic) ...
    Preparing to unpack .../03-wine-stable_4.0.3~bionic_amd64.deb ...
    Unpacking wine-stable (4.0.3~bionic) over (3.0-1ubuntu1) ...
    Selecting previously unselected package libgbm1:i386.
    Preparing to unpack .../04-libgbm1_19.2.1-1ubuntu1~18.04.1_i386.deb ...
    Unpacking libgbm1:i386 (19.2.1-1ubuntu1~18.04.1) ...
    Selecting previously unselected package libxcb-xfixes0:i386.
    Preparing to unpack .../05-libxcb-xfixes0_1.13-2~ubuntu18.04_i386.deb ...
    Unpacking libxcb-xfixes0:i386 (1.13-2~ubuntu18.04) ...
    Selecting previously unselected package libegl-mesa0:i386.
    Preparing to unpack .../06-libegl-mesa0_19.2.1-1ubuntu1~18.04.1_i386.deb ...
    Unpacking libegl-mesa0:i386 (19.2.1-1ubuntu1~18.04.1) ...
    Selecting previously unselected package libwayland-cursor0:i386.
    Preparing to unpack .../07-libwayland-cursor0_1.16.0-1ubuntu1.1~18.04.1_i386.deb ...
    Unpacking libwayland-cursor0:i386 (1.16.0-1ubuntu1.1~18.04.1) ...
    Selecting previously unselected package libegl1:i386.
    Preparing to unpack .../08-libegl1_1.0.0-2ubuntu2.3_i386.deb ...
    Unpacking libegl1:i386 (1.0.0-2ubuntu2.3) ...
    Selecting previously unselected package libwayland-egl1:i386.
    Preparing to unpack .../09-libwayland-egl1_1.16.0-1ubuntu1.1~18.04.1_i386.deb ...
    Unpacking libwayland-egl1:i386 (1.16.0-1ubuntu1.1~18.04.1) ...
    Selecting previously unselected package libwayland-egl1-mesa:i386.
    Preparing to unpack .../10-libwayland-egl1-mesa_19.2.1-1ubuntu1~18.04.1_i386.deb ...
    Unpacking libwayland-egl1-mesa:i386 (19.2.1-1ubuntu1~18.04.1) ...
    Selecting previously unselected package libxkbcommon0:i386.
    Preparing to unpack .../11-libxkbcommon0_0.8.2-1~ubuntu18.04.1_i386.deb ...
    Unpacking libxkbcommon0:i386 (0.8.2-1~ubuntu18.04.1) ...
    Selecting previously unselected package libsdl2-2.0-0:i386.
    Preparing to unpack .../12-libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.4_i386.deb ...
    Unpacking libsdl2-2.0-0:i386 (2.0.8+dfsg1-1ubuntu1.18.04.4) ...
    Selecting previously unselected package winehq-stable.
    Preparing to unpack .../13-winehq-stable_4.0.3~bionic_amd64.deb ...
    Unpacking winehq-stable (4.0.3~bionic) ...
    Setting up wine-stable-amd64 (4.0.3~bionic) ...
    Setting up libxcb-xfixes0:i386 (1.13-2~ubuntu18.04) ...
    Setting up libxss1:i386 (1:1.2.2-1) ...
    Setting up libgbm1:i386 (19.2.1-1ubuntu1~18.04.1) ...
    Setting up wine-stable-i386:i386 (4.0.3~bionic) ...
    Setting up libxkbcommon0:i386 (0.8.2-1~ubuntu18.04.1) ...
    Setting up libegl-mesa0:i386 (19.2.1-1ubuntu1~18.04.1) ...
    Setting up libwayland-cursor0:i386 (1.16.0-1ubuntu1.1~18.04.1) ...
    Setting up libwayland-egl1:i386 (1.16.0-1ubuntu1.1~18.04.1) ...
    Setting up wine-stable (4.0.3~bionic) ...
    Setting up libegl1:i386 (1.0.0-2ubuntu2.3) ...
    Setting up libsdl2-2.0-0:i386 (2.0.8+dfsg1-1ubuntu1.18.04.4) ...
    Setting up winehq-stable (4.0.3~bionic) ...
    Setting up libwayland-egl1-mesa:i386 (19.2.1-1ubuntu1~18.04.1) ...
    Processing triggers for hicolor-icon-theme (0.17-2) ...
    Processing triggers for mime-support (3.60ubuntu1) ...
    Processing triggers for libc-bin (2.27-3ubuntu1) ...
    Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    -Precision-M4600:~$ cd Downloads
    -Precision-M4600:~/Downloads$ wine EZ GIG v6.2.exe
    002d:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
    002d:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
    002d:err:mscoree:LoadLibraryShim error reading registry key for installroot
    002d:err:mscoree:LoadLibraryShim error reading registry key for installroot
    002d:err:mscoree:LoadLibraryShim error reading registry key for installroot
    002d:err:mscoree:LoadLibraryShim error reading registry key for installroot
    002d:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
    002d:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
    0034:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
    0034:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
    0034:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
    0034:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
    0028:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated.

    Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
    0028:fixme:dwmapiwmIsCompositionEnabled 0x6dbd1518
    0039:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x8565c0, init_notify 0, handle 0x114fa10): stub
    0053:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
    0053:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
    0053:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
    0053:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
    0051:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
    0051:fixme:dwmapiwmIsCompositionEnabled 0x6d5d3018
    005a:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x8d88c8, init_notify 0, handle 0x111fc88): stub
    wine: configuration in '/home/kevin/.wine' has been updated.
    wine: cannot find L"C:\\windows\\system32\\EZ.exe"
    -Precision-M4600:~/Downloads$ wine EZ GIG v6.2.exe
    wine: cannot find L"C:\\windows\\system32\\EZ.exe"
    -Precision-M4600:~/Downloads$
    Last edited by Snowhog; Jan 20, 2020, 01:18 PM. Reason: Coloring removed; hard on the eyes.

    #2
    Linux does not like spaces in file names, so try it with quotes

    wine "EZ GIG v6.2.exe"
    You may have to use the full path, I have not used Wine in a dog's age, so I am a bit rusty

    wine "home/<your-username>/Downloads/EZ GIG v6.2.exe"

    Wine may not have good access to one's hardware.
    I don't see this software listed on Wine's app db, so few if any people have tried to run this in Wine

    Comment


      #3
      The question being?
      Why does it say things like
      wine: cannot find L"C:\\windows\\system32\\EZ.exe"
      when you tell it to
      wine EZ GIG v6.2.exe ?

      Wine doesn't quite like spaces and things in filenames.
      You could try with single quotes (' '), like
      wine ./'EZ GIG v6.2'.exe
      or double quotes around the whole thing...
      ... or better, right-click on it (if left click doesn't work) in Dolphin and
      open with: > wine windows program loader.

      [EDIT] Er, well... :·)
      Last edited by Don B. Cilly; Jan 20, 2020, 01:53 PM.

      Comment


        #4
        Thanks guys, ill try it out.

        Comment


          #5
          also, why did the forum delete all my formatting? It took me a good while to change all those colors so it could be easily read and it reverted back to all black and white

          Comment


            #6
            Black and blue :·)
            The reason is at the bottom of your post...

            Comment


              #7
              It is a bit hard to read, for some of our older eyes. Most folks who use the terminal at least a little don't need the coloring, though using the code tag (#) in the text editor helps, and bolding or highlighting a specific line can be useful.

              To save effort, it is also fine to include only the output that has the term 'error' or 'fail" , plus the last line or two giving the final output.

              So, here, this is what it would look like posting the moist relevant bits:

              Code:
              -Precision-M4600:~/Downloads$ wine EZ GIG v6.2.exe
              002d:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
              002d:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
              002d:err:mscoree:LoadLibraryShim error reading registry key for installroot
              002d:err:mscoree:LoadLibraryShim error reading registry key for installroot
              002d:err:mscoree:LoadLibraryShim error reading registry key for installroot
              002d:err:mscoree:LoadLibraryShim error reading registry key for installroot
              002d:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
              002d:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
              0034:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
              0034:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
              0034:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
              0034:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
              0028:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated.
              
              Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
              0028:fixme:dwmapi:DwmIsCompositionEnabled 0x6dbd1518
              0039:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x8565c0, init_notify 0, handle 0x114fa10): stub
              0053:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
              0053:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
              0053:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
              0053:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
              0051:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
              0051:fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018
              005a:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x8d88c8, init_notify 0, handle 0x111fc88): stub
              wine: configuration in '/home/kevin/.wine' has been updated.
              wine: cannot find L"C:\\windows\\system32\\EZ.exe"
              -Precision-M4600:~/Downloads$ wine EZ GIG v6.2.exe
              wine: cannot find L"C:\\windows\\system32\\EZ.exe"
              -Precision-M4600:~/Downloads$
              And even here, Wine being weird as it is, most of the above is mostly interesting only to developer types.
              Last edited by claydoh; Jan 20, 2020, 04:08 PM. Reason: no, I'll leave that typo in there on purpose :D

              Comment


                #8
                ...
                Last edited by TexasGuy1988; Jan 21, 2020, 07:58 AM.

                Comment


                  #9
                  Originally posted by claydoh View Post
                  Linux does not like spaces in file names, so try it with quotes

                  wine "EZ GIG v6.2.exe"
                  You may have to use the full path, I have not used Wine in a dog's age, so I am a bit rusty

                  wine "home/<your-username>/Downloads/EZ GIG v6.2.exe"

                  Wine may not have good access to one's hardware.
                  I don't see this software listed on Wine's app db, so few if any people have tried to run this in Wine
                  Your first suggestion worked. Thank you

                  Comment


                    #10
                    There is a GUI front-end for Wine called "PlayOnLinux" and it's in the repositories. Something you might want to file away. I've used it successfully with MS Office.

                    Mick

                    P. S. You've been using Linux for a week and you're jumping into Wine. Wow. I commend you.
                    "Strange memories on this nervous night in Las Vegas."
                    Hunter S. Thompson

                    Comment


                      #11
                      PoL isn't actually a GUI front end for WINE as much as it is merely a semi-preconfigured Windows OLD app & games installer. I played with it for a while a couple years ago and all of the apps and games are really old. A lot of them require the installation key in order to complete the installation.

                      The best way to use WINE is from the CLI and using what are called "Wine Bottles", i.e., prefixes that keep each EXE installation from interfering with any other EXE application:
                      http://ziemecki.net/content/wine-using-bottles
                      or
                      https://www.addictivetips.com/ubuntu...ixes-on-linux/

                      Wine's default prefix is 64bit. The default Wine Bottle, a WINEPREFIX, is ~/.wine, is preconfigured for Win7 (at least on my machine). To delete a particular EXE installation merely delete the prefix. You can make as many wine bottles as you need. Ideally, one for each application so that DLL's and other things won't get modified when installing them in other bottles. This makes it easy to delete an application without deleting other applications. Merely delete the WINEPREFIX. Otherwise, you will have to navigate into ~/.wine down to "drive_c" where you will see the folders for the various EXE's you have installed. After you delete them you will have to edit user.reg and system.reg and remove all lines relating to the installation of that EXE. As you can see, it is a lot easier to use Wine Bottles. Some apps, like SpaceEngine-0.98, include an uninstall menu entry that makes removing it easy. Other EXE files often do not.



                      To make a 32bit prefix:
                      Winearch=win32 WINEPREFIX="/home/username/.wine32/" winecfg

                      and install 32bit Windows apps in that wine bottle.
                      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                      – John F. Kennedy, February 26, 1962.

                      Comment

                      Working...
                      X