how to compile Trelby from source

tags: trelby, compile, linux, blog

Trelby is a screen writing software you can read more about on

Since its devs have not released an updated official version (from 2.2 to 2.3), we cannot use the available packages from the official site on the latest linuxes. Thus we need to compile the source. This is a quick and dirty way to do it, it worked for me, may not work for you. I will not give support if you run into problems. See referenced original post on google groups, which I have updated here.

  • download the source
git clone trelby
cd trelby
  • install the required packages
sudo apt-get install xsltproc docbook-xsl python-wxtools devscripts debhelper python-all  python-mock build-essential
  • edit the makefile
nano Makefile 

add && cp trelby.1.gz doc/ at the end of the command in section dist:

dist: names.txt.gz dict_en.dat.gz manual.html trelby.1.gz
        python sdist && cp trelby.1.gz doc/
  • edit the package file
nano debian/control

and change python-wxgtk2.8 to python-wxgtk3.0 in the line which starts with Depends.

  • create a deb package and install it
make deb
cd ..

find your .deb-file here, then install it. That’s it. Now you can write a major work. Or leave it to the gods.

I have prepped a debian package in case you want to avoid the hassle of compiling it http://files.нсрср.рус/programs/trelby/.