Howto Install .NET3.0 in Wine on Mint12 tutorial

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Howto Install .NET3.0 in Wine on Mint12 tutorial

Postby Cyb3r~Assassin on Wed Feb 29, 2012 5:49 pm

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.
It's not the end it is only the rise of a new philosophy of a new error which the oppressed use there hidden talents to extinguish the governing and send freedom though the means of unlimited free knowledge to all mankind who desire to be freed.
User avatar
Cyb3r~Assassin
Level 1
Level 1
 
Posts: 1
Joined: Wed Feb 29, 2012 4:34 pm

Linux Mint is funded by ads and donations.
 

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

Postby dagon on Wed Feb 29, 2012 5:58 pm

Moved here by moderator
Image
User avatar
dagon
Level 7
Level 7
 
Posts: 1690
Joined: Mon Dec 06, 2010 4:33 am
Location: Kungälv, Sweden

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

Postby Kaidok on Sat Jun 23, 2012 12:15 am

Would something like this work for .NET 4.0 on Mint 13 (Cinnamon) as well?
Kaidok
Level 1
Level 1
 
Posts: 5
Joined: Sun May 27, 2012 3:38 am
Location: Seattle, WA


Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 15 guests