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
Mark_CoAsked:
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.

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

You have to get  fink from  (http://www.finkproject.org/) to have apt-get command.
0
Mark_CoAuthor Commented:
0
Mark_CoAuthor Commented:
I installed command line tools from xcode but that didn't fix the issues either
0
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.

GaryCommented:
http://rudix.org/documentation.html

To install
curl -s https://raw.github.com/rudix-mac/package-manager/master/rudix.py | sudo python - install rudix

Example install using it.
sudo rudix install wget

Works with the latest Mac versions unlike Fink
0

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 https://raw.github.com/rudix-mac/package-manager/master/rudix.py
sudo python rudix.py install rudix

https://code.google.com/p/rudix-mountainlion/

?
0
GaryCommented:
Shouldn't matter, they should all be on the same release.
0
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
Ruby

From novice to tech pro — start learning today.