Reduce Ubuntu Server size removing all packages excepting very basic ones (16.04 or 18.04)
I would need a GNU/Linux better if based on the Debian family or even a slimed version of Ubuntu Server 16.04 LTS if possible (what we have mirrored internally in my company, due to isolated cloud deployments), not requiring server features at all, to be honest.
Apart from the Kernel and related components, I would need only the very basic shell tools + option to install packages from our mirror.
I was trying to find some Debian or Ubuntu small versions, as DML (www.damnsmalllinux.org, unfortunately, discontinued), and I am still testing other options, but I definitively want to try to take an Ubuntu Server 16.04 as a base and remove all that is not necessary, but not sure from where to start...
I tried with the metapackages, but that is not working in the way as I expected...
Do someone know a way, or have an idea about how to do it, please?
16.04 server debian software-uninstall
add a comment |
I would need a GNU/Linux better if based on the Debian family or even a slimed version of Ubuntu Server 16.04 LTS if possible (what we have mirrored internally in my company, due to isolated cloud deployments), not requiring server features at all, to be honest.
Apart from the Kernel and related components, I would need only the very basic shell tools + option to install packages from our mirror.
I was trying to find some Debian or Ubuntu small versions, as DML (www.damnsmalllinux.org, unfortunately, discontinued), and I am still testing other options, but I definitively want to try to take an Ubuntu Server 16.04 as a base and remove all that is not necessary, but not sure from where to start...
I tried with the metapackages, but that is not working in the way as I expected...
Do someone know a way, or have an idea about how to do it, please?
16.04 server debian software-uninstall
You need to install Debian minimal installation. It only has basic apps. Other option is to install Ubuntu with minimal installation option.
– Gravemind
Feb 8 at 11:29
Thanks for your comment. Yep, I didn't know that option in the usual installer. Anyway, a minimal install just with the openSSH server takes 1.2 GiB, bigger than Debian minimal install. SliTaz takes 140 MiB even with a GUI, but I cannot use such OS, not Debian based :( I will you posted
– xCovelus
Feb 8 at 13:30
add a comment |
I would need a GNU/Linux better if based on the Debian family or even a slimed version of Ubuntu Server 16.04 LTS if possible (what we have mirrored internally in my company, due to isolated cloud deployments), not requiring server features at all, to be honest.
Apart from the Kernel and related components, I would need only the very basic shell tools + option to install packages from our mirror.
I was trying to find some Debian or Ubuntu small versions, as DML (www.damnsmalllinux.org, unfortunately, discontinued), and I am still testing other options, but I definitively want to try to take an Ubuntu Server 16.04 as a base and remove all that is not necessary, but not sure from where to start...
I tried with the metapackages, but that is not working in the way as I expected...
Do someone know a way, or have an idea about how to do it, please?
16.04 server debian software-uninstall
I would need a GNU/Linux better if based on the Debian family or even a slimed version of Ubuntu Server 16.04 LTS if possible (what we have mirrored internally in my company, due to isolated cloud deployments), not requiring server features at all, to be honest.
Apart from the Kernel and related components, I would need only the very basic shell tools + option to install packages from our mirror.
I was trying to find some Debian or Ubuntu small versions, as DML (www.damnsmalllinux.org, unfortunately, discontinued), and I am still testing other options, but I definitively want to try to take an Ubuntu Server 16.04 as a base and remove all that is not necessary, but not sure from where to start...
I tried with the metapackages, but that is not working in the way as I expected...
Do someone know a way, or have an idea about how to do it, please?
16.04 server debian software-uninstall
16.04 server debian software-uninstall
asked Feb 8 at 11:18
xCovelusxCovelus
32
32
You need to install Debian minimal installation. It only has basic apps. Other option is to install Ubuntu with minimal installation option.
– Gravemind
Feb 8 at 11:29
Thanks for your comment. Yep, I didn't know that option in the usual installer. Anyway, a minimal install just with the openSSH server takes 1.2 GiB, bigger than Debian minimal install. SliTaz takes 140 MiB even with a GUI, but I cannot use such OS, not Debian based :( I will you posted
– xCovelus
Feb 8 at 13:30
add a comment |
You need to install Debian minimal installation. It only has basic apps. Other option is to install Ubuntu with minimal installation option.
– Gravemind
Feb 8 at 11:29
Thanks for your comment. Yep, I didn't know that option in the usual installer. Anyway, a minimal install just with the openSSH server takes 1.2 GiB, bigger than Debian minimal install. SliTaz takes 140 MiB even with a GUI, but I cannot use such OS, not Debian based :( I will you posted
– xCovelus
Feb 8 at 13:30
You need to install Debian minimal installation. It only has basic apps. Other option is to install Ubuntu with minimal installation option.
– Gravemind
Feb 8 at 11:29
You need to install Debian minimal installation. It only has basic apps. Other option is to install Ubuntu with minimal installation option.
– Gravemind
Feb 8 at 11:29
Thanks for your comment. Yep, I didn't know that option in the usual installer. Anyway, a minimal install just with the openSSH server takes 1.2 GiB, bigger than Debian minimal install. SliTaz takes 140 MiB even with a GUI, but I cannot use such OS, not Debian based :( I will you posted
– xCovelus
Feb 8 at 13:30
Thanks for your comment. Yep, I didn't know that option in the usual installer. Anyway, a minimal install just with the openSSH server takes 1.2 GiB, bigger than Debian minimal install. SliTaz takes 140 MiB even with a GUI, but I cannot use such OS, not Debian based :( I will you posted
– xCovelus
Feb 8 at 13:30
add a comment |
1 Answer
1
active
oldest
votes
You are likely aware of the tools "debfoster" and "deborphan". With these, you can remove whatever you do not need in a rather easy way.
Once you have a set of packages you are happy for your servers to work with, you can set these as a set as described on https://unix.stackexchange.com/questions/176134/installing-packages-by-importing-the-list-with-dpkg-set-selections
thank you very much, I will definitively try that. Cheers
– xCovelus
Feb 9 at 19:14
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%2f1116647%2freduce-ubuntu-server-size-removing-all-packages-excepting-very-basic-ones-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You are likely aware of the tools "debfoster" and "deborphan". With these, you can remove whatever you do not need in a rather easy way.
Once you have a set of packages you are happy for your servers to work with, you can set these as a set as described on https://unix.stackexchange.com/questions/176134/installing-packages-by-importing-the-list-with-dpkg-set-selections
thank you very much, I will definitively try that. Cheers
– xCovelus
Feb 9 at 19:14
add a comment |
You are likely aware of the tools "debfoster" and "deborphan". With these, you can remove whatever you do not need in a rather easy way.
Once you have a set of packages you are happy for your servers to work with, you can set these as a set as described on https://unix.stackexchange.com/questions/176134/installing-packages-by-importing-the-list-with-dpkg-set-selections
thank you very much, I will definitively try that. Cheers
– xCovelus
Feb 9 at 19:14
add a comment |
You are likely aware of the tools "debfoster" and "deborphan". With these, you can remove whatever you do not need in a rather easy way.
Once you have a set of packages you are happy for your servers to work with, you can set these as a set as described on https://unix.stackexchange.com/questions/176134/installing-packages-by-importing-the-list-with-dpkg-set-selections
You are likely aware of the tools "debfoster" and "deborphan". With these, you can remove whatever you do not need in a rather easy way.
Once you have a set of packages you are happy for your servers to work with, you can set these as a set as described on https://unix.stackexchange.com/questions/176134/installing-packages-by-importing-the-list-with-dpkg-set-selections
answered Feb 8 at 18:56
smoesmoe
28816
28816
thank you very much, I will definitively try that. Cheers
– xCovelus
Feb 9 at 19:14
add a comment |
thank you very much, I will definitively try that. Cheers
– xCovelus
Feb 9 at 19:14
thank you very much, I will definitively try that. Cheers
– xCovelus
Feb 9 at 19:14
thank you very much, I will definitively try that. Cheers
– xCovelus
Feb 9 at 19:14
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%2f1116647%2freduce-ubuntu-server-size-removing-all-packages-excepting-very-basic-ones-16-04%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
You need to install Debian minimal installation. It only has basic apps. Other option is to install Ubuntu with minimal installation option.
– Gravemind
Feb 8 at 11:29
Thanks for your comment. Yep, I didn't know that option in the usual installer. Anyway, a minimal install just with the openSSH server takes 1.2 GiB, bigger than Debian minimal install. SliTaz takes 140 MiB even with a GUI, but I cannot use such OS, not Debian based :( I will you posted
– xCovelus
Feb 8 at 13:30