Linux
Distro | Version |
---|---|
Zorin | 15 |
Parrot | 4.7 |
Mint | 19 |
Elementary | 5 |
Kali | Rolling |
Neon | 5.16 |
VoidLinux & VoidLinux-musl | Rolling |
Gentoo | Rolling |
If you don’t see your distro in the lists bellow you have two options. Either open a ticket asking for support or if you feel adventurus follow the guide how to add support for your linux distro and also consider making a PR so the community can benefit.
Wails uses cgo to bind to the native rendering engines so a number of platform dependencies are needed as well as an installation of Go. The basic requirements are:
- Go 1.12 or above
- npm
Download Go either using your system package manager or from the .
Ensure that you follow the official Go installation instructions.
Add to the PATH
and on
to the GO111MODULE
environment variables. You can do this by adding these lines to your /etc/profile
(for a system-wide installation) or $HOME/.profile
:
Download npm
either using your system package manager or from the . It is best to use the latest release as that is what we generally test against.
Run npm —version
to verify.
For Linux, Wails uses gcc
, webkit
and GTK
. These need to be installed using the distribution specific commands below.
Debian/Ubuntu & derivatives
Arch Linux & derivatives
sudo pacman -S gcc pkgconf webkit2gtk gtk3
Centos
Fedora
sudo yum install gcc-c++ make pkgconf-pkg-config webkit2gtk3-devel gtk3-devel
VoidLinux & VoidLinux-musl
xbps-install base-devel gtk+3-devel webkit2gtk-devel
Gentoo
sudo emerge gtk+:3 webkit-gtk
If you have successfully installed these dependencies on a different flavour of Linux, please consider clicking the “Edit this page” link at the top of the page and submit a PR.
Now you are ready to move on to the next step of installing Wails.