Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Praveen2710

macrumors newbie
Original poster
Oct 24, 2013
3
0
HI,
I have to run a photon framework but install instructions are for debian like system is there any way to imitate linux behavior in mac ?

I need to use sudo apt-get command which is not in mac
 
HI,
I have to run a photon framework but install instructions are for debian like system is there any way to imitate linux behavior in mac ?

I need to use sudo apt-get command which is not in mac

There are at least 3 Linux/Unix-style package managers for Mac:

Macports
Fink
Homebrew

...chose one (personally, I use MacPorts), and you can use them to install most of the common Open Source packages.

However, looking for "Photon framework" it seems to be a PHP library, and OS X already includes PHP (google 'enable PHP on your version of OS X') - but you need to install subversion (a source code manager) to download it. Subversion is included in the XCode command-line tools, which you'll need to install anyway to use one of the package managers.

The other possibility is to use VirtualBox (or Parallels/VMWare if you have it - but VirtualBox is free and good enough for this) to install Debian Linux as a virtual machine.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.