LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How install packages in Macbook pro.. like apt-get install <pkg>. (https://www.linuxquestions.org/questions/linux-newbie-8/how-install-packages-in-macbook-pro-like-apt-get-install-pkg-4175422864/)

Dinesh184 08-19-2012 03:26 AM

How install packages in Macbook pro.. like apt-get install <pkg>.
 
i dont know how i can install pkgs in my macbook pro directly the way we install in ubuntu linux.

ex:

apt-get install <pkg>

Thanks in advance
/

Celyr 08-19-2012 04:32 AM

Well, install Ubuntu in your MacBook

Knightron 08-19-2012 05:51 AM

OsX is like Windows, in that it doesn't have package manager like what you get with a Gnu/Linux distribution. You can use macports and what you desire is most likely FINK.
The repositories maintained for these programs are not by apple, so you are relying on a third party which is not a great practice.
The alternative as Celyr pointed out is to install a Gnu/Linux distribution onto your mac. I personally much prefer most Gnu/Linux distributions over OsX, but when i bought my first computer, i'd never used Linux at the time and chose a macbook pro. Since then however i have, and consequently i have installed Gnu/Linux to my Macbook pro. The problem with this approach is that OsX is created specifically with certain hardware in mind. Because of this factor, i've found a major drain on the battery while using Gnu/Linux. You just have to google 'Bootcamp battery life' to get an idea that many many others are suffering the same issue running Windows.

Goodluck Mate.


All times are GMT -5. The time now is 04:48 AM.