CLI: Get information Ubuntu releases
How can I get information about Ubuntu releases from the command line?
Items of interest
- Names vs. version numbers
- support state
command-line support
add a comment |
How can I get information about Ubuntu releases from the command line?
Items of interest
- Names vs. version numbers
- support state
command-line support
add a comment |
How can I get information about Ubuntu releases from the command line?
Items of interest
- Names vs. version numbers
- support state
command-line support
How can I get information about Ubuntu releases from the command line?
Items of interest
- Names vs. version numbers
- support state
command-line support
command-line support
asked 2 days ago
guntbertguntbert
9,431133170
9,431133170
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
ubuntu-distro-info
from the distro-info package provides information about all Ubuntu releases.
You get an overview of all releases with
ubuntu-distro-info --all --fullname
For the "current" version
ubuntu-distro-info --stable --fullname
For the current LTS release
ubuntu-distro-info --lts --fullname
For currently supported releases
ubuntu-distro-info --supported --fullname
(This strangely includes the current development version although it is not supported yet)
To get the number of days till EndOfLive you add --days=eol
(shorter -yeol
)
ubuntu-distro-info --supported --fullname --days=eol
To get the number of days till the current development version will be released you can use just -y
or --days
ubuntu-distro-info --latest --fullname --days
The other useful command fromdistro-info
package isdebian-distro-info
. We should respect Ubuntu parents :)
– N0rbert
2 days ago
add a comment |
Also a general way (works also on non-Ubuntu distros as well):
lsb_release -a
It uses /etc/os-release
to read the config data. On .deb-based distros, also /etc/dpkg
should correct as so. After a manual shift to/from Ubuntu, this should be manually corrected.
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%2f1126687%2fcli-get-information-ubuntu-releases%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
ubuntu-distro-info
from the distro-info package provides information about all Ubuntu releases.
You get an overview of all releases with
ubuntu-distro-info --all --fullname
For the "current" version
ubuntu-distro-info --stable --fullname
For the current LTS release
ubuntu-distro-info --lts --fullname
For currently supported releases
ubuntu-distro-info --supported --fullname
(This strangely includes the current development version although it is not supported yet)
To get the number of days till EndOfLive you add --days=eol
(shorter -yeol
)
ubuntu-distro-info --supported --fullname --days=eol
To get the number of days till the current development version will be released you can use just -y
or --days
ubuntu-distro-info --latest --fullname --days
The other useful command fromdistro-info
package isdebian-distro-info
. We should respect Ubuntu parents :)
– N0rbert
2 days ago
add a comment |
ubuntu-distro-info
from the distro-info package provides information about all Ubuntu releases.
You get an overview of all releases with
ubuntu-distro-info --all --fullname
For the "current" version
ubuntu-distro-info --stable --fullname
For the current LTS release
ubuntu-distro-info --lts --fullname
For currently supported releases
ubuntu-distro-info --supported --fullname
(This strangely includes the current development version although it is not supported yet)
To get the number of days till EndOfLive you add --days=eol
(shorter -yeol
)
ubuntu-distro-info --supported --fullname --days=eol
To get the number of days till the current development version will be released you can use just -y
or --days
ubuntu-distro-info --latest --fullname --days
The other useful command fromdistro-info
package isdebian-distro-info
. We should respect Ubuntu parents :)
– N0rbert
2 days ago
add a comment |
ubuntu-distro-info
from the distro-info package provides information about all Ubuntu releases.
You get an overview of all releases with
ubuntu-distro-info --all --fullname
For the "current" version
ubuntu-distro-info --stable --fullname
For the current LTS release
ubuntu-distro-info --lts --fullname
For currently supported releases
ubuntu-distro-info --supported --fullname
(This strangely includes the current development version although it is not supported yet)
To get the number of days till EndOfLive you add --days=eol
(shorter -yeol
)
ubuntu-distro-info --supported --fullname --days=eol
To get the number of days till the current development version will be released you can use just -y
or --days
ubuntu-distro-info --latest --fullname --days
ubuntu-distro-info
from the distro-info package provides information about all Ubuntu releases.
You get an overview of all releases with
ubuntu-distro-info --all --fullname
For the "current" version
ubuntu-distro-info --stable --fullname
For the current LTS release
ubuntu-distro-info --lts --fullname
For currently supported releases
ubuntu-distro-info --supported --fullname
(This strangely includes the current development version although it is not supported yet)
To get the number of days till EndOfLive you add --days=eol
(shorter -yeol
)
ubuntu-distro-info --supported --fullname --days=eol
To get the number of days till the current development version will be released you can use just -y
or --days
ubuntu-distro-info --latest --fullname --days
edited 2 days ago
answered 2 days ago
guntbertguntbert
9,431133170
9,431133170
The other useful command fromdistro-info
package isdebian-distro-info
. We should respect Ubuntu parents :)
– N0rbert
2 days ago
add a comment |
The other useful command fromdistro-info
package isdebian-distro-info
. We should respect Ubuntu parents :)
– N0rbert
2 days ago
The other useful command from
distro-info
package is debian-distro-info
. We should respect Ubuntu parents :)– N0rbert
2 days ago
The other useful command from
distro-info
package is debian-distro-info
. We should respect Ubuntu parents :)– N0rbert
2 days ago
add a comment |
Also a general way (works also on non-Ubuntu distros as well):
lsb_release -a
It uses /etc/os-release
to read the config data. On .deb-based distros, also /etc/dpkg
should correct as so. After a manual shift to/from Ubuntu, this should be manually corrected.
add a comment |
Also a general way (works also on non-Ubuntu distros as well):
lsb_release -a
It uses /etc/os-release
to read the config data. On .deb-based distros, also /etc/dpkg
should correct as so. After a manual shift to/from Ubuntu, this should be manually corrected.
add a comment |
Also a general way (works also on non-Ubuntu distros as well):
lsb_release -a
It uses /etc/os-release
to read the config data. On .deb-based distros, also /etc/dpkg
should correct as so. After a manual shift to/from Ubuntu, this should be manually corrected.
Also a general way (works also on non-Ubuntu distros as well):
lsb_release -a
It uses /etc/os-release
to read the config data. On .deb-based distros, also /etc/dpkg
should correct as so. After a manual shift to/from Ubuntu, this should be manually corrected.
edited yesterday
answered 2 days ago
peterhpeterh
2119
2119
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%2f1126687%2fcli-get-information-ubuntu-releases%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