How can I see if I have software-properties-common installed?
I intend to download and install something, but the first pre-requisite says:
You need software-properties-common installed in order to add PPA repositories.
If not installed(...)
and then it shows instructions how to install it.
I haven't used my PC in a long time, so I don't know if I installed it before or not. How can I check that out?
ppa
add a comment |
I intend to download and install something, but the first pre-requisite says:
You need software-properties-common installed in order to add PPA repositories.
If not installed(...)
and then it shows instructions how to install it.
I haven't used my PC in a long time, so I don't know if I installed it before or not. How can I check that out?
ppa
add a comment |
I intend to download and install something, but the first pre-requisite says:
You need software-properties-common installed in order to add PPA repositories.
If not installed(...)
and then it shows instructions how to install it.
I haven't used my PC in a long time, so I don't know if I installed it before or not. How can I check that out?
ppa
I intend to download and install something, but the first pre-requisite says:
You need software-properties-common installed in order to add PPA repositories.
If not installed(...)
and then it shows instructions how to install it.
I haven't used my PC in a long time, so I don't know if I installed it before or not. How can I check that out?
ppa
ppa
edited Feb 24 at 5:40
zx485
1,47131215
1,47131215
asked Feb 23 at 21:56
Maria AMaria A
111
111
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You can query with apt
, for example
apt policy software-properties-common
or
apt list --installed software-properties*
or with dpkg
dpkg -l software-properties-common
However it won't do any harm to follow the installation instructions - you would just get a message like
software-properties-common is already the newest version (0.96.24.32.7).
if it is already installed.
add a comment |
The software-properties-common
package provides the add-apt-repository
command.
So in this case, just try to run the add-apt-repository
command they want you to run. If it works, everything is fine. Otherwise you will get a "Command not found" error message which should probably even advise you on which package to install to get it:
sudo apt install software-properties-common
However, you could also run this command safely if the package is already installed. It will detect this and not reinstall it again.
Other, general ways to find out whether a specific package is installed are described in @steeldriver's answer to this question.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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%2faskubuntu.com%2fquestions%2f1120716%2fhow-can-i-see-if-i-have-software-properties-common-installed%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
You can query with apt
, for example
apt policy software-properties-common
or
apt list --installed software-properties*
or with dpkg
dpkg -l software-properties-common
However it won't do any harm to follow the installation instructions - you would just get a message like
software-properties-common is already the newest version (0.96.24.32.7).
if it is already installed.
add a comment |
You can query with apt
, for example
apt policy software-properties-common
or
apt list --installed software-properties*
or with dpkg
dpkg -l software-properties-common
However it won't do any harm to follow the installation instructions - you would just get a message like
software-properties-common is already the newest version (0.96.24.32.7).
if it is already installed.
add a comment |
You can query with apt
, for example
apt policy software-properties-common
or
apt list --installed software-properties*
or with dpkg
dpkg -l software-properties-common
However it won't do any harm to follow the installation instructions - you would just get a message like
software-properties-common is already the newest version (0.96.24.32.7).
if it is already installed.
You can query with apt
, for example
apt policy software-properties-common
or
apt list --installed software-properties*
or with dpkg
dpkg -l software-properties-common
However it won't do any harm to follow the installation instructions - you would just get a message like
software-properties-common is already the newest version (0.96.24.32.7).
if it is already installed.
answered Feb 23 at 22:04
steeldriversteeldriver
70.1k11114186
70.1k11114186
add a comment |
add a comment |
The software-properties-common
package provides the add-apt-repository
command.
So in this case, just try to run the add-apt-repository
command they want you to run. If it works, everything is fine. Otherwise you will get a "Command not found" error message which should probably even advise you on which package to install to get it:
sudo apt install software-properties-common
However, you could also run this command safely if the package is already installed. It will detect this and not reinstall it again.
Other, general ways to find out whether a specific package is installed are described in @steeldriver's answer to this question.
add a comment |
The software-properties-common
package provides the add-apt-repository
command.
So in this case, just try to run the add-apt-repository
command they want you to run. If it works, everything is fine. Otherwise you will get a "Command not found" error message which should probably even advise you on which package to install to get it:
sudo apt install software-properties-common
However, you could also run this command safely if the package is already installed. It will detect this and not reinstall it again.
Other, general ways to find out whether a specific package is installed are described in @steeldriver's answer to this question.
add a comment |
The software-properties-common
package provides the add-apt-repository
command.
So in this case, just try to run the add-apt-repository
command they want you to run. If it works, everything is fine. Otherwise you will get a "Command not found" error message which should probably even advise you on which package to install to get it:
sudo apt install software-properties-common
However, you could also run this command safely if the package is already installed. It will detect this and not reinstall it again.
Other, general ways to find out whether a specific package is installed are described in @steeldriver's answer to this question.
The software-properties-common
package provides the add-apt-repository
command.
So in this case, just try to run the add-apt-repository
command they want you to run. If it works, everything is fine. Otherwise you will get a "Command not found" error message which should probably even advise you on which package to install to get it:
sudo apt install software-properties-common
However, you could also run this command safely if the package is already installed. It will detect this and not reinstall it again.
Other, general ways to find out whether a specific package is installed are described in @steeldriver's answer to this question.
edited Feb 24 at 7:48
N0rbert
24.4k851115
24.4k851115
answered Feb 23 at 22:07
Byte CommanderByte Commander
66.1k27181308
66.1k27181308
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f1120716%2fhow-can-i-see-if-i-have-software-properties-common-installed%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