Linux
On Linux, andlabs UI uses the GTK+ widget library (which we will explore in detail in Chapter 6, Go-GTK - Multiple Platforms with GTK) and so the library must be installed on your computer. If you have the Gnome desktop installed, or other applications that use GTK+ (such as Gimp), the library will already be installed. If not, you will need to install this dependency using your system's package manager.
While this is a simple task, the package name varies across systems—it will probably be called gtk3-devel, libgtk-3-dev, or gtk3. Install this in the usual manner and you'll be ready to set up andlabs UI library.
To enable CGo, required by andlabs UI, on Linux you must have a compiler (gcc or clang) installed. This is often already ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access