Problem installing wine properly

koklimena

New Member
Joined
Dec 12, 2023
Messages
13
Reaction score
0
Credits
103
so i downloaded wine but im trying to install the wine32:i386 so i can run 32 bit applications but problem occurs whenever i try to sudo apt-get install wine32:i386, i get this error

$ sudo apt-get install wine32:i386


The following packages have unmet dependencies:libgd3:i386 : Depends: libavif16:i386 (>= 1.0.4) but it is not going to be installedE: Unable to correct problems, you have held broken packages.


so i tried to install the dependencies , the one in the error was libavif16:i386 but whenever i try to install it my kali crashes and i get the ttyl error so i have to install the desktop enviroment again, i have literally done this 3 times already , with all the times giving me the same results(crashing)

└─$ sudo apt-get install libavif16:i386
 


Kali is based on Debian Testing you need to install the Debian Trixie version of Wine
To make installing the latest version of Wine as easy as possible, WineHQ has its own Debian repository. Should a newer version of Wine give problems, it is also possible to install an older version of your choice.

The WineHQ repository only offers packages for AMD64 and i386. I you need the ARM version, you can use the Debian packages.
Preparation

If your system is 64 bit, enable 32 bit architecture (if you haven't already):

sudo dpkg --add-architecture i386

Add the repository

Download and add the repository key:

sudo mkdir -pm755 /etc/apt/keyrings

sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Select your Debian version and download the WineHQ sources file:
Debian Testing
Now update the package information

sudo apt update
Now install Wine

sudo apt install --install-recommends winehq-stable
Once that has installed we need to configure Wine
this will prompt install Mono
next run
wine iexplore
you should get a prompt to install Gecko
you are all done
 
Kali is based on Debian Testing you need to install the Debian Trixie version of Wine
To make installing the latest version of Wine as easy as possible, WineHQ has its own Debian repository. Should a newer version of Wine give problems, it is also possible to install an older version of your choice.

The WineHQ repository only offers packages for AMD64 and i386. I you need the ARM version, you can use the Debian packages.
Preparation

If your system is 64 bit, enable 32 bit architecture (if you haven't already):



Add the repository

Download and add the repository key:




Select your Debian version and download the WineHQ sources file:
Debian Testing

Now update the package information


Now install Wine


Once that has installed we need to configure Wine

this will prompt install Mono
next run

you should get a prompt to install Gecko
you are all done
i will try this and get back to you , thanks in advance ❤️
 
Personally, I use these AppImages. SO much easier.....but I doubt they'd work with Kali, 'cos it's so hyper-finicky & fussy. There again, it was never intended to be used as a day-to-day OS; it's really intended for pen-testing and enterprise security auditing....

(WHY do people never listen..??)


Mike. o_O
 
so i downloaded wine but im trying to install the wine32:i386 so i can run 32 bit applications but problem occurs whenever i try to sudo apt-get install wine32:i386, i get this error

$ sudo apt-get install wine32:i386


The following packages have unmet dependencies:libgd3:i386 : Depends: libavif16:i386 (>= 1.0.4) but it is not going to be installedE: Unable to correct problems, you have held broken packages.


so i tried to install the dependencies , the one in the error was libavif16:i386 but whenever i try to install it my kali crashes and i get the ttyl error so i have to install the desktop enviroment again, i have literally done this 3 times already , with all the times giving me the same results(crashing)

└─$ sudo apt-get install libavif16:i386
why are you wanting to install wine on kali? this does not make sense to me as kali is not for regular use. it is a pentesting platform. Are you using it for the wrong purpose and that is why you have so many problems?
 
I met the same problem then solved in root:
dpkg --add-architecture i386
apt update && sudo apt full-upgrade

apt-get install libavif16:i386
apt-get install libgd3:i386

sudo apt-get install wine32:i386

Hope it could help you.
 
I do wish people would read the documentation before installing any distribution

From the Kali docs
A minimal and trusted set of repositories: given the aims and goals of Kali Linux, maintaining the integrity of the system as a whole is absolutely key. With that goal in mind, the set of upstream software sources which Kali uses is kept to an absolute minimum. Many new Kali users are tempted to add additional repositories to their sources.list, but doing so runs a very serious risk of breaking your Kali Linux installation.
 
I do wish people would read the documentation before installing any distribution
@Brickwizard :-

Oh, you and me too, Brian...

It cannot be said that Linux distros and software creators don't provide plenty of documentation. But ya gotta remember, most of these 'Mr. Robot' wannabes are coming from Windows......and reading the docs is totally foreign to these folks. I mean, these are the same people that click through the EULAs as fast as they possibly can - without even attempting to read 'em! - to get to what they want.......

Know what I mean?


Mike. o_O
 
It cannot be said that Linux distros and software creators don't provide plenty of documentation
Kali is one of a kind with around 12 Pages to read and hopefully understand [but only if you have about 3 yrs of working knowledge of any Linux will you understand fully,] without the knowledge most newbies will probably not get past page 3 before they are bored and ignore the rest. Then we see the complaints that this or that distribution doesn't work, is no good, won't do what! That we get so often.
 
Last edited:

Staff online

Members online


Top