How to get a list of installed unix software

Discussion in 'macOS' started by opnop123, Jul 20, 2010.

  1. opnop123
    Expand Collapse
    macrumors newbie

    Joined:
    Jul 20, 2010
    #1
    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?
     
  2. angelwatt
    Expand Collapse
    Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    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.
     
  3. jimc
    Expand Collapse
    macrumors newbie

    Joined:
    Oct 26, 2006
    Location:
    Edinburgh, Scotland
    #3
    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
     
  4. larkost
    Expand Collapse
    macrumors 6502a

    Joined:
    Oct 13, 2007
    #4
    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'>
     
  5. opnop123
    Expand Collapse
    thread starter macrumors newbie

    Joined:
    Jul 20, 2010
    #5
    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!
     
  6. psxguru
    Expand Collapse
    macrumors 6502a

    Joined:
    May 19, 2006

Share This Page