This guide installs Tito, a tool for managing RPM-based projects using git for source code repository.
sudo dnf install -y git rpm-build rpmdevtools python3 python3-pip
sudo apt update
sudo apt install -y git rpm python3 python3-pip
# Enable EPEL repository
sudo dnf install -y epel-release
# Install Tito
sudo dnf install -y tito
# Verify installation
tito --version
# Install Tito via pip
pip3 install tito
# Or system-wide
sudo pip3 install tito
# Verify installation
tito --version
# Navigate to your git repository
cd /path/to/your/project
# Initialize Tito
tito init
# This creates:
# - .tito/ directory with tito.props configuration
# - .tito/packages/ for package metadata
# - Updates .gitignore
Edit .tito/tito.props in your project:
[buildconfig]
builder = tito.builder.Builder
tagger = tito.tagger.VersionTagger
changelog_do_not_remove_changelog = False
changelog_format = %a %b %d %Y
# Check Tito version
tito --version
# Check project status
tito status
# Create a test tag (dry-run)
tito tag --dry-run
See Tito Configuration for configuration guidance.
See Tito Security for hardening guidance.
Need professional assistance with your build infrastructure? Our team provides:
Get in touch: office@linux-server-admin.com | Contact Page
References: