Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

opnop123

macrumors newbie
Original poster
Jul 20, 2010
10
0
Folks,

I'm installing Twister for Python and the docs say Twister already comes preinstalled in >10.5.
http://twistedmatrix.com/trac/wiki/Downloads

However I couldn't find it with System Profiler nor with /usr/bin/find.

Ideas?

Is MacPorts a good idea?

Thanks
Op

Sorry, it's called Twisted, not Twister. But still can't find it.

Also I found a libxml2 dylib in /usr/lib/. Must have been preinstalled. But it doesn't show in System Profiler.

So the question still stands... how to verify which unix sw is installed?
 
You could always list everything out that's inside a bin or sbin folder. That should give you a pretty thorough listing of Unix binaries.
 
The *nix comands which, find and locate are your friends for this.

Code:
Arrakis:~ jim$ which twistd 
/usr/bin/twistd
Arrakis:~ jim$

To use locate you need to enable the locate database. Run 'locate whatever' and follow the instructions.

Hope that helps.

Jim
 
If you are using this in python then you don't need to know where it is:
Code:
imac24:~ larkost$ python
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import twisted
>>> twisted
<module 'twisted' from '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/__init__.pyc'>
 
Thanks all, solved my problem today.

The more general question still stands though: how to get a full list of installed *nix sw. System Profiler only lists some of it.

Well, have a good day folks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.