install Substruct in mac os x

I am trying to install Substruct, how do I run the following command in mac os x?

svn co http://svn.subimage.com/source/substruct/site/tags/rel_0.8 vendor/plugins --username substruct --password substruct svn co http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-6 vendor/rails svn co http://svn.rails-engines.org/engines/tags/rel_1.1.4 vendor/plugins/engines

Install subversion http://www.codingmonkeys.de/mbo/

Then open a terminal window, change to the right directory and paste away.