Use Sudo apt-get in Terminal

Discussion in 'Mac Apps and Mac App Store' started by Praveen2710, Oct 24, 2013.

  1. Praveen2710 macrumors newbie

    Joined:
    Oct 24, 2013
    #1
    sudo apt-get install python-dev python-numpy python-numpy-dev python-setuptools python-numpy-dev python-scipy libatlas-dev g++

    I need to use this to install on my mac terminal.
    It says apt-get not found is there any way to get this done.

    Some one said use macports.I installed it but dont know how to use in precisely. Help would be appreciated.
     
  2. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #2
    apt-get is mainly used for Debian Linux systems. Mac OS X is not a Debian system nor a Linux system. Python is already installed by default on Mac OS X.
     
  3. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #3
    sudo port install python-dev python-numpy python-numpy-dev python-setuptools python-numpy-dev python-scipy libatlas-dev g++

    If the packages are named differently in Mac Ports then you will need to change the names accordingly in the install line. Oh and you may want to do a sudo port selfupdate to make sure you have the latest installed first even though it is new install there may have been updates to the packages or ports itself.
     
  4. Sital macrumors 68000

    Sital

    Joined:
    May 31, 2012
    Location:
    New England
    #4
    I have a sudo python-sized python-strength headache++
     

Share This Page