Need help installing wine

:D Thanks for the step-by step, Mike. That's exactly what a semi-literate newbie like me is looking for! I'll give it a try, especially as one of the images you posted shows it being set up as Windows XP!

As for the nit-pics, I know, I know. :rolleyes: "Wine Is Not an Emulator". I've asked if there is a generally accepted term for these "utilities", but got no answer. so I'm still stumbling around with terms.
 


could download the wine appimage from github.


the pita remains coming up with some way to run a windows program. preferably by using a "dot-desktop" shortcut.

on my computer i do it like this:

$ $HOME/bin/wine-stable_8.0.2-x86_64.appimage $HOME/bin/openmpt/OpenMPT.exe

to run openmpt (music-development application that apes ancient tracker software like commodore/amiga/protracker.)

note that it's a command to give from the terminal. otherwise must create a file like this, calling it "openmpt.desktop" in this example:

Code:
[Desktop Entry]
Name=OPENMPT
Exec=/home/user/bin/wine-stable_8.0.2-x86_64.AppImage /home/user/bin/openmpt64/OpenMPT.exe
Path=/home/user/bin/openmpt64
Comment=noa comentem
Terminal=false
Icon=/home/user/Pictures/icon/openmpt.png
Category=AudioVideo;
Type=Application

i had to provide the icon. from the screenshot of the sign-on banner of the program.

the "category" like is fussy. might or might not persuade the desktop menu system. especially on cinnamon desktop (linux mint) to list a program other than in "other" category. also might have to place it in the following location in your system:

/home/user/.local/share/applications

"user" is the actual handle of your account when you log into the desktop.

it's recommended to have the full path of both programs always. some programs however, want to force moving into "their" current directory. before they would function properly.

for other reasons. might need a "shell" script to handle this. most simple programs however should work in the described way.
 
@wendy-lebaron :-

Snap. I've been using mmtrt's WINE AppImages for some years now. They're the most correctly put-together WINE packages I've yet found, and obviate the need for installing the multilib stuff because they include the 32-bit 'native' Windows .dlls AND the SYSWOW64 stuff, too.....automatically switching internally according to the app you wish to run.

These are what I've been using to build the 'current' WINE 'portables' for the Puppy community. They're perfect for this.


Mike. ;)
 
Last edited:
1. This krap is written in Java and I'm not surprised. Whatever was written in Java for Winblows, VERY RARELY it will run properly in Linux. This MakeMKV detected only a DVD disc (after I tricked it to think that /dev/sr0 has the letter O:\ (for "Optical"). When I put in a BD, it couldn't detect it.
TBH, if it's written in Java, why bother with WINE at all? Just install the Linux build of Java, and go from there...

That's what I'd do.


Mike. o_O
 
Install on Ubuntu 24.04 based OS

Add 32 Bit Architecture

sudo dpkg --add-architecture i386

Download and add the repository key:

sudo mkdir -pm755 /etc/apt/keyrings

wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -

Add Source


sudo apt update

Install Wine

sudo apt install --install-recommends winehq-stable

When done installing then run from the terminal - winecfg - this will prompt you to install Mono

then run - wine iexplore - this will prompt you to install Gecko
 
1. This krap is written in Java and I'm not surprised. Whatever was written

You asked to name one...never said I used it.
1775518819934.gif
 
<snip!>

When done installing then run from the terminal - winecfg - this will prompt you to install Mono

then run - wine iexplore - this will prompt you to install Gecko
Just to be clear, do I type the last two exactly as you have written them after the computer prompt's dollar sign? Nothing else?
 
TBH, if it's written in Java, why bother with WINE at all? Just install the Linux build of Java, and go from there...

That's what I'd do.


Mike. o_O
It doesn't work the way you hope. Even if it's Java, if it's meant for Windows, the Linux Java won't be able to run it, even partially. Java is crossplatform only SDK-wise. App-wise it's a crossplatform nightmare.
 
It doesn't work the way you hope. Even if it's Java, if it's meant for Windows, the Linux Java won't be able to run it, even partially. Java is crossplatform only SDK-wise. App-wise it's a crossplatform nightmare.

Hmm... I know of a few Java applications that work on at least Windows and Linux without any special code. I can't think of any Java app that I have tried that ran on one OS and not the other. I used to use one such application daily, but I've not had the time to do so as of late.

But, I am 100% certain that I've not tried all of them.

Java isn't a bad language. It's still widely used. Now, Java Applets were terrible things and deserved the fiery deaths they got. I think a lot of people confuse Java with Java Applets, and even more confuse Java with JavaScript. (I see people get that latter one wrong on a fairly regular basis.)

Anyhow, I'll also add that I saw your report. Thanks. When someone is 'spam cleaned', the reporter doesn't get any notifications. Well, we could send notifications. It just adds to our workflow. As we're using creative words today, we can use a bit of personification to describe the forum software as persnickety.
 
It just adds to our workflow.
I don't require notifications. The important thing is that he got the kick I had a feeling he was gonna get once someone saw the report. :D
I guess spammers have invented new ways to spam and I have an idea how that could be prevented, altough IDK if such a mod exists or how practical it would be: when a new user has less than 50 posts and they quote someone, compare the contents of the quote and if there's a mismatch (like the one I showed on the screenshot), hold this person from posting until staff can review it and decide what to do next.

As for Java (I know the difference between Java and JS) in principle I could think of a few Java applications for Windows that won't run at all or at least partially in Linux but RN my brain is missing and I can think of only one: a F2P racing MMO game on Steam named "Project Torque". You'll be lucky, if you can get past the login screen OR if you can even see any text at the login screen bc corefonts should help with the text but in reality they don't. :D
 
Yes - first command in terminal - winecfg
second - wine iexplore
Ok, everything worked great until "wine iexplore". I clicked on install and eventually got;
The page cannot be loaded because of an error
Error code: HTTP 403
Also the command prompt has yet to reappear, the cursor just keeps blinking. And it's been far to long to assume it's still working. I am getting wine windows though, so is this message normal? Yes, I am connected to the internet.
 
Here is what the terminal posted (if this helps):
chris@chris-Latitude-E6510:~$ wine iexplore
0204:fixme:file:NtLockFile I/O completion on lock not implemented yet
0204:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
0214:fixme:secur32:get_cipher_algid unknown algorithm 23
0214:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
0214:fixme:secur32:get_cipher_algid unknown algorithm 23
0214:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
021c:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 00006FFFF423E5A0, context 00007C6E47149C90, init_notify 0, handle 00007C6E46AEFBD0): stub
0204:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0204:fixme:msctf:InputProcessorProfileMgr_GetActiveProfile (00007C6E465DD180)->({34745c63-b2f0-4784-8b67-5e12c8701a31} 00007FFFFE2FEE00)
0204:fixme:ieframe:BrowserService_GetTravelLog 00007C6E12799730 00007FFFFE2FF620
0204:fixme:ieframe:ClientSite_GetContainer (00007FFFFE91E140)->(00007FFFFE2FF5C8)
0204:fixme:mshtml:nsCacheInfoChannel_GetCacheKey (00007C6E12D1F270)->(00007FFFFE2FE830)
0204:fixme:mshtml:nsCacheInfoChannel_GetCacheTokenExpirationTime (00007C6E12D1F270)->(00007FFFFE2FE848)
0204:fixme:ieframe:DocHostUIHandler_GetDropTarget (00007FFFFE91E140)
0204:fixme:ieframe:ClientSite_GetContainer (00007FFFFE91E140)->(00007FFFFE2FF198)
0204:fixme:ieframe:DocHostUIHandler_GetDropTarget (00007FFFFE91E140)
0204:fixme:ieframe:ClientSite_GetContainer (00007FFFFE91E140)->(00007FFFFE2FF818)
0058:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0058:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0058:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0204:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {a3da04e0-57d7-482a-a1c1-61da5f95bacb}
0204:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {917b96b1-ecad-4dab-a760-8d49027748ae}
0204:fixme:ntdll:EtwRegisterTraceGuidsW register trace class {26d1e091-0ae7-4f49-a554-4214445c505c}
0204:fixme:jscript:JScriptProperty_SetProperty Unimplemented property 70000001
0204:fixme:jscript:JScriptProperty_SetProperty Unimplemented property 70000002
0204:fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
 
@IbChristian / @GatorsFan :-

When done installing then run from the terminal - winecfg - this will prompt you to install Mono

then run - wine iexplore - this will prompt you to install Gecko

Hm. Odd...

I've never found the need to prompt for Gecko separately.

If I enter

Code:
wine winecfg

....it'll ask if I want Mono (as expected).Then, it automatically jumps straight into 'Do I want to install Gecko?', etc. Well; that's how it works for me.

If I want to upgrade the AppImage-based Puppy WINE 'portables', I'll copy the entire portable directory, 'prefix' included (this leaves all the WINE registry stuff untouched). The 'copy' then gets the 'old' AppImage replaced with the 'new', followed by running 'winecfg' again.....this time on the updated 'copy'.

I get a notification that the 'install' is being 'refreshed'; this takes around 10-12 seconds, and then it's all ready for use.

WINE's quite smart enough to detect a change of version, and it should usually run through any necessary upgrade checks without needing any user input. Anyway, I would have thought that running 'wine iexplore' would try to fire up the included Internet Exploder.....and since that's been stuck at v6.5 for as long as I can remember, it hasn't a hope in hell of ever running / loading anything. IE's Trident engine was always hopeless at parsing anything at all; even way back in the very early 2000s when it WAS still supported it was utterly useless.

I much preferred NetScape Navigator at the time. THAT worked.....and worked well.


Mike. ;)
 
Last edited:
Maybe that's why it didn't work: I.E. is dead as GeoCities (so is Netscape, for that matter).

There still is no wine icon in my menu though, just a list of packages; and right clicking on a program doesn't bring up an "open with Wine" option. Is there a Terminal prompt for opening it?
 
@IbChristian :-

AFAIK, a WINE install will usually add Menu entries ONLY for a handful of 'standard' Windows apps that come with every OOTB vanilla install of Windows.....like Notepad, the Windows build of the 'MineSweeper' game, and, despite that Internet Exploder was discontinued years ago, they STILL include just about the worst possible build that was ever released!

As we found out a long time ago, you CAN have Menu entries for any Windows app you want to run under WINE.....but you'll need to create these manually yourself. I've been doing this for years, and as a mod on the Puppy forums, I've 'stickied' a tutorial for building Menu entries that all community members can always find.

Once you've built a couple, you soon realise it's really easy.....and simpler still if you keep an example somewhere safe as a 'template' that you can refer back to in future. The bulk of the contents of any .desktop file (these live in /usr/share/applications, BTW) is 'localization' stuff, i.e., all the various language stuff for users anywhere in the world. When building these for personal use, just include the basic, necessary commands to make it functional IN YOUR OWN LANGUAGE. This condenses right down to about 10 lines or so.

~~~~~~~~~~~~~~~~~~~​

You only need to include all possible languages IF you're publishing a package that's going to be available for general public download....and there's then various GNU licensing conditions that MUST be met for it to be considered 'correct' & 'acceptable'.

It sounds horrendously complicated, I know.....but there's honestly nothing to it (for personal use, at any rate). And once you get the hang of writing your own Menu entries, you can pat yourself on the back, for you'll have added a very useful string to your bow (because you CANNOT rely on always having a Menu entry provided for you).

This will explain the basics.....and you may also find my Puppy community tutorial useful.


Mike. ;)
 
I'm really amazed how installing a simple thing like wine is so complicated for some because it's not.

OP, you say the wine icon doesn't show in the Menu...if you followed my instructions you'd see this...
1775898847472.png

I'm running Mint Cinnamon 22.3 on my spare SSD with the new Menu...it installes exactly the same way as it does in Mint Cinnamon 22.1. :)
 
I'm really amazed how installing a simple thing like wine is so complicated for some because it's not.

OP, you say the wine icon doesn't show in the Menu...if you followed my instructions you'd see this...
View attachment 31323
I'm running Mint Cinnamon 22.3 on my spare SSD with the new Menu...it installes exactly the same way as it does in Mint Cinnamon 22.1. :)
Clearly, there's differences between distros in how stuff is presented in the Menu. I see with Mint that "Wine" is used as a category.....and my guess is that WINE is using the .lnk entries - which Windows creates desktop shortcuts with - to create Linux menu entries instead.

Interesting, though not unexpected; Ubuntu used to do something similar many years ago.

Puppy, of course, does things in her own unique way - always has!.....as you'd more or less expect from a "hobbyist" distro.

~~~~~~~~~~~~~~~~~~​

I have some half-a-dozen different 'portable' builds of WINE. One thing is as true today as it's always been where WINE is concerned; some apps simply run better under older builds than they do with newer ones. Don't ask me why; it's the nature of the beast, but is as likely as not for the same reasons as in Linux.....dependencies retain the same names, but the contents of the libraries change over time. Newer apps are written to expect to make use of newer features.....and as dependencies evolve, they drop support for the older features which some older applications required.

That's to be expected. It's evolution in action.

So; some time ago, I built a 'switcher' utility.....which lets me swap between versions of WINE, depending on what I want to run. Certain applications, I know from experience they work best with a particular build of WINE.....so for those, scripting will automatically link-in the appropriate WINE build prior to launching the app itself.

It's all extra 'complication' to most folks, but I enjoy figuring out solutions to 'problems' that aren't immediately apparent to others. Helps me excercise the old grey matter.....and keeps those synapses firing at peak efficiency!

For the average, 'non-techie' type of PC user, the simplest possible solution to any issue is usually the best one. K.I.S.S, indeed...


Mike. ;)
 
OK, I inserted the CD for the program, opened it and right clicked on "setup.exe". Saw "Open with other application'. Clicked on that, scrolled down to the bottom and found "wine installer" and "Wine Windows program loader". Tried both on "setup.exe" (what I usually use to install the program), "Wine Windows Program Loader" opened a window showing "Configuring Windows installer", but once it finished nothing happened. No error message, nothing. The DVD eventually stopping.

Is there any way I can tell if the computer is still doing anything? Before doing this I did use winecfg to open the configuration box and selected Windows XP, the version the program was written for.
 
Just got a popup saying
Setup requires that Microsoft Visual C++ 2005 Redistributable be installed. Please run Setup.exe to install prerequisites
That is the program I started with, So I guess that means Wine cannot install this program. Back to the drawing board, I guess.
 


Follow Linux.org

Staff online

Members online


Top