Wine dependency errors

I’ve tried to install wine via the terminal and it sucks , throws an error like the dependency is broken , is there any other way to fix it . TIA

Hi @Javee welcome to the forum. If you can provide a bit more detail or past errors it would go a long.

1 Like

Source of the package in question and installation method may matter. That is, I had problems installing wine from their site and installed wine without problems from standard repository for my system (Ubuntu 24.04 LTS).

4 Likes
sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources
sudo apt update
sudo apt install --install-recommends winehq-stable
5 Likes