Build Tally from source on Linux (Ubuntu/Debian/Fedora)
Before building Tally on Linux, you'll need to install the following:
# Ubuntu/Debian:
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
# Fedora:
sudo dnf install nodejs npm
# Install Rust from https://rustup.rs/
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source ~/.cargo/env
# Ubuntu/Debian:
sudo apt update
sudo apt install build-essential libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
# Fedora:
sudo dnf install gtk3-devel webkit2gtk3-devel libappindicator-gtk3-devel librsvg2-devel patchelf
# Ubuntu/Debian:
sudo apt install git
# Fedora:
sudo dnf install git
git clone https://github.com/abdulrahmanqureshi/time2trace.git
cd time2trace/timetrace-mock
npm install
npm run tauri:build
# The AppImage will be created at:
src-tauri/target/release/bundle/appimage/Tally_*.AppImage
# Make it executable:
chmod +x src-tauri/target/release/bundle/appimage/Tally_*.AppImage
chmod +x Tally_*.AppImage
./Tally_*.AppImage
# Copy to /usr/local/bin for system-wide access
sudo cp Tally_*.AppImage /usr/local/bin/tally
sudo chmod +x /usr/local/bin/tally
# Now you can run it from anywhere:
tally
GTK/WebKit errors: Make sure you have all the required system dependencies installed.
Permission errors: Ensure the AppImage is executable with chmod +x.
Rust compilation errors: Make sure you have the latest Rust toolchain installed.
If building from source is challenging, you can use package managers:
# Snap (if available):
sudo snap install tally
# Flatpak (if available):
flatpak install flathub com.abdulrahmanqureshi.timetrace
If you encounter issues building Tally on Linux: