Installing wine

write commands one after one

sudo su
dpkg --add-architecture i386
apt-get update
apt-get install wine32

2 Likes

instead of installing wine32
try to install veil framework.
It’ll add both i386 & x64 architecture and install both for ya.
and try q4wine so we could run it as a virtual desktop.

wine njRATv0.7d.exe
Reading profile /etc/firejail/wine.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-programs.inc
Parent pid 18054, child pid 18055
Child process initialized in 83.96 ms
0009:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed

Parent is shutting down, bye…
while running .exe file

2 Likes

/IronWasp  :heavy_check_mark:  1080  22:52:24
Reading profile /etc/firejail/wine.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-programs.inc
Parent pid 12798, child pid 12799
Child process initialized in 67.94 ms
0009:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed

Parent is shutting down, bye…

well then install the mono package for wine as suggested by the error message

how to install the mono package for wine???

the error is: 0009:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed

Have a look here https://wiki.winehq.org/Mono
Or the mono-complete package might also work but maybe unnecessary.

you can install and use winetricks to install additional wine modules the official way

On 64-bit systems, you should enable a 32-bit architecture for multiarch. This is needed for running 32-bit Windows applications.

sudo dpkg --add-architecture i386 && sudo apt update

Install wine on a 64-bit architecture by running:

sudo apt install
wine
wine32
wine64
libwine
libwine:i386
fonts-wine

After doing this may I install a 32bit only program without any issues?

After enabling the i386 architecture and installing the required libraries above you now have the ability to install i386 and amd64 packages. You can stick with mostly amd64 and just a few i386 that you need that aren’t available as amd64 packages or a mix or even all i386. As long as you dont break dependencies and predepends you may choose between either architecture for your needs. If you have a slower, less powerful processor or less than your “ideal” ammount of RAM, i386 packages can make your system run faster and smoother especially when coupled with compiling a custom kernel where you can choose to leave out non essential hardware bins/libs. That being said you will have to do q little bit more when making and installing modules and you must check, check, and check again as some are configured to run only with a certain kernel or may experience errors (ie: rtl8814au does not run very well or sometimes at all on the 4.18.10 kernel at the moment)