trelby 2.3 installation howto linux quick and dirty

3,319 views
Skip to first unread message

Ju

unread,
Jul 10, 2016, 1:34:18 PM7/10/16
to Trelby
Hi,

if you're a developer it's easy to compile trelby yourself. Here's how I did just that running Linux Mint 18
git clone https://github.com/oskusalerma/trelby/ trelby
cd trelby
sudo apt-get install xsltproc docbook-xsl python-wxtools devscripts debhelper python-all python-mock
make names.txt.gz dict_en.dat.gz manual.html trelby.1.gz

nano Makefile

change section "manual.html: doc/*" to
            make -C doc html # && mv doc/manual.html .

change section ""trelby.1.gz: doc/*" to
            make -C doc manpage # && mv doc/trelby.1.gz .

nano debian/control

change "python-wxgtk2.8" to
    python-wxgtk3.0
make deb
cd ..
find your .deb-file here
then install it

if you don't know what this is or are running windows wait for the official release.

Thanks,
Ju

rcen...@gmail.com

unread,
Jul 13, 2016, 2:19:10 AM7/13/16
to Trelby, ns...@noderus.de
Thanks! Got this to work in Linux Mint 18. Since I'm not a developer, I ran into an issue of not having "build-essentials" and "devscripts" installed. Once I installed those packages it all went well by following your step-by-step instructions.

So, if you get an error -- folks like me who aren't developers -- try adding these two files ...

sudo apt-get install build-essential devscripts

https://community.linuxmint.com/tutorial/view/1822

rcen...@gmail.com

unread,
Jul 13, 2016, 2:21:30 AM7/13/16
to Trelby, ns...@noderus.de, rcen...@gmail.com
An EDIT for clarity ...


On Wednesday, July 13, 2016 at 1:19:10 AM UTC-5, rcen...@gmail.com wrote:
Thanks! Got this to work in Linux Mint 18. Since I'm not a developer, I ran into an issue of not having "build-essentials" and "devscripts" installed. Once I installed those packages it all went well by following your step-by-step instructions.

So, if you get an error -- folks like me who aren't developers -- try adding these two files ...

sudo apt-get install build-essential devscripts

This is where I found the information ...
 

cessanf...@gmail.com

unread,
Jul 13, 2016, 10:04:11 PM7/13/16
to Trelby, ns...@noderus.de
This did not work for me.  I installed build-essential and devscripts, and followed instructions provided the OP.  And it didn't work.

Any other suggestions, tips, etc?

Thanks.

cessanf...@gmail.com

unread,
Jul 13, 2016, 10:25:48 PM7/13/16
to Trelby, ns...@noderus.de
Scratch that.  I got it to work.  Oddly, when I left out this step:


make names.txt.gz dict_en.dat.gz manual.html trelby.1.gz

...everything seemed to work perfectly.

Thanks!





On Sunday, July 10, 2016 at 10:34:18 AM UTC-7, Ju wrote:

rcen...@gmail.com

unread,
Jul 14, 2016, 12:55:27 AM7/14/16
to Trelby, ns...@noderus.de, cessanf...@gmail.com
Just curious, is your name database available?

cessanf...@gmail.com

unread,
Jul 14, 2016, 1:04:25 AM7/14/16
to Trelby, ns...@noderus.de
How do I tell if my name database is available?





On Sunday, July 10, 2016 at 10:34:18 AM UTC-7, Ju wrote:

rcen...@gmail.com

unread,
Jul 14, 2016, 1:07:03 AM7/14/16
to Trelby, ns...@noderus.de, cessanf...@gmail.com
Just go to the Tools and click on Name Database.

cessanf...@gmail.com

unread,
Jul 14, 2016, 1:11:49 AM7/14/16
to Trelby, ns...@noderus.de, cessanf...@gmail.com, rcen...@gmail.com
Yes, it my name database appears to be there.

rcen...@gmail.com

unread,
Jul 14, 2016, 1:15:26 AM7/14/16
to Trelby, ns...@noderus.de, cessanf...@gmail.com, rcen...@gmail.com
Sounds good. Since it looked like the name database was what was throwing the error, I was just curious if that was actually working. I don't know why, but I didn't get that error.

cessanf...@gmail.com

unread,
Jul 14, 2016, 1:29:16 AM7/14/16
to Trelby, ns...@noderus.de, cessanf...@gmail.com, rcen...@gmail.com
Yes, the Name Database seems to be working fine.

For the record I am not a developer by any stretch of the imagination.  For some reason when I followed the instructions by the OP all I kept getting was a text file with a bunch of error messages.  Then I realized by executing the step (which I finally omitted) it was creating archived files within the Trelby directory.  Again, I'm no developer, but this seemed odd to me, so I decided to start over and to skip that step.  And it worked.

So, do you know of anything else, aside from the Name Database, that I should check to see if it present and functioning?

Thanks.

cessanf...@gmail.com

unread,
Jul 14, 2016, 1:30:31 AM7/14/16
to Trelby, ns...@noderus.de
Oh, and for the record, I am using Ubuntu 16.04.





On Sunday, July 10, 2016 at 10:34:18 AM UTC-7, Ju wrote:

rcen...@gmail.com

unread,
Jul 14, 2016, 1:37:49 AM7/14/16
to Trelby, ns...@noderus.de, cessanf...@gmail.com, rcen...@gmail.com
I'm not a developer either and had the same issues you mention -- the "compile" (or whatever it's called) didn't happen until the fourth or fifth try. But I saw the essential error and then did a Google search for compiling .deb files and just installed them -- using the link I posted somewhere.

As for checking other issues ... I don't think you have anything to worry about. I'm not running Linux Mint 18 right now, but I didn't see any other problems while I was running Trelby on the live session. So I think you're good to go.

rcen...@gmail.com

unread,
Jul 14, 2016, 1:41:18 AM7/14/16
to Trelby, ns...@noderus.de, cessanf...@gmail.com, rcen...@gmail.com
I should say the same KIND of issues you mention. (I'm tired, I guess, I'm leaving out a lot of words.)

cessanf...@gmail.com

unread,
Jul 14, 2016, 9:56:56 PM7/14/16
to Trelby, ns...@noderus.de, cessanf...@gmail.com, rcen...@gmail.com
So I had a chance to check things particularly the Name Database, Dictionary, Man Pages, and Manual.  These were items which required, according to the READ ME file, the "make" command which I omitted in order to get the packages compiled into a .deb.

The Name Database works, the Dictionary seems to work, and the Man Pages work.  However, the "Manual" link under Help menu does not work.  This may be because there isn't actually a web page for the manual, for v2.3? I dunno.

Does the Manual work for you?

rcen...@gmail.com

unread,
Jul 16, 2016, 9:01:12 PM7/16/16
to Trelby, ns...@noderus.de, cessanf...@gmail.com, rcen...@gmail.com
I'll have to boot into Linux Mint 18 to see. Sorry it's been a while since I've been here. I'll let you know when I know -- probably tomorrow.

Chad S.

unread,
Jul 16, 2016, 9:53:02 PM7/16/16
to tre...@googlegroups.com

Thanks. No problem. I actually recompiled the package and figured out how to get everything working.


--

---
You received this message because you are subscribed to a topic in the Google Groups "Trelby" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trelby/_u7-h46c4x8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trelby+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rcen...@gmail.com

unread,
Jul 17, 2016, 5:03:57 PM7/17/16
to Trelby, cessanf...@gmail.com
I was just going to say that -- "no" -- my Manual link isn't working. Not a huge deal, but I'm curious what you did to get it going.

mind...@gmail.com

unread,
Jul 19, 2016, 3:15:38 PM7/19/16
to Trelby, cessanf...@gmail.com
Is there a link to this 2.3 DEB file anywhere so we can install a working version?
Message has been deleted

jesse....@gmail.com

unread,
Jul 27, 2016, 1:33:15 PM7/27/16
to Trelby, cessanf...@gmail.com, mind...@gmail.com
I'd like to request the same for a .deb package for 2.3. I'm not a developer at all, and I understand the dev's have other things going on, but having Trelby on Ubuntu 16.04 / Mint 18 would be very helpful in production.

If someone can provide a .deb package for 16.04 / Mint 18 they compiled successfully, I'd greatly appreciate it.

jesse....@gmail.com

unread,
Jul 27, 2016, 1:49:01 PM7/27/16
to Trelby, cessanf...@gmail.com, mind...@gmail.com, jesse....@gmail.com
Well I ran through the compiling process, with a few troubleshooting attempts. Seemed to work: installed the .deb package and it opens up. You're all welcome to the .deb file I created (see attached file). I do not guarantee anything, since I'm not a developer, and I'm not responsible for any issues that arise. Install at your own risk.

Just had to say that to CYA. :) But it seems like it's working fine. Should work for Ubuntu 16.04 and Mint 18.

Cheers!

Jesse
trelby 2.3-all.deb
Message has been deleted

goraz...@gmail.com

unread,
Feb 8, 2017, 11:11:54 AM2/8/17
to Trelby, ns...@noderus.de
Hi,

Thanks for your help on this topic. It saved me a lot of time, trying to install trelby on Ubuntu 16.04.

I also had to edit the setup.py file and change the following  lines :

    dataFiles = [
        ("applications", ["trelby.desktop"]),
        ("man/man1", ["doc/trelby.1.gz"]),
        ]

into

    dataFiles = [
        ("applications", ["trelby.desktop"]),
        #("man/man1", ["doc/trelby.1.gz"]),
        ]
 

rcentros

unread,
Mar 19, 2017, 3:41:56 PM3/19/17
to tre...@googlegroups.com

Thanks for the email. I'm keeping your instructions as I didn't do this and noticed my manual wasn't coming up. (Sorry it took so long to get back to you. I don't read mail to this address very often, but I should have seen this email before now.)

mjt...@gmail.com

unread,
May 5, 2017, 2:24:27 PM5/5/17
to Trelby, ns...@noderus.de

Has anyone had success installing this .deb file, Trelby 2.3, on Ubuntu 17.04?  BTW, thanks to the kind soul who compiled it and shared it.

I'm running UbuntuGnome 17.04, when I open the deb file, it opens in Software Center, but when I click the "Install" button nothing seems to happen.  I'm brand new to Linux and don't really know where to go from here.

Any suggestions?




On Sunday, July 10, 2016 at 10:34:18 AM UTC-7, Ju wrote:

Wallace Jackson

unread,
May 5, 2017, 3:18:03 PM5/5/17
to Trelby
That's happened across all apps. Try Opera and Chrome! Walls. iTVart.com

--

---
You received this message because you are subscribed to a topic in the Google Groups "Trelby" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trelby/_u7-h46c4x8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trelby+unsubscribe@googlegroups.com.

ns...@noderus.de

unread,
Jul 29, 2017, 7:04:11 PM7/29/17
to Trelby, ns...@noderus.de
Hi,

the original howto was incomplete. I wrote a blog post which corrects my original post. In any case you'll find there another debian package file to install if you can't compile.

Thanks,
Ju

ns...@noderus.de

unread,
Jul 29, 2017, 7:06:09 PM7/29/17
to Trelby, ns...@noderus.de

jong...@hotmail.com

unread,
Nov 23, 2017, 1:10:30 AM11/23/17
to Trelby
I'm seeking a Trelby ver that will run on my Raspberry Pi.  How can this be done?

greekp...@gmail.com

unread,
Jan 14, 2018, 3:54:39 PM1/14/18
to Trelby
This does not work;.

When I try to compile the deb I get 

debian/rules:5: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed
Makefile:9: recipe for target 'deb' failed
make: *** [deb] Error 29

greekp...@gmail.com

unread,
Jan 14, 2018, 4:13:16 PM1/14/18
to Trelby
This worked for me without a problem!!!! good job my dude and good looking out!

Wallace Jackson

unread,
Jan 14, 2018, 4:32:44 PM1/14/18
to Trelby
PPA?

--

---
You received this message because you are subscribed to a topic in the Google Groups "Trelby" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trelby/_u7-h46c4x8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trelby+unsubscribe@googlegroups.com.

kevd...@gmail.com

unread,
Feb 24, 2019, 8:06:49 AM2/24/19
to Trelby
I was able to successfully compile it, but it won't run. I tried to download and install others' compiled .deb and was able to install, but it still doesn't open. . I was even able to add to my favorites. 

The end of my build file. Any suggestions?

dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build trelby
dpkg-buildpackage: info: binary-only upload (no source included)
Now running lintian trelby_2.3-dev_amd64.changes ...
E: trelby changes: bad-distribution-in-changes-file unstable
W: trelby: priority-extra-is-replaced-by-priority-optional
Finished running lintian.

rcen...@gmail.com

unread,
Feb 26, 2019, 3:06:18 AM2/26/19
to Trelby
Not that I'm all that knowledgeable, but what Linux flavor (and version) are using and what errors do you get when you try to run trelby from the terminal?
Reply all
Reply to author
Forward
0 new messages