sudo: apt-get: command not found
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
add a comment |
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
add a comment |
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
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
sudo apt-get
edited Dec 13 '18 at 18:18
Yokhen
asked Dec 12 '18 at 2:32
YokhenYokhen
1087
1087
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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
add a comment |
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
Also, on newer Debian systems, it's justsudo 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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Dec 13 '18 at 18:35
music2myearmusic2myear
30.7k85597
30.7k85597
add a comment |
add a comment |
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
Also, on newer Debian systems, it's justsudo 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
add a comment |
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
Also, on newer Debian systems, it's justsudo 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
add a comment |
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
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
answered Dec 12 '18 at 4:20
Anthony MansourAnthony Mansour
211
211
Also, on newer Debian systems, it's justsudo 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
add a comment |
Also, on newer Debian systems, it's justsudo 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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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