Howto Install .NET3.0 in Wine on Mint12 tutorial

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
Cyb3r~Assassin

Howto Install .NET3.0 in Wine on Mint12 tutorial

Post by Cyb3r~Assassin »

After long 13hr day of RND it is now finally possible to install .net3.0 into Wine on Linux Min12 “Lisa”. The process is not very hard it is long winded and took more effort then I wish it did to figure out, as documentation is quite lacking in this area.

First I highly suggest that you start from a completely fresh Wine installation. It is very easy for Wine to go crazy during this process and no longer work. Trust me it happened, more then once. So open a terminal type

Code: Select all

sudo apt-get purge --remove wine winetricks
Open up the menu go to wine and Uninstall Wine Software if this is still available for you and remove everything.

Now brows to /home/username/

delete the folder

.wine

Now we need to tell the system to get the most very current package possible. In the terminal type

Code: Select all

sudo add-apt-repository ppa:ubuntu-wine/ppa 
sudo apt-get update 
sudo gedit /etc/apt/sources.list
In the text editor that just opend add the following.

Code: Select all

deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu oneiric main 
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu oneiric main
Save and exit the editor. It may or may not accept the next command so if not do not worry. In the terminal type the following.

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com –recv-keys 1024R/F9CB8DB0
Now finelly type

Code: Select all

sudo apt-get update 
sudo apt-get install wine
sudo apt-get install winetricks
Ok Wine is now installed and we are ready to begin with the packages.

We need to force Wine to drop into a 32bit mode or nothing .net is going to work. Due to this bottleneck of the system remember to install all your future software that depends on the newer .net infrastructures as 32 bit as well. To do this we are going to install .net3.0 into its own Wineprefix folder. I will be using a folder named “.net3.0sp1” you can use anything you desire. Now open your file manager and brows to.

/home/username/.local/share/wineprefixes/

Create a new folder in here as such

/home/username/.local/share/wineprefixes/.net3.0sp1/

Remember that .local is a hidden folder.

Now open a terminal, type the following in

Code: Select all

env WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefixes/.net3.0sp1 winetricks dotnet20
At this point winetricks will build a Prefix into our .net3.0sp1 folder as 32bit and install .net2.0.

Now that .net2.0 has finished installing open the folder back up
/home/username/.local/share/wineprefixes/.net3.0sp1/
and open up a web browser. We are going to download some dependancy packages into our folder.
/home/username/.local/share/wineprefixes/.net3.0sp1/
and then install them from here. While it may not be neccisary to house and install from same directory I like to keep everything we are doing together.

In the browser download
RGB9RAST_x86.msi
http://go.microsoft.com/fwlink/?LinkId=56151
wic_x86_enu.exe
http://www.microsoft.com/downloads/info ... 86_enu.exe
msxml6.msi
http://www.microsoft.com/downloads/info ... msxml6.msi
XPSEPSC
http://go.microsoft.com/fwlink/?LinkId=96332
VCRedist_x86.exe
http://download.microsoft.com/download/ ... st_x86.exe

Now you can right click on each of these and select “Open with wine windows program loader” to install them. When that has finished open up the folder
/home/username/.local/share/wineprefixes/.net3.0sp1/drive_c/windows/
and delete the folder named “WinSxS

Now go back and download
.Net Framework 3.0
http://go.microsoft.com/fwlink/?LinkId=70848
You can now go ahead and install this file like the others you just did and you now have .net3.0 installed!

Image

Image
Last edited by Cyb3r~Assassin on Thu Mar 01, 2012 4:01 pm, edited 1 time in total.
dagon
Level 7
Level 7
Posts: 1655
Joined: Mon Dec 06, 2010 4:33 am
Location: Kungälv, Sweden
Contact:

Re: Howto Install .NET3.0 in Wine on Mint12 tutorial

Post by dagon »

Moved here by moderator
Kaidok

Re: Howto Install .NET3.0 in Wine on Mint12 tutorial

Post by Kaidok »

Would something like this work for .NET 4.0 on Mint 13 (Cinnamon) as well?
Post Reply

Return to “Tutorials”