installing 'ack' and terminal help

Discussion in 'Mac Programming' started by joeminkie, Dec 10, 2008.

  1. joeminkie macrumors newbie

    Jan 15, 2008
    hey everyone, i'm not totally sure this question fits here but i'm not sure where else to go at the moment. i'm trying to install ack: but the instructions on the site aren't working:

    curl > ~/bin/ack && chmod 0755 !$ 
    at work today i asked a linux guy for help to install it on my work machine, but i'm not totally sure how he did it and i can't recreate what he did at home now. i get the gist of what is supposed to be happening but no matter what directory i put as the target path it says either "No such file or directory" or "Permission denied." i've tried /bin, /usr/local/bin, /usr/bin, and created a directory /usr/local/ack but it still won't DL. i'm sure i'm missing something simple about terminal/unix but i've been trying to figure this out for hours (including last night) and google is no help. i appreciate any help, even if it's a pointer to material to read.
  2. yoavcs macrumors regular

    Apr 7, 2004
    1. this isn't the right forum

    2. "permission denied" stems from the fact you are trying to install into /usr/local/bin w/o root permission.

    try adding "sudo" to the beginning of the "curl" line and entering your root password when prompted.

Share This Page