Install apt-get and ufw on Mac 10.8.4

I have been googling like crazy and nothing is helping me.

I keep getting  these errors. I have tried home-brew, looked at Macports but i'm not sure how to make that help me get apt-get and ufw, i have checked into using yum instead to install but no dice... nothing is helping.

here is what I get when i do sudo ufw allow 80
sudo: ufw: command not found

Open in new window

also sudo apt-get install <pkg goes here>
sudo: apt-get: command not found

Open in new window

I can't find how to get apt-get and ufw installed on my Mac terminal. Help me please.

The reason I am doing this is I want to upgrade Ruby from 1.8.7 to 2.0.0 . I know I can do that without getting these commands to work but I need them to work because I will need for other things. Thanks
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

apt-get does not come out of the box for MAC.

You have to get  fink from  ( to have apt-get command.
Mark_CoAuthor Commented:
Mark_CoAuthor Commented:
I installed command line tools from xcode but that didn't fix the issues either
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.


To install
curl -s | sudo python - install rudix

Example install using it.
sudo rudix install wget

Works with the latest Mac versions unlike Fink

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mark_CoAuthor Commented:
should i use this one instead from the site you gave: curl -O
sudo python install rudix

Shouldn't matter, they should all be on the same release.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.