Installing Mono did not Fix my .NET 4.6 Problem... Did I do it Wrong?

Questions about Wine on Linux
Locked
GPWR
Newbie
Newbie
Posts: 3
Joined: Mon Dec 20, 2021 9:11 pm

Installing Mono did not Fix my .NET 4.6 Problem... Did I do it Wrong?

Post by GPWR »

I'm running Debian Bullseye on an amd64 system. New to Linux, but having lots of fun.
So... I have a clean Wine install and a 64bit Wine prefix with pretty much all default settings but for the fact that I made it a Windows 10 layer rather than Windows XP, which was the default.
I'm trying to install a DeepL client. You can find the Windows download at deepl.com. It's an EXE installer. I run it in wine via the right-click menu in my file explorer and I get the following:
Install .NET 4.6
The application requires the .NET framework. Click the Install button to get started.
This application requires the .NET framework 4.6 or above. Clicking the Install button will download the latest version of this operating system component from Microsoft and install it on your PC.
I know how to install .NET via Winetricks. I'm simply not interested. I usually only install non-free software as a last resort, with Microsoft, of all things, being no exception.
I heard Wine Mono sort of acts as a .NET framework. So I installed Mono via the following command:

Code: Select all

sudo apt-get install mono-complete
No worky. I get the same error message.

Thanks in advance for any help, a great last week of advent to y'all, and God bless you.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Installing Mono did not Fix my .NET 4.6 Problem... Did I do it Wrong?

Post by jkfloris »

You are confusing two things: Mono and Wine-Mono.

The first is an open source implementation of Microsoft's .NET Framework which allows .Net applications to run on Linux. You did install this one with apt-get

The second is a version of Mono made specifically for Wine. It allows Wine to run (some) .Net applications.
This version is automatic installed when you start a program with Wine for the first time.
Run

Code: Select all

wine control appwiz.cpl
to make sure Wine Mono is installed.
If this did not happen, you can find a guide to download and install the wine-mono .msi file here.

Back to the real problem. The DeepL client needs the real .Net Framework. Use winetricks to install dotnet462
Gcenx
Level 6
Level 6
Posts: 719
Joined: Mon Dec 25, 2017 12:11 pm

Re: Installing Mono did not Fix my .NET 4.6 Problem... Did I do it Wrong?

Post by Gcenx »

jkfloris wrote: Tue Dec 21, 2021 12:00 pm Back to the real problem. The DeepL client needs the real .Net Framework. Use winetricks to install dotnet462
I’d avoid dotnet point releases like 462/472 etc as those love to hang. Instead use the next none point releases 462 use 47, 472 use 48 as those are less prone to hanging.
GPWR
Newbie
Newbie
Posts: 3
Joined: Mon Dec 20, 2021 9:11 pm

Re: Installing Mono did not Fix my .NET 4.6 Problem... Did I do it Wrong?

Post by GPWR »

Thank you so much for both your answers.
jkfloris wrote: Tue Dec 21, 2021 12:00 pm This version is automatic installed when you start a program with Wine for the first time.
***
Back to the real problem. The DeepL client needs the real .Net Framework. Use winetricks to install dotnet462
Given this, I won't even bother installing Wine Mono. Up to now, DeepL is the only thing I need which requires .NET.
By the way, how did you figure out that DeepL needs .NET? Is it just test-and-see, or is there another way of knowing?
Thanks again for your response. It's really appreciated.
Gcenx wrote: Tue Dec 21, 2021 12:54 pm I’d avoid dotnet point releases like 462/472 etc as those love to hang. Instead use the next none point releases 462 use 47, 472 use 48 as those are less prone to hanging.
Thanks for letting me know! I was not aware of this.

Happy holidays.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Installing Mono did not Fix my .NET 4.6 Problem... Did I do it Wrong?

Post by jkfloris »

By the way, how did you figure out that DeepL needs .NET? Is it just test-and-see, or is there another way of knowing?
Indeed, this is just trying.
You start with a clean Wineprefix. If everything works then you don't need to do anything. I it doesn't, often the error messages in the terminal output tell you what went wrong.
GPWR
Newbie
Newbie
Posts: 3
Joined: Mon Dec 20, 2021 9:11 pm

Re: Installing Mono did not Fix my .NET 4.6 Problem... Did I do it Wrong?

Post by GPWR »

jkfloris wrote: Mon Dec 27, 2021 6:53 am Indeed, this is just trying.
You start with a clean Wineprefix. If everything works then you don't need to do anything. I it doesn't, often the error messages in the terminal output tell you what went wrong.
Awesome. Thank you for this information.
Peace be on you.
Locked