Maintainers
Pricing
Enterprise
More
More
Documentation
Try Live
Rankings
Install
Blog
Docs7
Ask
New
Add Docs
TuxGuitar
https://github.com/helge17/tuxguitar
Admin
TuxGuitar is an open source multitrack tablature editor and player written in Java.
Tokens:
25,881
Snippets:
467
Trust Score:
7.2
Update:
2 months ago
Context
Chat
Benchmark
47
Latest
Show doc for...
Code
Info
Show Results
Tokens:
Raw
Copy
Link
Tokens:
Raw
Copy
Link
### Install macOS Prerequisites Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Install necessary build tools and dependencies using Homebrew. ```sh $ brew install openjdk maven wget ``` -------------------------------- ### Download and Install SWT for Windows Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Downloads the SWT library and installs it into the local Maven repository. ```sh $ wget https://download.eclipse.org/eclipse/downloads/drops4/R-4.37-202509050730/swt-4.37-win32-win32-x86_64.zip $ mkdir swt-4.37-win32-win32-x86_64 $ cd swt-4.37-win32-win32-x86_64 $ unzip ../swt-4.37-win32-win32-x86_64.zip $ mvn install:install-file -Dfile=swt.jar -DgroupId=org.eclipse.swt -DartifactId=org.eclipse.swt.win32.win32 -Dpackaging=jar -Dversion=4.37 $ cd .. ``` -------------------------------- ### Install build prerequisites on Debian/Ubuntu Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Install necessary development packages and dependencies via apt. ```sh $ sudo apt install wget unzip git build-essential default-jdk maven libwebkit2gtk-4.1-0 libfluidsynth-dev libjack-jackd2-dev libasound2-dev liblilv-dev libsuil-dev qtbase5-dev ``` -------------------------------- ### Download and Install SWT for macOS Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Download the SWT library and install it into the local Maven repository. ```sh $ TUX_ARCH=`uname -m | sed 's/arm64/aarch64/'` $ wget https://download.eclipse.org/eclipse/downloads/drops4/R-4.37-202509050730/swt-4.37-cocoa-macosx-${TUX_ARCH}.zip $ mkdir swt-4.37-cocoa-macosx-${TUX_ARCH} $ cd swt-4.37-cocoa-macosx-${TUX_ARCH} $ unzip ../swt-4.37-cocoa-macosx-${TUX_ARCH}.zip $ mvn install:install-file -Dfile=swt.jar -DgroupId=org.eclipse.swt -DartifactId=org.eclipse.swt.cocoa.macosx -Dpackaging=jar -Dversion=4.37 $ cd .. ``` -------------------------------- ### Start TuxGuitar Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Launch the application from the command line. ```sh $ tuxguitar ``` -------------------------------- ### Build and install TuxGuitar Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Compile the project using Maven and install the resulting Debian package. ```sh $ cd desktop/build-scripts/tuxguitar-linux-swt-deb $ mvn -e clean verify -P native-modules $ sudo dpkg -i target/tuxguitar-*.deb ``` -------------------------------- ### Build and Start TuxGuitar on FreeBSD Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Build the project and launch the application using the generated shell script. ```sh $ cd desktop/build-scripts/tuxguitar-freebsd-swt $ mvn -e clean verify -P native-modules ``` ```sh $ cd target/tuxguitar-* $ ./tuxguitar.sh ``` -------------------------------- ### Download and install SWT for Linux Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Download the Eclipse SWT library and install it into the local Maven repository. ```sh $ wget https://download.eclipse.org/eclipse/downloads/drops4/R-4.37-202509050730/swt-4.37-gtk-linux-`uname -m`.zip $ mkdir swt-4.37-gtk-linux-`uname -m` $ cd swt-4.37-gtk-linux-`uname -m` $ unzip ../swt-4.37-gtk-linux-`uname -m`.zip $ mvn install:install-file -Dfile=swt.jar -DgroupId=org.eclipse.swt -DartifactId=org.eclipse.swt.gtk.linux -Dpackaging=jar -Dversion=4.37 $ cd .. ``` -------------------------------- ### Install SWT for FreeBSD Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Register the system-provided SWT library with the local Maven repository. ```sh mvn install:install-file -Dfile=/usr/local/share/java/classes/swt.jar -DgroupId=org.eclipse.swt -DartifactId=org.eclipse.swt.gtk.freebsd -Dpackaging=jar -Dversion=4.21 ``` -------------------------------- ### Build and Start TuxGuitar on Linux Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Commands to compile the Linux version and launch the application. ```sh $ cd desktop/build-scripts/tuxguitar-linux-swt $ mvn -e clean verify -P native-modules ``` ```sh $ cd target/tuxguitar-* $ ./tuxguitar.sh ``` -------------------------------- ### Install WSL2 on Windows Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Run this command in an Administrator PowerShell session to install WSL2 and the default Ubuntu distribution. ```ps wsl --install ``` -------------------------------- ### Install Build Prerequisites for Windows Cross-Compilation Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Installs necessary development tools and compilers on Ubuntu/Debian systems. ```sh $ sudo apt install wget unzip git default-jdk maven gcc-mingw-w64-x86-64 g++-mingw-w64-i686-win32 ``` -------------------------------- ### Install FreeBSD Prerequisites Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Install required build dependencies using the FreeBSD package manager. ```sh $ sudo pkg install openjdk11 alsa-plugins maven swt gcc gmake fluidsynth wget git lilv suil ``` -------------------------------- ### Install SWT dependencies via terminal Source: https://github.com/helge17/tuxguitar/blob/master/docs/IDEs.md Use these commands in the Eclipse workspace terminal to install Maven and the required SWT JAR file into the local repository. ```sh eclipse-workspace$ sudo apt install maven eclipse-workspace$ mkdir externals eclipse-workspace$ cd externals eclipse-workspace$ wget https://archive.eclipse.org/eclipse/downloads/drops4/R-4.37-202509050730/swt-4.37-gtk-linux-x86_64.zip eclipse-workspace/externals$ mkdir swt-4.37-gtk-linux-x86_64 eclipse-workspace/externals$ cd swt-4.37-gtk-linux-x86_64 eclipse-workspace/externals$ unzip ../swt-4.37-gtk-linux-x86_64.zip eclipse-workspace/externals$ mvn install:install-file -Dfile=swt.jar -DgroupId=org.eclipse.swt -DartifactId=org.eclipse.swt.gtk.linux -Dpackaging=jar -Dversion=4.37 ``` -------------------------------- ### Build and Start TuxGuitar on macOS Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Execute the Maven build process for the macOS SWT cocoa target. ```sh $ cd desktop/build-scripts/tuxguitar-macosx-swt-cocoa $ mvn -e clean verify -P native-modules $ cd - ``` -------------------------------- ### View build script path Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Reference the build script for hints and workarounds. ```sh misc/build_tuxguitar_from_source.sh ``` -------------------------------- ### Copy Build Artifacts to Windows Filesystem Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Transfer the compiled TuxGuitar folder from the WSL2 environment to the Windows filesystem. ```sh $ cp -r desktop/build-scripts/tuxguitar-windows-swt-x86_64/target/tuxguitar-9.99-SNAPSHOT-windows-swt-x86_64 /mnt/c/tuxguitar ``` -------------------------------- ### Build TuxGuitar without unit tests Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Use this command to skip unit tests during the build process. Disabling tests is not recommended for standard builds. ```bash mvn -e clean verify -P native-modules -DskipTests ``` -------------------------------- ### Build TuxGuitar without unit tests Source: https://github.com/helge17/tuxguitar/blob/master/docs/INSTALL.md Use this command to skip unit tests during the build process. Disabling tests is not recommended for standard builds. ```bash $ mvn -e clean verify -P native-modules -DskipTests ``` -------------------------------- ### Build Windows Version on Linux Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Compiles the Windows version by explicitly setting profiles to exclude Linux and include Windows. ```sh $ cd desktop/build-scripts/tuxguitar-windows-swt-x86_64 $ mvn -e clean verify -P native-modules -P -platform-linux -P platform-windows $ cd - ``` -------------------------------- ### Configure VM arguments for debug Source: https://github.com/helge17/tuxguitar/blob/master/docs/IDEs.md Set these VM arguments in the Eclipse Debug Configuration to point to the correct share and home paths. Ensure the path is updated to match your local source directory. ```text -Dtuxguitar.share.path="(path to your tuxguitar source folder)/desktop/build-scripts/tuxguitar-linux-swt/target/tuxguitar-9.99-SNAPSHOT-linux-swt/share/" -Dtuxguitar.home.path="(path to your tuxguitar source folder)/desktop/build-scripts/tuxguitar-linux-swt/target/tuxguitar-9.99-SNAPSHOT-linux-swt/" ``` -------------------------------- ### Clone TuxGuitar source code Source: https://github.com/helge17/tuxguitar/blob/master/INSTALL.md Retrieve the project source code from the official repository. ```sh $ git clone https://github.com/helge17/tuxguitar.git $ cd tuxguitar ```