Help installing the Microsoft .NET 4.5 Framework on Ubuntu (within wine)

Questions about Wine on Linux
Locked
TIny_Hacker
Newbie
Newbie
Posts: 2
Joined: Tue Dec 15, 2020 2:51 pm

Help installing the Microsoft .NET 4.5 Framework on Ubuntu (within wine)

Post by TIny_Hacker »

I've been trying to install the Microsoft .NET 4.5 framework in wine, because two of the programs I am interested in running require it. I found this tutorial, but I wasn't able to seem to get it working right. I'm a noob with wine, so I wasn't sure what to do and thought I'd ask here for some help. Would anybody be able to show me a step-by-step tutorial for what to do starting with a clean installation (latest stable version in the Ubuntu package manager) of wine? Thanks in advance!
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Help installing the Microsoft .NET 4.5 Framework on Ubuntu (within wine)

Post by jkfloris »

On Ubuntu 20.10 you should be able to install the .Net framework with winetricks

Code: Select all

sudo apt install --install-recommends winetricks
sudo winetricks --self-update
winetricks -q dotnet45
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Help installing the Microsoft .NET 4.5 Framework on Ubuntu (within wine)

Post by spoon0042 »

Be aware that dotnet45 is still marked "broken" in winetricks with wine 5.12 or newer. You can still try to install it by specifying '--force'. Or if you're using stable (5.0.x) ignore that, it should work. Or installing stable to do the initial setup may be easier than downgrading if you're using devel or staging.
TIny_Hacker
Newbie
Newbie
Posts: 2
Joined: Tue Dec 15, 2020 2:51 pm

Re: Help installing the Microsoft .NET 4.5 Framework on Ubuntu (within wine)

Post by TIny_Hacker »

Thanks for all the help! It all worked perfectly :D
Locked