apt-get command not found.

November 13, 2015 1.6k views
NoSQL PHP PHP Frameworks

Users-MacBook-Air:~ user$ apt-get update
-bash: apt-get: command not found
Users-MacBook-Air:~ user$

1 comment
  • You're need first to connect to your "server machine" e.g. droplet. Read this.

    If you want use human-oriented package & dependency manager on OS X there is no alternative but http://brew.sh/

    If you have recently created a DigitalOcean Droplet, and you are new to working with Linux servers, you will need to learn how to use SSH to connect to and manage it. SSH, which stands for Secure Shell, is an encrypted network protocol that is used to for, among other...
2 Answers

You're on your macbook, not your droplet.

what is droplet?

  • @navalkishoregr A Droplet is what DigitalOcean calls a VPS, much like how some refer to them as Cloud Servers, Cloud Instances etc.

    As for the apt-get command, this is native to Ubuntu & Debian Operating Systems. OSX, Apples' OS, using the installer command, IIRC.

Have another answer? Share your knowledge.