Skip to content
A script to create RPMs in less than five minutes from start to finish.
Branch: master
Clone or download
Latest commit 4eded37 Mar 20, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Update Mar 19, 2018
root/usr Added support for %config(noreplace) file flag Mar 19, 2018
spec Added support for %config(noreplace) file flag Mar 19, 2018
LICENSE Initial commit Sep 17, 2013 Typo Feb 15, 2017
helper.db - Changed path of togo script May 7, 2016

Scroll down to see a super-fast example of Togo in action.

If you have any questions, problems, suggestions, or just plain like the software, please email me at to let me know; I base how much work I put in on my projects off how many people find them useful.

If you find Togo useful, please also consider upvoting my answer at StackOverflow to spread the word about it:

What is Togo?

Want to create an RPM to deploy your software and don't want to spend hours learning how to do it? -or maybe you're already familiar with the process, but just want it to feel more clean and organized?

Use Togo! You can have your first RPM built and ready to install in less than 5 minutes. (Scroll down for a super-fast example.)

Who might find Togo useful?

  • A sysadmin who has a script or group of scripts he wants to add to a yum repository
  • Python (or other language) developers who want to package their modules into an RPM
  • A developer who has pre-compiled binaries he wants to package up and install on several systems
  • Anyone who wants to keep track of everything on their system(s) with RPM

Quick-start Guide


Download and install togo using whatever method is most convenient:

Using yum
$ sudo yum install
Using dnf
$ sudo dnf install
Manual install

Clone the repo, run the build script, and install the RPM manually:

$ git clone

$ cd togo; ./

$ sudo yum localinstall ./rpms/*.rpm


Now that togo is installed, configure your name and email:

$ togo configure -n "Your Name" -e ""

This information is only used to set the "Packager" field on any RPMs you create:

$ rpm -qip togo-2.0-2.noarch.rpm | grep "Packager"
Packager    : Gene Reese <>

Super-Fast Example

  1. Create the project directory using the script (this should be the desired name of your RPM):
$ togo project create my-new-rpm; cd my-new-rpm
  1. Copy your files into the build root:
$ mkdir -p root/usr/local/bin; touch root/usr/local/bin/example_file
  1. Exclude the the ownership of '/usr', '/usr/local', and '/usr/local/bin' from your RPM:
$ togo file exclude root/usr/local/bin
  1. OPTIONAL: Modify the generated spec file to your desired version/release/summary, etc.
$ vi spec/header
  1. Build the RPM
$ togo build package

-and your RPM is placed into the ./rpms directory.

You can’t perform that action at this time.