Project

General

Profile

Wine » History » Version 27

Per Amundsen, 10/26/2019 11:24 PM

1 2 Per Amundsen
{{>toc}}
2
3 1 Per Amundsen
h1. Wine
4
5 3 Per Amundsen
Installing AdiIRC in "Wine":https://www.winehq.org/ on 64 bit Ubuntu and OS X.
6 1 Per Amundsen
7 16 Per Amundsen
"Wine":https://www.winehq.org is a Windows compatibility layer which allows you to run many Windows programs on Linux/OS X.
8 13 Per Amundsen
9 16 Per Amundsen
"Winetricks":https://github.com/Winetricks/winetricks is a script to help you install various Windows components and programs.
10 13 Per Amundsen
11 25 Per Amundsen
AdiIRC does NOT work in "mono":https://www.mono-project.com/.
12 24 Per Amundsen
13 2 Per Amundsen
h2. Install "Wine":https://www.winehq.org/
14 1 Per Amundsen
15 5 Per Amundsen
On Ubuntu/Debian Type:
16 1 Per Amundsen
17
<pre>
18
apt-get install wine
19 3 Per Amundsen
</pre>
20
21 4 Per Amundsen
On OS X type:
22 3 Per Amundsen
23 1 Per Amundsen
<pre>
24 4 Per Amundsen
# If homebrew is not installed, type
25
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
26
27
# Then install Wine through homebrew
28 3 Per Amundsen
brew install wine
29 1 Per Amundsen
</pre>
30
31 12 Per Amundsen
h2. Create a 32 bit "Wine":https://www.winehq.org/ prefix
32 1 Per Amundsen
33 22 Per Amundsen
Wine does not allow running 64 bit .NET applications, so you must create a 32 bit wine folder.
34 21 Per Amundsen
35 1 Per Amundsen
Type:
36 18 Per Amundsen
37 19 Per Amundsen
<pre>
38 21 Per Amundsen
WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
39 1 Per Amundsen
</pre>
40
41 8 Per Amundsen
h2. Download "Winetricks":https://github.com/Winetricks/winetricks
42 1 Per Amundsen
43
Type:
44
45
<pre>
46 8 Per Amundsen
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
47
chmod +x winetricks
48 1 Per Amundsen
</pre>
49
50
h2. Install ".NET":https://en.wikipedia.org/wiki/.NET_Framework using "Winetricks":https://github.com/Winetricks/winetricks
51
52 22 Per Amundsen
If you downloaded the 32 bit .NET 2.0 version of AdiIRC (recommended) type:
53 1 Per Amundsen
54
<pre>
55 21 Per Amundsen
WINEPREFIX=~/.wine32 ./winetricks dotnet20
56 1 Per Amundsen
</pre>
57
58 22 Per Amundsen
If you downloaded the 32 bit .NET 4.5 version of AdiIRC (not recommended) type:
59 1 Per Amundsen
60
<pre>
61 21 Per Amundsen
WINEPREFIX=~/.wine32 ./winetricks dotnet45
62 1 Per Amundsen
</pre>
63
64
h2. Run AdiIRC with "Wine":https://www.winehq.org/
65
66 20 Per Amundsen
After .NET is installed, you should be able to run AdiIRC by typing:
67
68
<pre>
69 21 Per Amundsen
WINEPREFIX=~/.wine32 wine AdiIRC.exe
70 1 Per Amundsen
</pre>
71 26 Per Amundsen
72
h2. Wine themes
73
74
It's possible to skin Wine/Windows programs to look more native in a Linux environment, check https://askubuntu.com/questions/219791/improve-gui-appearance-of-wine-applications/756781 for examples.
75 27 Per Amundsen
76
h2. Headless wine
77
78
There has been some success running Wine headless using "xvfb":https://en.wikipedia.org/wiki/Xvfb through "screen":https://linux.die.net/man/1/screen.
79
80
<pre>
81
WINEARCH=win32 WINEPREFIX=~/.wine32 screen xvfb-run wine AdiIRC.exe
82
</pre>