This project is now depreciated. Recommend using the Opentrack Appimage provided here. Opentrack Note that if attempting to use with Star Citizen there is a potential bug with the wrapper. More information can be found on the Star Citizen Lug Knowledge Base
Updates for Fedora 43 require Qt6. The current version of this script only supports Qt5. While investigating changes and updates, discovered the above mentioned Appimage which is a better solution. Feel free to reach out if you have any questions on setup and I will try to help.
This repository contains a Bash script that automates the process of building and installing opentrack on Fedora-based systems including Nobara using dnf.
The script performs the following tasks:
-
Dependency Handling:
- Checks for conflicting Wine packages and selects the appropriate development package (
wine-develorwine-staging-devel). - Installs necessary dependencies including
cmake,git,qt5packages,opencv-devel,onnxruntime-devel, and others.
- Checks for conflicting Wine packages and selects the appropriate development package (
-
Repository Management:
- Clones the opentrack repository if it doesn't exist.
- Updates the repository if it already exists.
-
Build Process:
- Configures the build environment using CMake (with support for ONNXRuntime and Wine SDK).
- Compiles opentrack using
makewith parallel processing. - Sets up Windows headers (e.g.,
windows.h) needed for Wine-based builds. - Installs opentrack locally within the build directory.
-
Post-Installation Instructions:
- Provides instructions on adding the opentrack executable to your PATH.
- Offers an optional cleanup step for unused dependencies.
-
Operating System:
A Fedora-based Linux distribution or any system that usesdnfas its package manager. -
Permissions:
The script must be run as a non-root user with sudo privileges.
-
Download the script, open a terminal in the directory where you put it and make it executable with
chmod +x v1.0_opentrack_build.sh -
Run the script with
./v1.0_opentrack_build.sh- note: Depending on dependencies it could take some time to complete.
-
After install for easier access you can add the opentrack directory to PATH
export PATH="$HOME/opentrack/build/install/bin:$PATH"
- Fedora Workstation 41
- Nobara 41
This script is provided "as is" without any warranty. Use it at your own risk. The author is not responsible for any damage or data loss resulting from the use of this script.