Link to home
Start Free TrialLog in
Avatar of Mark_Co
Mark_CoFlag for United States of America

asked on

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
Avatar of unknown_routine
unknown_routine
Flag of United States of America image

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.
Avatar of Mark_Co

ASKER

Avatar of Mark_Co

ASKER

I installed command line tools from xcode but that didn't fix the issues either
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mark_Co

ASKER

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/

?
Shouldn't matter, they should all be on the same release.