Fedora Linux Support Community & Resources Center
  #1  
Old 20th November 2012, 09:03 PM
scrapbrain Offline
Registered User
 
Join Date: Nov 2012
Location: Italy
Posts: 4
linuxfirefox
Tribler on Fedora 17

Hi everyone, I am not sure if this should be posted here or in package section or maybe in software section.

I am searching a way for installing Tribler, a decentralized open source bittorent client, in Fedora 17 x86_64. Surprisingly I am not able to find a complete howto anywhere...

I only found an rpm from a third part repository which gives some errors during execution. I cannot find informations about compiling it from scratch: I am missing some basical information on how to grab code from their svn (I am a newbie: I usually get tarballs of the code, then I decompress and compile...).

I also tried an installation through wine which unfortunately crashes randomly when running the application. I was wondering if someone succeded... Have you got some information about installing Tribler?

Secondly: in your opinion, is there a chance that Tribler will ever be included in future Fedora releases?
Reply With Quote
  #2  
Old 21st November 2012, 11:37 AM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,103
linuxfirefox
Re: Tribler on Fedora 17

The issue is Elliptical Curve Cryptography, which is required by tribler, but which has been judged patent-encumbered by the Red Hat legal department. You can try enabling ECC support: https://www.martineve.com/2011/07/22...hy-in-openssh/

Quote:
Originally Posted by scrapbrain View Post
Secondly: in your opinion, is there a chance that Tribler will ever be included in future Fedora releases?
Quote:
Never say never, but at this point, I wouldn't put money on that happening.
--Tom Callaway Feb. 2012 (http://comments.gmane.org/gmane.linu...ora.legal/1576)

Maybe something like openssl-freeworld will appear in the rpmfusion repos.
Reply With Quote
  #3  
Old 21st November 2012, 03:38 PM
scrapbrain Offline
Registered User
 
Join Date: Nov 2012
Location: Italy
Posts: 4
linuxfirefox
Re: Tribler on Fedora 17

I see... I didn't know about patents!
In the meanwhile I will gather more information and I will keep trying to compile!
Thank you!
Reply With Quote
  #4  
Old 21st November 2012, 03:59 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
linuxchrome
Re: Tribler on Fedora 17

Have you been to this page ? Supposedly, you can install the repo then just do "yum install tribler" for F17.
Reply With Quote
  #5  
Old 21st November 2012, 04:11 PM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,103
linuxfirefox
Re: Tribler on Fedora 17

Quote:
Originally Posted by PabloTwo View Post
Have you been to this page ? Supposedly, you can install the repo then just do "yum install tribler" for F17.
I did try that rpm. Installed okay and put a menu in 'Internet', but running it that way only produced a lot of cpu and disk activity and no gui in openbox. Running from a terminal gave the 'no EC' error.

Given tribler's purpose and the unknown provenance of the rpm I uninstalled it quickly.

You don't need to enable the repo - just download the rpm and select to install it.
Reply With Quote
  #6  
Old 21st November 2012, 04:20 PM
scrapbrain Offline
Registered User
 
Join Date: Nov 2012
Location: Italy
Posts: 4
linuxfirefox
Re: Tribler on Fedora 17

Yes, I tried that.
I added that repo and installed that version of tribler through yum: I think I am missing something because when I run the program I get these errors:

Code:
 Traceback (most recent call last):
  File "Tribler/Main/tribler.py", line 27, in <module>
    from Tribler.Main.vwxGUI.MainFrame import FileDropTarget
  File "/usr/share/tribler/Tribler/Main/vwxGUI/__init__.py", line 11, in <module>
    from Tribler.Core.dispersy.dispersy import Dispersy
  File "/usr/share/tribler/Tribler/Core/dispersy/dispersy.py", line 58, in <module>
    from member import Member
  File "/usr/share/tribler/Tribler/Core/dispersy/member.py", line 8, in <module>
    from crypto import ec_from_private_bin, ec_from_public_bin, ec_to_public_bin, ec_signature_length, ec_verify, ec_sign
  File "/usr/share/tribler/Tribler/Core/dispersy/crypto.py", line 98, in <module>
    _curves = {u"very-low":M2Crypto.EC.NID_sect163k1,
AttributeError: 'module' object has no attribute 'EC'
I don't know exactly what I am missing but maybe it is related with ECC, as sonoran suggested... and I quickly uninstalled too...

Last edited by scrapbrain; 21st November 2012 at 04:26 PM. Reason: adding lines, corretting errors
Reply With Quote
  #7  
Old 21st November 2012, 04:25 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
linuxchrome
Re: Tribler on Fedora 17

Looks like it goes back to the "crypto" (Requires m2crypto) thing.
Code:
.......
from crypto import ec_from_private_bin, ec_from_public_bin, ec_to_public_bin, ec_signature_length, ec_verify, ec_sign
.....
AttributeError: 'module' object has no attribute 'EC'
My thinking was that installing from that repo would pull in the needed deps.

Agreed, misbehaving code from an unknown/untested third party repo is always a somewhat scary thing
Reply With Quote
  #8  
Old 21st November 2012, 04:38 PM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,103
linuxfirefox
Re: Tribler on Fedora 17

As Dr.Eve said at https://www.martineve.com/2011/07/22...hy-in-openssh/, Fedora's /usr/include/openssl/ecdsa.h header file is missing.

You would have to compile openssl with ECC support turned on, as well as incorporating any other changes Fedora makes to upstream openssl, before tribler would run on F17.

With so many other torrent clients available I think I would wait until all the trackers are shut down - and at that point tribler will probably be very popular.
Reply With Quote
  #9  
Old 21st November 2012, 05:05 PM
scrapbrain Offline
Registered User
 
Join Date: Nov 2012
Location: Italy
Posts: 4
linuxfirefox
Re: Tribler on Fedora 17

I see... Maybe I will be lucky and tribler will be included in the future in rpmfusion repositories: I added it in a wishlist. When I have some time (in some day I hope) I will try to compile and install m2crypto and all the needed dependencies, then I will try to fetch the code from tribler site and compile everything (before that I have to understand how SVN works). In the meantime all suggestions are welcome

Again, thank you all!
Reply With Quote
  #10  
Old 21st November 2012, 05:26 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
linuxchrome
Re: Tribler on Fedora 17

svn isn't very complicated actually. You need the rpm package suibversion installed.
There should be some instructions on the website that you want to "checkout" the code.
Here's an example of one that I use to build rpms for moc (Music On Console).
I have a directory ~/src/ that I use for all my source code compiling in.
Code:
mkdir ~/src/moc
cd src/moc
svn co svn://daper.net/moc/trunk
That creates the directory ~/src/moc/trunk/, with all the sourecode in the .../trunk/ directory and sub-directories. You should be able to find the correct command and url from whatever sourcecode website you're trying to get that uses svn.

When code/files are updated, then all you need to do to get the latest is:
Code:
cd src/moc/trunk
svn up
..and all changed files since your "co" checkout or last 'up" update are downloaded.
Reply With Quote
Reply

Tags
fedora 17, tribler

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Did you get Tribler running on fedora ? zydoon Using Fedora 0 27th January 2009 03:15 PM


Current GMT-time: 19:39 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat