Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools Console Foundations Installing Software Introduction to Package Managers

my mac doesn't recognized the commands??

Hi everyone, Iam newbie in programming please help how to run those command on my mac (terminal) some commands in this course it works but some of doesn't I hope someone can explain this to me and help me how to figure it out. TY

Danny Dickson
Danny Dickson
18,585 Points

I would just click the "launch console" link at the bottom right of the video. This will launch the same terminal that the instructor is using. If you're curious why the commands don't run on mac, it's because your Mac's Terminal runs Darwin, which is different from Ubuntu. The commands are slightly different.

1 Answer

William Li
PLUS
William Li
Courses Plus Student 26,867 Points

HI, Nurul Eka Fitriany Hilal , my guess is that you're talking about the apt-get command, right?

apt-get, otherwise known as Advanced Packaging Tool is a package manager available only for Debian-flavor Linux Distros, e.g. Ubuntu, Linux Mint, etc . apt-get allows user to easily search, update, and install software utilities.

Mac isn't a Debian-flavor Linux, in fact, Mac's Terminal ships with no package manager at all. However, I believe that asides from the missing apt-get from Command Line, other tools covered in this course should be equally applicable for Mac user, assuming that the tools are installed of course.

If you really wanna follow along with the course with the the Command Line on your local Machine, one great way to minimize the OS difference is to install a Ubuntu as Virtual Machine using VirtualBox, that way you have the same Operating System as the instructor uses during the lecture. Hope it helps, feel free to ask if you have more questions.