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 trialJay Hori
554 PointsWhen I type in sudo apt-get update, I get "command not found".
When I type in sudo apt-get update, I get "command not found". I googled, but the answers talked about details that do not seem to be directly related to what we are learning here.
I am using this on Mac.
usr-laptop:~ me$ sudo apt-get update
sudo: apt-get: command not found
2 Answers
James Barnett
39,199 PointsOn Debian/Ubuntu the package manager is apt
on OS X it's brew
. Package managers will be covered in the next video.
For this video, ignore the apt-get
commands. What you need to instead on Mavericks you need to install xcode commandline tools
xcode-select --install
Then verify that it worked with
xcode-select -p
Now you can proceed with the instructions in the video to build SQLite from source.
You can read about homebrew what you use on OS X instead of apt-get
Jay Hori
554 PointsI ran this
xcode-select --install
Then I received this
xcode-select: note: install requested for command line developer tools
Then I ran
xcode-select -p
Then I received this
/Applications/Xcode.app/Contents/Developer