I am really struggling to get my head around terminal i keep getting commands not found what am i doing wrong?
I am trying to install ruby on the mac using this tutorial. http://www.ruby-lang.org/en/downloads/
but i keep getting the error sudo: apt-get: command not found
Ben-Easts-iMac:~ Ben$ sudo
usage: sudo [-n] -h | -K | -k | -L | -V | -v
usage: sudo -l[l] [-AnS] [-g groupname|#gid] [-U username] [-u username|#uid]
[-g groupname|#gid] [command]
usage: sudo [-AbEHnPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u
username|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AnS] [-C fd] [-g groupname|#gid] [-p prompt] [-u
username|#uid] file ...
Ben-Easts-iMac:~ Ben$ sudo apt-get install ruby1.9.1-full
Password:
sudo: apt-get: command not found
Ben-Easts-iMac:~ Ben$ sudo apt-get install ruby-full
sudo: apt-get: command not found
Ben-Easts-iMac:~ Ben$ sudo apt-get install ruby-full
sudo: apt-get: command not found
Ben-Easts-iMac:~ Ben$ sudo find / -name "apt-get" -print
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
sudo which apt-get
Can some please help me or give me an option to try to debug.
thanks
apt-get
is suitable for Linux based Ubuntu machines; for MAC, try apt-get equivalent such as Brew
are you using a linux debian flavored system ?
if you are on Mac OS (iMac make me think so), you will not be able to use aptitude as it simply doesnt exist on Mac os.
may I advice you to go to http://www.macports.org/ which is kind of the same system (but based on Unix port)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With