mersenneforum.org Fedora ecm installed, but where?
 Register FAQ Search Today's Posts Mark Forums Read

2010-12-30, 02:53   #1
jasong

"Jason Goatcher"
Mar 2005

3×7×167 Posts
Fedora ecm installed, but where?

Those who have ever discussed my Linux habits with me have probably seen the term perma-noob 1 or more times, and here's yet another reason why I'm a perma-noob.

I used the Fedora(13? not 100% certain) repository to install ecm, and now I have no clue whatsoever where on my computer it resides. I tried the whereis command and simply got
Quote:
 ecm:
as a response. I know that there's a better command to use, but even if you don't know that command, maybe one of you could tell me where Fedora put the program?

Thanks much.

Last fiddled with by jasong on 2010-12-30 at 02:54 Reason: When I say Fedora ecm, I just mean I used the Fedora OS's repository to install the program.

 2010-12-30, 02:59 #2 mdettweiler A Sunny Moo     Aug 2007 USA (GMT-5) 3·2,083 Posts If the way it works on Ubuntu is any indication, it's probably in /usr/bin, /usr/lib or some other place that's in your path; that is, you can just run it as "ecm" from anywhere.
 2010-12-30, 03:15 #3 jasonp Tribal Bullet     Oct 2004 67218 Posts If the ecm binary is in your path, then 'which ecm' will provide a path to it. If not, not.
 2010-12-30, 03:29 #4 jasong     "Jason Goatcher" Mar 2005 3×7×167 Posts It doesn't run when I type "ecm" and "which ecm" lists where it looks, but says it hasn't found it. Is it possible the repository is broken and it only partially performed the actions it was supposed to?
 2010-12-30, 03:34 #5 jasong     "Jason Goatcher" Mar 2005 3·7·167 Posts I'm going to go ask at the Fedora website, stay tuned. :)
 2010-12-30, 04:57 #6 Xyzzy     "Mike" Aug 2002 177448 Posts Install Debian. Then, as root: Code: aptitude install gmp-ecm Then, as a normal user: Code: ecm -h
2010-12-30, 07:03   #7
jasong

"Jason Goatcher"
Mar 2005

3·7·167 Posts

Quote:
 Originally Posted by Xyzzy Install Debian. Then, as root: Code: aptitude install gmp-ecm Then, as a normal user: Code: ecm -h
While I'm sure that would work as well, the awesome leigh123linux(or maybe it was leighlinux123) informed me the command path was /usr/bin/gmp-ecm .

2010-12-30, 11:09   #8
xilman
Bamboozled!

"𒉺𒌌𒇷𒆷𒀭"
May 2003
Down not across

2×72×109 Posts

Quote:
 Originally Posted by jasong While I'm sure that would work as well, the awesome leigh123linux(or maybe it was leighlinux123) informed me the command path was /usr/bin/gmp-ecm .

On my Fedora 14 machine, locate ecm produces 5008 lines of output (!) because I have rather a lot of ECM development files, ECMNet client/server installations, backups of the foregoing, and quite a lot of other ECM-related crud as well. However, the ecm binary is very probably to be found in my ${PATH} if it is to be useful, so let's filter down the results: Code: [pcl@anubis ~]$ echo ${PATH} /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/cuda/bin:/home/pcl/bin [pcl@anubis ~]$
Note that all of those contain the word 'bin' and so I can guide locate(1) rather more precisely to where it may find material of most interest to me:
Code:
[pcl@anubis ~]$locate '*bin*ecm*' /VirtualBoxen/Athlon/home/pcl/bin/ecm /VirtualBoxen/Athlon/usr/local/bin/ecm /VirtualBoxen/Athlon/usr/local/bin/ecm-6.0.1 /VirtualBoxen/Imhotep/bin/ecm /VirtualBoxen/Kyala/pcl/bin/ecm /VirtualBoxen/Malibu/home/pcl/bin/ecm /usr/bin/gmp-ecm /usr/local/bin/ecm [pcl@anubis ~]$
That's more like it. In particular, the last two lines turn up two useful binaries. The lines beginning /VirtualBoxen are backups of old machines which are no longer running but for which I keep their file systems hanging around in case their contents still needed.

Paul

 2011-01-03, 03:57 #9 EdH     "Ed Hall" Dec 2009 Adirondack Mtns 2·3·619 Posts Sorry I didn't notice this until now. My experience with FC13 and prior is thus: Fedora uses gmp-ecm for its command instead of just ecm, if installed via the repositories. Try "gmp-ecm --help" To see where it resides, use "System>Administration>Add/Remove Software" Enter "gmp-ecm" in the search box and choose "Find" When gmp-ecm shows up, which might be a little while, highlight it and go to "Selection>Get file list" A list of all the associated files and locations will be displayed. Mine shows this: Code: /usr/bin/gmp-ecm /usr/lib/libecm.so.0 /usr/lib/libecm.so.0.0.0 /usr/share/doc/gmp-ecm-6.2.3 /usr/share/doc/gmp-ecm-6.2.3/AUTHORS /usr/share/doc/gmp-ecm-6.2.3/COPYING /usr/share/doc/gmp-ecm-6.2.3/COPYING.LIB /usr/share/doc/gmp-ecm-6.2.3/ChangeLog /usr/share/doc/gmp-ecm-6.2.3/NEWS /usr/share/doc/gmp-ecm-6.2.3/README /usr/share/doc/gmp-ecm-6.2.3/TODO /usr/share/man/man1/gmp-ecm.1.gz Last fiddled with by EdH on 2011-01-03 at 04:00

 Similar Threads Thread Thread Starter Forum Replies Last Post EdH GPU Computing 5 2014-10-13 19:16 jimmychauck Information & Answers 1 2010-06-16 04:42 Zeta-Flux GMP-ECM 17 2008-06-10 12:49 db597 Software 0 2004-10-11 09:24 tha Software 2 2004-01-13 23:12

All times are UTC. The time now is 11:15.

Wed May 12 11:15:35 UTC 2021 up 34 days, 5:56, 0 users, load averages: 1.06, 1.37, 1.54