sudo: apt-get: command not found












0














I am trying to run the following command to install some libraries.



sudo apt-get install graphviz libgraphviz-dev pkg-config



It is however returning the following error.



sudo: apt-get: command not found



I lack the knowledge to know what is required to install to make this work.



Edit: I was using Mac. apt-get is not available to Mac.










share|improve this question





























    0














    I am trying to run the following command to install some libraries.



    sudo apt-get install graphviz libgraphviz-dev pkg-config



    It is however returning the following error.



    sudo: apt-get: command not found



    I lack the knowledge to know what is required to install to make this work.



    Edit: I was using Mac. apt-get is not available to Mac.










    share|improve this question



























      0












      0








      0







      I am trying to run the following command to install some libraries.



      sudo apt-get install graphviz libgraphviz-dev pkg-config



      It is however returning the following error.



      sudo: apt-get: command not found



      I lack the knowledge to know what is required to install to make this work.



      Edit: I was using Mac. apt-get is not available to Mac.










      share|improve this question















      I am trying to run the following command to install some libraries.



      sudo apt-get install graphviz libgraphviz-dev pkg-config



      It is however returning the following error.



      sudo: apt-get: command not found



      I lack the knowledge to know what is required to install to make this work.



      Edit: I was using Mac. apt-get is not available to Mac.







      sudo apt-get






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 13 '18 at 18:18







      Yokhen

















      asked Dec 12 '18 at 2:32









      YokhenYokhen

      1087




      1087






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Apt is not available for MacOS. There are other options such as Homebrew or Macports.



          This question has been asked and answered on our Unix sister site: https://unix.stackexchange.com/questions/80711/how-to-install-ap






          share|improve this answer





























            2














            It depends what version of linux you're using. Debian based distros use sudo apt-get <package_name> while Fedora based distros use yum install <package_name>.



            To find out what version you're using execute command cat /etc/*-release as stated here: HowTo: Find Out My Linux Distribution Name and Version






            share|improve this answer





















            • Also, on newer Debian systems, it's just sudo apt install. apt-get is supposed to still work, but some of the bleeding-edge fringe variants don't include the required symlink.
              – Austin Hemmelgarn
              Dec 12 '18 at 20:15












            • OP updated their question to indicate they are on MacOS
              – music2myear
              Dec 13 '18 at 18:36











            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382817%2fsudo-apt-get-command-not-found%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Apt is not available for MacOS. There are other options such as Homebrew or Macports.



            This question has been asked and answered on our Unix sister site: https://unix.stackexchange.com/questions/80711/how-to-install-ap






            share|improve this answer


























              1














              Apt is not available for MacOS. There are other options such as Homebrew or Macports.



              This question has been asked and answered on our Unix sister site: https://unix.stackexchange.com/questions/80711/how-to-install-ap






              share|improve this answer
























                1












                1








                1






                Apt is not available for MacOS. There are other options such as Homebrew or Macports.



                This question has been asked and answered on our Unix sister site: https://unix.stackexchange.com/questions/80711/how-to-install-ap






                share|improve this answer












                Apt is not available for MacOS. There are other options such as Homebrew or Macports.



                This question has been asked and answered on our Unix sister site: https://unix.stackexchange.com/questions/80711/how-to-install-ap







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 13 '18 at 18:35









                music2myearmusic2myear

                30.7k85597




                30.7k85597

























                    2














                    It depends what version of linux you're using. Debian based distros use sudo apt-get <package_name> while Fedora based distros use yum install <package_name>.



                    To find out what version you're using execute command cat /etc/*-release as stated here: HowTo: Find Out My Linux Distribution Name and Version






                    share|improve this answer





















                    • Also, on newer Debian systems, it's just sudo apt install. apt-get is supposed to still work, but some of the bleeding-edge fringe variants don't include the required symlink.
                      – Austin Hemmelgarn
                      Dec 12 '18 at 20:15












                    • OP updated their question to indicate they are on MacOS
                      – music2myear
                      Dec 13 '18 at 18:36
















                    2














                    It depends what version of linux you're using. Debian based distros use sudo apt-get <package_name> while Fedora based distros use yum install <package_name>.



                    To find out what version you're using execute command cat /etc/*-release as stated here: HowTo: Find Out My Linux Distribution Name and Version






                    share|improve this answer





















                    • Also, on newer Debian systems, it's just sudo apt install. apt-get is supposed to still work, but some of the bleeding-edge fringe variants don't include the required symlink.
                      – Austin Hemmelgarn
                      Dec 12 '18 at 20:15












                    • OP updated their question to indicate they are on MacOS
                      – music2myear
                      Dec 13 '18 at 18:36














                    2












                    2








                    2






                    It depends what version of linux you're using. Debian based distros use sudo apt-get <package_name> while Fedora based distros use yum install <package_name>.



                    To find out what version you're using execute command cat /etc/*-release as stated here: HowTo: Find Out My Linux Distribution Name and Version






                    share|improve this answer












                    It depends what version of linux you're using. Debian based distros use sudo apt-get <package_name> while Fedora based distros use yum install <package_name>.



                    To find out what version you're using execute command cat /etc/*-release as stated here: HowTo: Find Out My Linux Distribution Name and Version







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Dec 12 '18 at 4:20









                    Anthony MansourAnthony Mansour

                    211




                    211












                    • Also, on newer Debian systems, it's just sudo apt install. apt-get is supposed to still work, but some of the bleeding-edge fringe variants don't include the required symlink.
                      – Austin Hemmelgarn
                      Dec 12 '18 at 20:15












                    • OP updated their question to indicate they are on MacOS
                      – music2myear
                      Dec 13 '18 at 18:36


















                    • Also, on newer Debian systems, it's just sudo apt install. apt-get is supposed to still work, but some of the bleeding-edge fringe variants don't include the required symlink.
                      – Austin Hemmelgarn
                      Dec 12 '18 at 20:15












                    • OP updated their question to indicate they are on MacOS
                      – music2myear
                      Dec 13 '18 at 18:36
















                    Also, on newer Debian systems, it's just sudo apt install. apt-get is supposed to still work, but some of the bleeding-edge fringe variants don't include the required symlink.
                    – Austin Hemmelgarn
                    Dec 12 '18 at 20:15






                    Also, on newer Debian systems, it's just sudo apt install. apt-get is supposed to still work, but some of the bleeding-edge fringe variants don't include the required symlink.
                    – Austin Hemmelgarn
                    Dec 12 '18 at 20:15














                    OP updated their question to indicate they are on MacOS
                    – music2myear
                    Dec 13 '18 at 18:36




                    OP updated their question to indicate they are on MacOS
                    – music2myear
                    Dec 13 '18 at 18:36


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382817%2fsudo-apt-get-command-not-found%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Список кардиналов, возведённых папой римским Каликстом III

                    Deduzione

                    Mysql.sock missing - “Can't connect to local MySQL server through socket”