Jump to content

Quick note: PKHeX works in Linux


Recommended Posts

In the FAQ it is stated that PKHeX doesn't work in Linux. With the latest wine (8.12 at date of writing) however, it is possible to run PKHeX in Linux.

  1. Make sure you run the latest version of wine. Download it here.
  2. Install winetricks according the instructions according to your distribution. Update it with sudo winetricks --self-update
  3. Install dot.net 7 and dot.net desktop 7 with winetricks -q dotnet70 dotnetdesktop7

You can now run PKHeX in Linux.


Edited by Eroldin
forgot link
  • Like 1
Link to comment
Share on other sites

  • 2 months later...

Cheers for the tips, I got PKHeX working great on my laptop running Pop! OS 22.04 LTS.

First I installed Wine as per the Ubuntu 22.04 instructions.

I couldn't seem to get Wineticks to install dot.net 7 and dot.net desktop 7, however I simply downloaded the 64bit installers from here: https://dotnet.microsoft.com/en-us/download/dotnet/7.0 and installed the .exe as you would on Windows.

After that I could run the PKHeX perfectly fine:


Link to comment
Share on other sites

  • 3 months later...

Having an issue here. I'm pretty sure I have .net installed because of this:
But trying to execute PkHex through wine gives me this error:


Is there something I'm doing wrong? How do I download .NET Desktop Runtime? I'm using a raspberry pi 5 btw. It has an Arm64 processor, just thought you should know in case that helps.

(Also, trying to install Desktop Runtime with Winetricks gave me this error:vokoscreenNG-2024-01-21_21-51-36_702.png.7f0162c69dff9117b393be63ddb40292.png)

Link to comment
Share on other sites

On 1/27/2024 at 3:38 PM, amidevous said:

I tried the command for Raspbian 12, but it didn't show up anywhere on my apps. My guess is that it doesn't solve the initial issue of needing .NET desktop runtime (or whatever it's called)

Link to comment
Share on other sites

what is the version number of the package there were several problems at the beginning when creating the packages
I had to redo several times and on certain distribution I believe that it is not updated

please check your package version pkhex_24.01.12-73 or update

try temporary manual command to solve problem

#install the prerequisites according to your system

#Ubuntu/Debian/Raspbian with official repository (not use winehq repository or winehq-* package)

sudo apt-get -y install wine winetricks wget zenity make

# or

sudo apt-get -y install wine-stable winetricks wget zenity make

sudo winetricks --self-update

#fedora install rpm fusion free and rpm fussion non free repository (not use winehq repository or winehq-* package)


sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

sudo dnf -y install wine winetricks wget zenity make

sudo winetricks --self-update

#for Mac OSx install xcode and homebrew require

#visit https://developer.apple.com/download/applications/
#and https://brew.sh/
#for last information
#if your computer is not compatible with the latest version of xcodes
#you can download an older version that will be compatible by simply changing the version number in the final url example
#actual latest version
#but my mac is only compatible with version 13 this url will be functional
#to know the compatibility of the xcodes development tools version visit this page

brew install wget

brew install zenity

brew install --cask wine-stable

brew install winetricks

#once the prerequisites are installed you can install by executing the following command

wget "https://bitbucket.org/amidevous/pkhex/raw/master/update.sh" -qO update.sh

chmod +x update.sh


rm -f update.sh

#clean all $HOME folder for reset

rm -rf $HOME/.local/share/pkhex

#when the new version is published you must delete the /opt/pkhex directory with administrator rights

sudo rm -rf /opt/pkhex


enjoy just start with your desktop menu in game

or use command line pkhex

source code is available here for the packages


and on my git for all Unix distributions (Linux and Mac OSX)


I am also working on a new graphical launcher in Zenity

so there will be a new version with a menu and options to simplify problem solving this will also allow you to replace wine with proton and to be able to choose another version of proton if it does not launch with the programmer version

There will also be a configuration with gettext for menu translation

If you have any problems please open a ticket here


do not hesitate to participate in the project on bitbucket


contrary to what is indicated, the version and 23.10.11 which works in net7, net 8 does not seem to work on net8
the program launches but immediately displays an error and closes


after that it's the fault of the developers who do anything

he should have left in net7 and waited at least 2 years

Guaranteed net8 compatibility with wine on all platforms

before changing net7 code to net8


I think using proton should correct this problem


I also invite Unix users to sign this petition



add winehq inssue




Edited by amidevous
Link to comment
Share on other sites

Thanks to the work of Fabian Maurer


PKHex is now compatible with version 24.01.12 on Unix

to update your version execute the following commands

rm -rf $HOME/.local/.share/pkhex
wget "https://bitbucket.org/amidevous/pkhex/raw/master/update.sh" -qO update.sh
chmod +x update.sh
rm -f update.sh

I will update the package on the deposits probably Monday
from the moment you have the dependencies to install
this command will always allow PKHex to be updated on Unix distributions

a big thank you to Fabian Maurer

Edited by amidevous
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...