Install wine (or wineconsole) without GUI

Questions about Wine on Linux
Locked
antimomentum
Newbie
Newbie
Posts: 1
Joined: Tue Jun 28, 2022 6:55 pm

Install wine (or wineconsole) without GUI

Post by antimomentum »

I want to run a windows exe server application that does not require graphics or sound since it's just a console. Is there a version of Wine/wineconsole or way to install a more minimal version of Wine to just run a console without having to install all of Wine's packages? Thanks
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Install wine (or wineconsole) without GUI

Post by jkfloris »

On Debian/ Ubuntu, you can get a slightly smaller installation with the --no-install-recommends option

Code: Select all

sudo apt install --no-install-recommends winehq-stable
If the application you want to run is 32-bit, you could only install the 32-bit Wine

Code: Select all

sudo apt install --no-install-recommends winehq-stable:i386
If this is still too big, you can build Wine yourself with only the dependencies you need.
Locked