Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRyan Bent
6,433 PointsIn my console, it keeps telling me commands are not found. When I try to enter anything
tried to delete cookies and log out. Still doesn't work
3 Answers
Chandan K. Sah
Courses Plus Student 12,665 PointsWhat console you are using?
Brad Zickafoose
7,726 PointsI'm also getting "command not found" whenever I try to run "sudo apt-get install" or "sudo apt-get upgrade" from Terminal in OS X.
Victoria Holland
6,159 PointsThe APT package manager only works on Debian based Linux distributions. It won't work on Apple OS X terminal. You would need to use the Treehouse console or even install a Linux distro in VirtualBox if you really want to learn more about it.
Marcus Parsons
15,719 Points+1 to Victoria's comment.
Li Mbo
5,096 PointsSo what is the equivalent for Mac?
Marcus Parsons
15,719 PointsThere is no true equivalent for Mac. The APT package manager works based on Linux repositories for Linux based binaries. They are not meant for Mac files. There are methods to install apt-get
but you'd only be able to install basic Unix binaries or Linux binaries that will be unable to compile on your system. What are you trying to do?
amathiaitishar
13,229 PointsInstall something called Homebrew [http://brew.sh/], which is described as the missing package manager for OSX. Homebrew will let us install different command line software very easily.
1] So, copy this link:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" or go directly on [http://brew.sh/] and copy the link from there, if you feel so, and
2] Open your Terminal and paste the link and hit enter and you will see something like :
==> This script will install: /usr/bin/local/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1
And will prompt you to hit Enter[Return] to continue to install the homebrew and then you will see something like: ==>Installation succesful!
For further information you can go https://git.io/brew-docs or [http://brew.sh/]
Hope this helps, Best :) Amathia
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointswhat did you type in?