Tongfamily.com

Tong Family Tips and Tricks

Tongfamily.com header image 2

Mac Open Source Software

March 15th, 2008 · No Comments · Mac OS X

Darwin Ports automatically downloads open source projects over the Internet and compiles and installs them on your Mac. Means the whole world of 40 years of unix tools is available with a single command line on your computer. (BTW, Darwin is the name of the core operating system under Mac OS X and Ports means “portable software” you can load onto your computer. To get them you need to:

  1. Download darwin at download.darwinports.com
  2. Install Xcode
  3. Install XWindows. First see if there is a file /Applications/Utilities/X11 and if not, insert the Mac OS X install disk and run Optional Installs and check X11
  4. Set the Unix shell envioronment. Make sure ~/.profile includes the lines export PATH=/opt/local/bin:/opt/local/sbin:$PATH and for X11 you need _export DISPLAY=:0.0” and to run X11 appls properfly, you need to edit /etc/X11/xinit/xinitrc and add source ~/.profile and finally open X11 and select Customize Menu/Applciations and double click on Terminal and change that entry to xterm -ls
  1. Install DarwinPorts by downloading and runing the installer. Regularly run the self updater by running the command sudo port -d selfupdate

    Now you can install just about any open source software if you know it’s name. For instance to install the network mapper called nmap, you start /Applications/Utility/Terminal and run the command:

    sudo port install nmap

    Here are some useful utilities from a huge list of 4,000 ports at Macports.org

    • nmap. Listed above, this let’s you scan a network and look for broken devices. Unfortunately with Darwinports, only the text based thing work, the graphical interface called zenmap doesn’t
    • nessus-core. This is security software that look for security holes in your network. This doesn’t build at all complaining about an error in a library. On the other hand, you can download a compiled binary at Nessus.org
  • aircrack.ng is another open source utility for checking the security of your wifi keys that also has a Mac binary version

    So I’m on to Fink which has the same purpose. It is a little more complicated because you have to:

  • download fink and then compile it yourself.
  • You also have to load Xquartz which is a version of the X11 package.

Tags:

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

You must log in to post a comment.