Skip to content

Instantly share code, notes, and snippets.

@jansanchez
Last active August 18, 2026 09:57
Show Gist options
  • Select an option

  • Save jansanchez/7896421 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

No need to download the package,??

@jansanchez

jansanchez commented Nov 25, 2019

Copy link
Copy Markdown
Author

you only need to install packages mentioned.

@DH1033

DH1033 commented Jan 7, 2020

Copy link
Copy Markdown

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

kali linux 2019.3 in this problem

ghost commented Jan 20, 2020

Copy link
Copy Markdown

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
Copy Markdown

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

plastyi commented Jan 28, 2023

Copy link
Copy Markdown

winehq.key access denied

@plastyi

plastyi commented Jan 28, 2023

Copy link
Copy Markdown

playonlinux is showing as broken package

@abhishek-nexgen-dev

Copy link
Copy Markdown

Unable to locate package wine-bin:i386

@Willmanzlair

Willmanzlair commented Aug 12, 2023

Copy link
Copy Markdown

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

@CheikhNaro

CheikhNaro commented Jun 13, 2024

Copy link
Copy Markdown

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

@theduve2000-coder

Copy link
Copy Markdown

When i did the $ sudo apt-get install wine-bin:i386 it said "E: Unable to locate package wine-bin:i386"

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