Skip to content

Instantly share code, notes, and snippets.

@jansanchez
Last active September 21, 2024 18:36
Show Gist options
  • Save jansanchez/7896421 to your computer and use it in GitHub Desktop.
Save jansanchez/7896421 to your computer and use it in GitHub Desktop.
Install wine in linux

Install wine in linux

Type in your terminal

sudo apt-get install wine
sudo apt-get install winetricks
sudo apt-get install playonlinux
sudo dpkg --add-architecture i386
sudo apt-get update

Finally

sudo apt-get install wine-bin:i386

Enjoy!

@Jamie0017
Copy link

No need to download the package,??

@jansanchez
Copy link
Author

jansanchez commented Nov 25, 2019

you only need to install packages mentioned.

@DH1033
Copy link

DH1033 commented Jan 7, 2020

sudo dpkg --add-architecture i386
pkg-config-dpkghook: warning: Architecture 1386 not defined in architecture tables, ignored

kali linux 2019.3 in this problem

Copy link

ghost commented Jan 20, 2020

also consider wine's wiki on how to install:
https://wiki.winehq.org/Ubuntu

They use their own repo and it's not recommended by ubuntu, but still...

@mlohdael
Copy link

sudo dpkg --add-architecture i386
pkg-config-dpkghook: warning: Architecture 1386 not defined in architecture tables, ignored

kali linux 2019.3 in this problem

...having the same ignored table issue right now. all this in an attempt to play Steam games on it. heard it can be a better experience than even what Windows can proivide! ....still working on it over here. happen to remember how you fixed it? (if at all)

@plastyi
Copy link

plastyi commented Jan 28, 2023

winehq.key access denied

@plastyi
Copy link

plastyi commented Jan 28, 2023

playonlinux is showing as broken package

@Code-With-Abhishek-Kumar

Unable to locate package wine-bin:i386

@Willmanzlair
Copy link

Willmanzlair commented Aug 12, 2023

Unable to locate package wine-bin:i386,
will this cause any further errors in wine usage?

@CheikhNaro
Copy link

CheikhNaro commented Jun 13, 2024

first things you need to check your kali version

root@kali:~# uname -a

so this is for me
┌──(root㉿ikali)-[~]
└─# uname -a
Linux kali 6.8.11-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.8.11-1kali2 (2024-05-30) x86_64 GNU/Linux

then you must read
http://security.kali.org/kali-security/README

then find your sources.list kali version (im using kali rolling)
http://docs.kali.org/general-use/kal...t-repositories

after that
root@kali: # dpkg --add-architecture i386
root@kali:
# apt update
root@kali:# wine
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
Usage: wine PROGRAM [ARGUMENTS...] Run the specified program
wine --help Display this help and exit
wine --version Output version information and exit
root@kali:
#apt-get install wine32 -y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment