To install wine. We’ll first enable maltiarch, then update the system and finally install wine. The commands to accomplish that are as shown below. Step Update System :
sources.list
Open this
Right Button
sources.list
select it which it open just like leafpad
Insert Kali sources.list Repositories
https://docs.kali.org/general-use/kali-linux-sources-list-repositories
Insert it
deb http://http.kali.org/kali kali-rolling main contrib non-free
deb http://old.kali.org/kali sana main non-free contrib
deb http://old.kali.org/kali moto main non-free contrib
Save it
Update With Terminal
apt-get update
Step Second :
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install wine:i386
sudo apt-get install wine-bin:i386
It will download the packages and install them. After finishing the installation,
check again to confirm that the wine have been installed successfully.Type
wine --version
If you want an all in one command, here it is.
sudo dpkg --add-architecture i386 && apt-get update && apt-get install wine-bin:i386
Install Wine on Linux Mint and Ubuntu
If you are running Ubuntu and Linux Mint, just enter commands below on your terminal:
$ sudo add-apt-repository ppa:ubuntu-wine/ppa
$ sudo apt-get update
$ sudo apt-get install wine
$ sudo apt-get install winetricks
Install Wine on Debian Jessie from jessie-backports
With backports, you’ll get latest Wine on your Debian jessie machine, just follow steps below
1. Add repo
# nano /etc/apt/sources.list.d/wine.list
2. Add content to the file:
deb http://httpredir.debian.org/debian jessie-backports main
3. Update repositories
# apt-get update
4. Enable maltiarch on 64-bit system
# dpkg --add-architecture i386 && apt-get update
5. Now install wine
# apt-get install \
wine/jessie-backports \
wine32/jessie-backports \
wine64/jessie-backports \
libwine/jessie-backports \
libwine:i386/jessie-backports \
fonts-wine/jessie-backports
Update Format for wine problem in Kali Linux version 2021.1-2022.4 :
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo -H gpg -o /etc/apt/trusted.gpg.d/winehq.key.gpg --dearmor winehq.key
sudo echo 'deb https://dl.winehq.org/wine-builds/debian/ bullseye main'> /tmp/winehq.list
sudo cp /tmp/winehq.list /etc/apt/sources.list.d/
sudo rm /tmp/winehq.list
sudo apt update
sudo apt install --install-recommends winehq-stable
winecfg
That’s all. You should have wine installed now. See
0 on: "Kali Linux wine not working"
Your Comment is processing to approved