Wine enables Linux users to run Microsoft Windows applications on Unix-like operating systems without the performance/memory penalties of an emulator. This guide has been created to help users install Wine 6 on Kali Linux Desktop system. As of this article update Wine 6 is the latest release with the following few changes:

  • Core modules in PE format
  • Vulkan backend for WineD3D
  • DirectShow and Media Foundation support
  • Text console redesign.

To see a full list of new features and improvements read Wine 6 release notes.

Install Wine 6 on Kali Linux

Confirm the release of your Kali Linux system before you proceed:

$ cat /etc/os-release                                                                                                                                                                                               
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2020.4"
VERSION_ID="2020.4"
VERSION_CODENAME="kali-rolling"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"

We can update the system and all installed packages before we proceed.

sudo apt update
sudo apt upgrade -y
sudo apt dist-upgrade -y

Then reboot the system:

sudo reboot

Enable 32 bit architecture

If you’re on 64-bit Kali Linux system, enable support for 32-bit applications by running the following commands:

sudo dpkg --add-architecture i386

Confirm support is enabled after running the command:

$ dpkg --print-foreign-architectures
i386

Once the command has been executed proceed to add Wine APT repository

Add Wine APT repositories to Kali Linux

Ensure wget command line tool is installed.

sudo apt update
sudo apt install software-properties-common wget -y

Import repository GPG key:

wget -O- -q https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/Release.key | sudo apt-key add -

Add the OBS Faudio Repository and add it to the system.

sudo add-apt-repository 'deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10 ./'

Install Wine 6 on Kali Linux 2020.x

Update Package APT cache.

$ sudo apt update               
Hit:1 http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10 ./ InRelease
Hit:2 http://kali.download/kali kali-rolling InRelease
Get:3 http://kali.download/kali kali-rolling/main i386 Packages [17.4 MB]
Get:4 http://kali.download/kali kali-rolling/main i386 Contents (deb) [38.5 MB]
Get:5 http://kali.download/kali kali-rolling/contrib i386 Packages [97.2 kB]                                                                                                                                                
Get:6 http://kali.download/kali kali-rolling/contrib i386 Contents (deb) [94.4 kB]                                                                                                                                          
Get:7 http://kali.download/kali kali-rolling/non-free i386 Packages [172 kB]                                                                                                                                                
Get:8 http://kali.download/kali kali-rolling/non-free i386 Contents (deb) [870 kB]                                                                                                                                          
Fetched 57.1 MB in 19s (3,075 kB/s)                                                                                                                                                                                         
Reading package lists... Done
Building dependency tree       
Reading state information... Done

Then install Wine 6 on Kali Linux 2020.x

sudo apt install --install-recommends winehq-stable

Agree to installation prompt:

....
The following NEW packages will be installed:
  gcc-10-base:i386 gstreamer1.0-plugins-base:i386 i965-va-driver:i386 intel-media-va-driver:i386 ipp-usb:i386 libaom0:i386 libasound2:i386 libasound2-plugins:i386 libasyncns0:i386 libatomic1:i386 libavahi-client3:i386
  libavahi-common-data:i386 libavahi-common3:i386 libavcodec58:i386 libavresample4:i386 libavutil56:i386 libblkid1:i386 libbrotli1:i386 libbsd0:i386 libbz2-1.0:i386 libc6:i386 libcairo-gobject2:i386 libcairo2:i386
  libcap2:i386 libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386 libcodec2-0.9:i386 libcom-err2:i386 libcrypt1:i386 libcups2:i386 libcurl3-gnutls:i386 libcurl4:i386 libdatrie1:i386 libdav1d4:i386 libdb5.3:i386
  libdbus-1-3:i386 libdeflate0:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libdw1:i386 libedit2:i386 libelf1:i386 libexif12:i386 libexpat1:i386 libfaudio0
  libfaudio0:i386 libffi7:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libfribidi0:i386 libgbm1:i386 libgcc-s1:i386 libgcrypt20:i386 libgd3:i386 libgdbm-compat4:i386 libgdbm6:i386 libgdk-pixbuf-2.0-0:i386
  libgl1:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386 libglvnd0:i386 libglx-mesa0:i386 libglx0:i386 libgmp10:i386 libgnutls30:i386 libgomp1:i386 libgpg-error-l10n libgpg-error0:i386
  libgphoto2-6:i386 libgphoto2-port12:i386 libgpm2:i386 libgraphite2-3:i386 libgsm1:i386 libgssapi-krb5-2:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libharfbuzz0b:i386 libhogweed6:i386 libicu67:i386
  libidn2-0:i386 libieee1284-3:i386 libigdgmm11:i386 libjack-jackd2-0:i386 libjbig0:i386 libjpeg62-turbo:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386
  libldap-common libllvm11:i386 libltdl7:i386 liblz4-1:i386 liblzma5:i386 libmount1:i386 libmp3lame0:i386 libmpg123-0:i386 libncurses6:i386 libnettle8:i386 libnghttp2-14:i386 libnsl2:i386 libnspr4:i386 libnss-nis:i386
  libnss-nisplus:i386 libnss3:i386 libnuma1:i386 libodbc1:i386 libogg0:i386 libopenal1:i386 libopenjp2-7:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6 libosmesa6:i386 libp11-kit0:i386 libpango-1.0-0:i386
  libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpcap0.8:i386 libpci3:i386 libpciaccess0:i386 libpcre2-8-0:i386 libpcre3:i386 libperl5.32:i386 libpixman-1-0:i386 libpng16-16:i386 libpoppler-glib8:i386
  libpoppler102:i386 libpsl5:i386 libpulse0:i386 librsvg2-2:i386 librsvg2-common:i386 librtmp1:i386 libsamplerate0:i386 libsane:i386 libsane1:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386
  libsdl2-2.0-0 libsdl2-2.0-0:i386 libselinux1:i386 libsensors5:i386 libshine3:i386 libsnappy1v5:i386 libsndfile1:i386 libsndio7.0:i386 libsnmp40:i386 libsoxr0:i386 libspeex1:i386 libsqlite3-0:i386 libssh2-1:i386
  libssl1.1:i386 libstb0 libstb0:i386 libstdc++6:i386 libswresample3:i386 libsystemd0:i386 libtasn1-6:i386 libthai0:i386 libtheora0:i386 libtiff5:i386 libtinfo6:i386 libtirpc3:i386 libtwolame0:i386 libudev1:i386
  libunistring2:i386 libunwind8:i386 libusb-1.0-0:i386 libuuid1:i386 libv4l-0:i386 libv4lconvert0:i386 libva-drm2:i386 libva-x11-2:i386 libva2:i386 libvdpau-va-gl1:i386 libvdpau1:i386 libvisual-0.4-0:i386 libvkd3d1
  libvkd3d1:i386 libvorbis0a:i386 libvorbisenc2:i386 libvpx6:i386 libvulkan1:i386 libwavpack1:i386 libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1:i386 libwayland-server0:i386 libwebp6:i386
  libwebpmux3:i386 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libx264-160:i386 libx265-192:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-randr0:i386
  libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386
  libxkbcommon0:i386 libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxvidcore4:i386 libxxf86vm1:i386 libz3-4:i386 libzstd1:i386 libzvbi0:i386
  mesa-va-drivers:i386 mesa-vdpau-drivers:i386 mesa-vulkan-drivers:i386 ocl-icd-libopencl1:i386 uuid-runtime va-driver-all:i386 vdpau-driver-all:i386 wine-stable wine-stable-amd64 wine-stable-i386:i386 winehq-stable
  zlib1g:i386
The following packages will be upgraded:
  libdw1 libelf1 libicu67 libpcap0.8 libsensors5 libvdpau1 vdpau-driver-all
7 upgraded, 249 newly installed, 1 to remove and 100 not upgraded.
Need to get 310 MB of archives.
After this operation, 1,568 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

Wait for the installation to complete then check the actual version number of Wine installed on Linux Mint 20.

$ wine --version
wine-6.0

Run the following command to initiate Wine configuration:

$ winecfg

It will ask you to install Mono package.

Wine 6

Also agree to install Gecko package which is needed for applications embedding HTML to work without issues.

Wine 6

The about page will also display the version of Wine installed on Kali Linux:

Let’s try install run a Notepad Windows applications using Wine on Kali Linux.

Download Notepad installer to your local system:

cd ~/Downloads
wget https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v7.9.2/npp.7.9.2.Installer.exe

Then run the installer application:

$ wine npp.7.9.2.Installer.exe

Start installation by pressing OK key.

Wine 6

Follow the next prompts to finish your first windows application installation on Linux Mint 20.

Wine 6

Launch the application when done with the installation and confirm it can run smoothly.

That’s how you can easily install Wine 6 on Kali Linux operating system. Here are other interesting guides on our website:

Best Books To Learn Julia Programming Language

Best Grafana and Prometheus Monitoring books

Best Free Books to Learn Operating Systems

Best Books To Learn Kotlin Programming

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here