Why don't programs completely uninstall (remove all their files) when I remove them?Unable to uninstall...
Do error bars on probabilities have any meaning?
Exploding Numbers
Can I legally make a website about boycotting a certain company?
What is formjacking?
How can guns be countered by melee combat without raw-ability or exceptional explanations?
How do I avoid the "chosen hero" feeling?
Are all power cords made equal?
Why don't programs completely uninstall (remove all their files) when I remove them?
Spells that would be effective against a Modern Day army but would NOT destroy a fantasy one
Is there any danger of my neighbor having my wife's signature?
How to typeset a small black square as a binary operator?
Euler and minus sign
How bad is a Computer Science course that doesn't teach Design Patterns?
Why is Bernie Sanders maximum accepted donation on actblue $5600?
Why don't you get burned by the wood benches in a sauna?
How do I handle a blinded enemy which wants to attack someone it's sure is there?
In the Lost in Space intro why was Dr. Smith actor listed as a special guest star?
Multiple null checks in Java 8
Why does this quiz question say that protons and electrons do not combine to form neutrons?
How many copper coins fit inside a cubic foot?
Is it possible to detect 100% of SQLi with a simple regex?
Found a major flaw in paper from home university – to which I would like to return
Variance of sine and cosine of a random variable
How can I persuade an unwilling soul to become willing?
Why don't programs completely uninstall (remove all their files) when I remove them?
Unable to uninstall Ubuntu or delete partition
In Ubuntu, or any Linux, when I decide to remove a program and then later reinstall it, I notice that it didn't remove anything I previously made, thus making it a little pointless for me, as I like to freshly install stuff often. Whenever I decide to reinstall it it's just like it was before I removed the program. Why is this?
I'm used to uninstalling something similar to Windows or Android in that it completely removes everything and the only real way to recover that data would be to either save it somewhere, or if they give me an option to log in to recover it, is there a way to do that on Linux too?
Sometimes I remove it from the Ubuntu Software center and use sudo apt-get --purge remove [application]
.
I'm using Ubuntu 18.10, I have nothing to uninstall right now I'm just curious.
software-uninstall
add a comment |
In Ubuntu, or any Linux, when I decide to remove a program and then later reinstall it, I notice that it didn't remove anything I previously made, thus making it a little pointless for me, as I like to freshly install stuff often. Whenever I decide to reinstall it it's just like it was before I removed the program. Why is this?
I'm used to uninstalling something similar to Windows or Android in that it completely removes everything and the only real way to recover that data would be to either save it somewhere, or if they give me an option to log in to recover it, is there a way to do that on Linux too?
Sometimes I remove it from the Ubuntu Software center and use sudo apt-get --purge remove [application]
.
I'm using Ubuntu 18.10, I have nothing to uninstall right now I'm just curious.
software-uninstall
Usepurge
instead ofremove
.
– Pilot6
10 hours ago
Android has the ability to sync data to a Google account. Is that what you mean by "log in to recover it"? I haven't seen that option on Windows (yet).
– tudor
3 hours ago
add a comment |
In Ubuntu, or any Linux, when I decide to remove a program and then later reinstall it, I notice that it didn't remove anything I previously made, thus making it a little pointless for me, as I like to freshly install stuff often. Whenever I decide to reinstall it it's just like it was before I removed the program. Why is this?
I'm used to uninstalling something similar to Windows or Android in that it completely removes everything and the only real way to recover that data would be to either save it somewhere, or if they give me an option to log in to recover it, is there a way to do that on Linux too?
Sometimes I remove it from the Ubuntu Software center and use sudo apt-get --purge remove [application]
.
I'm using Ubuntu 18.10, I have nothing to uninstall right now I'm just curious.
software-uninstall
In Ubuntu, or any Linux, when I decide to remove a program and then later reinstall it, I notice that it didn't remove anything I previously made, thus making it a little pointless for me, as I like to freshly install stuff often. Whenever I decide to reinstall it it's just like it was before I removed the program. Why is this?
I'm used to uninstalling something similar to Windows or Android in that it completely removes everything and the only real way to recover that data would be to either save it somewhere, or if they give me an option to log in to recover it, is there a way to do that on Linux too?
Sometimes I remove it from the Ubuntu Software center and use sudo apt-get --purge remove [application]
.
I'm using Ubuntu 18.10, I have nothing to uninstall right now I'm just curious.
software-uninstall
software-uninstall
edited 31 mins ago
Zanna
50.8k13136241
50.8k13136241
asked 10 hours ago
SonicStarManSonicStarMan
968
968
Usepurge
instead ofremove
.
– Pilot6
10 hours ago
Android has the ability to sync data to a Google account. Is that what you mean by "log in to recover it"? I haven't seen that option on Windows (yet).
– tudor
3 hours ago
add a comment |
Usepurge
instead ofremove
.
– Pilot6
10 hours ago
Android has the ability to sync data to a Google account. Is that what you mean by "log in to recover it"? I haven't seen that option on Windows (yet).
– tudor
3 hours ago
Use
purge
instead of remove
.– Pilot6
10 hours ago
Use
purge
instead of remove
.– Pilot6
10 hours ago
Android has the ability to sync data to a Google account. Is that what you mean by "log in to recover it"? I haven't seen that option on Windows (yet).
– tudor
3 hours ago
Android has the ability to sync data to a Google account. Is that what you mean by "log in to recover it"? I haven't seen that option on Windows (yet).
– tudor
3 hours ago
add a comment |
3 Answers
3
active
oldest
votes
That's not quite true. No package operation should remove user data, ever, under any circumstances.
Firstly, as an aside, other than the Ubuntu login screen, if an application asks you to log in, then your data is almost certainly not on your machine. The log in process is most likely related to an online authentication mechanism to provide access to your data stored somewhere else. Android and iOS have a (limited) ability to sync small amounts of user and configuration data for applications with "cloud" servers, but that doesn't necessarily disappear after uninstalling an application either.
All OSs (including Windows* and Android) are dependent on removal scripts. These presume that you want the software to go away but keep the configuration so that you can install it again later. The --purge
option to apt
merely removes configuration files, and only if they haven't been modified by the user.
If you're making modifications outside your own data (/home) then we assume you know what you're doing so your system continues to behave to your configuration. It's easy to rm -R
the config files yourself, it's not so easy to get your specific customised version of things back the way you had set them up. So these scripts tend to err on the side of caution.
These scripts make various assumptions about what was installed and they are frequently written by humans who can make mistakes. Sometimes the software does something special, particularly when the software has dependencies.
We (Ubuntu developers) do do tests on test systems. We install the software into a clean installation of Ubuntu, and then we run apt remove
and apt --purge remove
and verify that the system returned to the expected (pre-installed) state.
If you do see a situation where a package is installed, no modifications are made to the config, and the package is then removed but files remain, then please file a bug against that package.
An alternative is to use snap
, which houses the application entirely in its own environment.
*(in fact, this is one of the top ways Windows applications install malware, by "piggybacking" malware onto applications you choose to install, and then not removing them when you uninstall them.)
2
I think the question asked is why an uninstall does not remove user data created by using the application (“didn't remove anything I previously made”), and this answer simply states it as an axiom in the first pair of sentences, instead of explaining or justifying it.
– ShreevatsaR
5 hours ago
@ShreevatsaR, I took the OP's statement "I like to freshly install stuff often" as the basis for the OP's intent. This would mean not just the user data and application, but also system config files and user config files as well. And the "similar to Windows and Android" shows a misunderstanding of how these OSs manage packages and data as well, including "Log in to recover it" (the user data).
– tudor
4 hours ago
"It's easy to rm -R the config files yourself" Is it? That assumes you know where they all are. Couldn't they be anywhere? I basically assume all install operations are permanent. I don't see the point of even providing a remove option for package managers. You always have to start from scratch if you want software gone. Am I too fatalist here?
– Nacht
1 hour ago
"Couldn't they be anywhere?" technically yes. In reality, probably 95% of the files will be in one of the few traditional locations. Very few applications will write files to completely illogical non-traditional locations. So, you usually just need to check few well known directories. Often you can also look up information about the software to know which directories have its files. You could even fire up a VM, install the software and see where it writes files, if you wish. All in all, you're making it sound like it's much harder to find what to delete than it is.
– VLAZ
1 hour ago
add a comment |
sudo apt remove
or uninstalling an application normally from the Software Center will just uninstall the regular package files and leave configuration behind, so that reinstalling the package later will usually pretty much restore your previous state of the application.
sudo apt purge
or sudo apt remove --purge
instead will uninstall a package and additionally remove residual system-wide configuration files afterwards. You can also use those to purge the residual configuration of a previously only removed package.
The package manager will never delete user data or user configuration files though, which is created during the run-time of the application. Those files are not tracked and the user is responsible themselves to clean them out of their home directory, if they don't want to keep them. (Theoretically a package could contain a post-remove script that checks common user data locations for files it might have created, but that should normally not be the case)
add a comment |
In Windows, you always have some trace of the invasive program in the registry that must be removed manually. Anything related to AV, populates the Win architecture heavily… Plus, Windows requires a third party app to fully remove a program. Ccleaner and Revo are among them.
In Ubuntu, apt purge removes almost everything, if not all. A manual search in Synaptic Package Manager shows the entire deletion process. It can be double checked by running apt purge or inversely, by searching it in Synaptic.
You must be prudent and precise using that app, it’s a hot place to be.
New contributor
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%2f1120246%2fwhy-dont-programs-completely-uninstall-remove-all-their-files-when-i-remove-t%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
That's not quite true. No package operation should remove user data, ever, under any circumstances.
Firstly, as an aside, other than the Ubuntu login screen, if an application asks you to log in, then your data is almost certainly not on your machine. The log in process is most likely related to an online authentication mechanism to provide access to your data stored somewhere else. Android and iOS have a (limited) ability to sync small amounts of user and configuration data for applications with "cloud" servers, but that doesn't necessarily disappear after uninstalling an application either.
All OSs (including Windows* and Android) are dependent on removal scripts. These presume that you want the software to go away but keep the configuration so that you can install it again later. The --purge
option to apt
merely removes configuration files, and only if they haven't been modified by the user.
If you're making modifications outside your own data (/home) then we assume you know what you're doing so your system continues to behave to your configuration. It's easy to rm -R
the config files yourself, it's not so easy to get your specific customised version of things back the way you had set them up. So these scripts tend to err on the side of caution.
These scripts make various assumptions about what was installed and they are frequently written by humans who can make mistakes. Sometimes the software does something special, particularly when the software has dependencies.
We (Ubuntu developers) do do tests on test systems. We install the software into a clean installation of Ubuntu, and then we run apt remove
and apt --purge remove
and verify that the system returned to the expected (pre-installed) state.
If you do see a situation where a package is installed, no modifications are made to the config, and the package is then removed but files remain, then please file a bug against that package.
An alternative is to use snap
, which houses the application entirely in its own environment.
*(in fact, this is one of the top ways Windows applications install malware, by "piggybacking" malware onto applications you choose to install, and then not removing them when you uninstall them.)
2
I think the question asked is why an uninstall does not remove user data created by using the application (“didn't remove anything I previously made”), and this answer simply states it as an axiom in the first pair of sentences, instead of explaining or justifying it.
– ShreevatsaR
5 hours ago
@ShreevatsaR, I took the OP's statement "I like to freshly install stuff often" as the basis for the OP's intent. This would mean not just the user data and application, but also system config files and user config files as well. And the "similar to Windows and Android" shows a misunderstanding of how these OSs manage packages and data as well, including "Log in to recover it" (the user data).
– tudor
4 hours ago
"It's easy to rm -R the config files yourself" Is it? That assumes you know where they all are. Couldn't they be anywhere? I basically assume all install operations are permanent. I don't see the point of even providing a remove option for package managers. You always have to start from scratch if you want software gone. Am I too fatalist here?
– Nacht
1 hour ago
"Couldn't they be anywhere?" technically yes. In reality, probably 95% of the files will be in one of the few traditional locations. Very few applications will write files to completely illogical non-traditional locations. So, you usually just need to check few well known directories. Often you can also look up information about the software to know which directories have its files. You could even fire up a VM, install the software and see where it writes files, if you wish. All in all, you're making it sound like it's much harder to find what to delete than it is.
– VLAZ
1 hour ago
add a comment |
That's not quite true. No package operation should remove user data, ever, under any circumstances.
Firstly, as an aside, other than the Ubuntu login screen, if an application asks you to log in, then your data is almost certainly not on your machine. The log in process is most likely related to an online authentication mechanism to provide access to your data stored somewhere else. Android and iOS have a (limited) ability to sync small amounts of user and configuration data for applications with "cloud" servers, but that doesn't necessarily disappear after uninstalling an application either.
All OSs (including Windows* and Android) are dependent on removal scripts. These presume that you want the software to go away but keep the configuration so that you can install it again later. The --purge
option to apt
merely removes configuration files, and only if they haven't been modified by the user.
If you're making modifications outside your own data (/home) then we assume you know what you're doing so your system continues to behave to your configuration. It's easy to rm -R
the config files yourself, it's not so easy to get your specific customised version of things back the way you had set them up. So these scripts tend to err on the side of caution.
These scripts make various assumptions about what was installed and they are frequently written by humans who can make mistakes. Sometimes the software does something special, particularly when the software has dependencies.
We (Ubuntu developers) do do tests on test systems. We install the software into a clean installation of Ubuntu, and then we run apt remove
and apt --purge remove
and verify that the system returned to the expected (pre-installed) state.
If you do see a situation where a package is installed, no modifications are made to the config, and the package is then removed but files remain, then please file a bug against that package.
An alternative is to use snap
, which houses the application entirely in its own environment.
*(in fact, this is one of the top ways Windows applications install malware, by "piggybacking" malware onto applications you choose to install, and then not removing them when you uninstall them.)
2
I think the question asked is why an uninstall does not remove user data created by using the application (“didn't remove anything I previously made”), and this answer simply states it as an axiom in the first pair of sentences, instead of explaining or justifying it.
– ShreevatsaR
5 hours ago
@ShreevatsaR, I took the OP's statement "I like to freshly install stuff often" as the basis for the OP's intent. This would mean not just the user data and application, but also system config files and user config files as well. And the "similar to Windows and Android" shows a misunderstanding of how these OSs manage packages and data as well, including "Log in to recover it" (the user data).
– tudor
4 hours ago
"It's easy to rm -R the config files yourself" Is it? That assumes you know where they all are. Couldn't they be anywhere? I basically assume all install operations are permanent. I don't see the point of even providing a remove option for package managers. You always have to start from scratch if you want software gone. Am I too fatalist here?
– Nacht
1 hour ago
"Couldn't they be anywhere?" technically yes. In reality, probably 95% of the files will be in one of the few traditional locations. Very few applications will write files to completely illogical non-traditional locations. So, you usually just need to check few well known directories. Often you can also look up information about the software to know which directories have its files. You could even fire up a VM, install the software and see where it writes files, if you wish. All in all, you're making it sound like it's much harder to find what to delete than it is.
– VLAZ
1 hour ago
add a comment |
That's not quite true. No package operation should remove user data, ever, under any circumstances.
Firstly, as an aside, other than the Ubuntu login screen, if an application asks you to log in, then your data is almost certainly not on your machine. The log in process is most likely related to an online authentication mechanism to provide access to your data stored somewhere else. Android and iOS have a (limited) ability to sync small amounts of user and configuration data for applications with "cloud" servers, but that doesn't necessarily disappear after uninstalling an application either.
All OSs (including Windows* and Android) are dependent on removal scripts. These presume that you want the software to go away but keep the configuration so that you can install it again later. The --purge
option to apt
merely removes configuration files, and only if they haven't been modified by the user.
If you're making modifications outside your own data (/home) then we assume you know what you're doing so your system continues to behave to your configuration. It's easy to rm -R
the config files yourself, it's not so easy to get your specific customised version of things back the way you had set them up. So these scripts tend to err on the side of caution.
These scripts make various assumptions about what was installed and they are frequently written by humans who can make mistakes. Sometimes the software does something special, particularly when the software has dependencies.
We (Ubuntu developers) do do tests on test systems. We install the software into a clean installation of Ubuntu, and then we run apt remove
and apt --purge remove
and verify that the system returned to the expected (pre-installed) state.
If you do see a situation where a package is installed, no modifications are made to the config, and the package is then removed but files remain, then please file a bug against that package.
An alternative is to use snap
, which houses the application entirely in its own environment.
*(in fact, this is one of the top ways Windows applications install malware, by "piggybacking" malware onto applications you choose to install, and then not removing them when you uninstall them.)
That's not quite true. No package operation should remove user data, ever, under any circumstances.
Firstly, as an aside, other than the Ubuntu login screen, if an application asks you to log in, then your data is almost certainly not on your machine. The log in process is most likely related to an online authentication mechanism to provide access to your data stored somewhere else. Android and iOS have a (limited) ability to sync small amounts of user and configuration data for applications with "cloud" servers, but that doesn't necessarily disappear after uninstalling an application either.
All OSs (including Windows* and Android) are dependent on removal scripts. These presume that you want the software to go away but keep the configuration so that you can install it again later. The --purge
option to apt
merely removes configuration files, and only if they haven't been modified by the user.
If you're making modifications outside your own data (/home) then we assume you know what you're doing so your system continues to behave to your configuration. It's easy to rm -R
the config files yourself, it's not so easy to get your specific customised version of things back the way you had set them up. So these scripts tend to err on the side of caution.
These scripts make various assumptions about what was installed and they are frequently written by humans who can make mistakes. Sometimes the software does something special, particularly when the software has dependencies.
We (Ubuntu developers) do do tests on test systems. We install the software into a clean installation of Ubuntu, and then we run apt remove
and apt --purge remove
and verify that the system returned to the expected (pre-installed) state.
If you do see a situation where a package is installed, no modifications are made to the config, and the package is then removed but files remain, then please file a bug against that package.
An alternative is to use snap
, which houses the application entirely in its own environment.
*(in fact, this is one of the top ways Windows applications install malware, by "piggybacking" malware onto applications you choose to install, and then not removing them when you uninstall them.)
edited 3 hours ago
answered 9 hours ago
tudortudor
2,68851845
2,68851845
2
I think the question asked is why an uninstall does not remove user data created by using the application (“didn't remove anything I previously made”), and this answer simply states it as an axiom in the first pair of sentences, instead of explaining or justifying it.
– ShreevatsaR
5 hours ago
@ShreevatsaR, I took the OP's statement "I like to freshly install stuff often" as the basis for the OP's intent. This would mean not just the user data and application, but also system config files and user config files as well. And the "similar to Windows and Android" shows a misunderstanding of how these OSs manage packages and data as well, including "Log in to recover it" (the user data).
– tudor
4 hours ago
"It's easy to rm -R the config files yourself" Is it? That assumes you know where they all are. Couldn't they be anywhere? I basically assume all install operations are permanent. I don't see the point of even providing a remove option for package managers. You always have to start from scratch if you want software gone. Am I too fatalist here?
– Nacht
1 hour ago
"Couldn't they be anywhere?" technically yes. In reality, probably 95% of the files will be in one of the few traditional locations. Very few applications will write files to completely illogical non-traditional locations. So, you usually just need to check few well known directories. Often you can also look up information about the software to know which directories have its files. You could even fire up a VM, install the software and see where it writes files, if you wish. All in all, you're making it sound like it's much harder to find what to delete than it is.
– VLAZ
1 hour ago
add a comment |
2
I think the question asked is why an uninstall does not remove user data created by using the application (“didn't remove anything I previously made”), and this answer simply states it as an axiom in the first pair of sentences, instead of explaining or justifying it.
– ShreevatsaR
5 hours ago
@ShreevatsaR, I took the OP's statement "I like to freshly install stuff often" as the basis for the OP's intent. This would mean not just the user data and application, but also system config files and user config files as well. And the "similar to Windows and Android" shows a misunderstanding of how these OSs manage packages and data as well, including "Log in to recover it" (the user data).
– tudor
4 hours ago
"It's easy to rm -R the config files yourself" Is it? That assumes you know where they all are. Couldn't they be anywhere? I basically assume all install operations are permanent. I don't see the point of even providing a remove option for package managers. You always have to start from scratch if you want software gone. Am I too fatalist here?
– Nacht
1 hour ago
"Couldn't they be anywhere?" technically yes. In reality, probably 95% of the files will be in one of the few traditional locations. Very few applications will write files to completely illogical non-traditional locations. So, you usually just need to check few well known directories. Often you can also look up information about the software to know which directories have its files. You could even fire up a VM, install the software and see where it writes files, if you wish. All in all, you're making it sound like it's much harder to find what to delete than it is.
– VLAZ
1 hour ago
2
2
I think the question asked is why an uninstall does not remove user data created by using the application (“didn't remove anything I previously made”), and this answer simply states it as an axiom in the first pair of sentences, instead of explaining or justifying it.
– ShreevatsaR
5 hours ago
I think the question asked is why an uninstall does not remove user data created by using the application (“didn't remove anything I previously made”), and this answer simply states it as an axiom in the first pair of sentences, instead of explaining or justifying it.
– ShreevatsaR
5 hours ago
@ShreevatsaR, I took the OP's statement "I like to freshly install stuff often" as the basis for the OP's intent. This would mean not just the user data and application, but also system config files and user config files as well. And the "similar to Windows and Android" shows a misunderstanding of how these OSs manage packages and data as well, including "Log in to recover it" (the user data).
– tudor
4 hours ago
@ShreevatsaR, I took the OP's statement "I like to freshly install stuff often" as the basis for the OP's intent. This would mean not just the user data and application, but also system config files and user config files as well. And the "similar to Windows and Android" shows a misunderstanding of how these OSs manage packages and data as well, including "Log in to recover it" (the user data).
– tudor
4 hours ago
"It's easy to rm -R the config files yourself" Is it? That assumes you know where they all are. Couldn't they be anywhere? I basically assume all install operations are permanent. I don't see the point of even providing a remove option for package managers. You always have to start from scratch if you want software gone. Am I too fatalist here?
– Nacht
1 hour ago
"It's easy to rm -R the config files yourself" Is it? That assumes you know where they all are. Couldn't they be anywhere? I basically assume all install operations are permanent. I don't see the point of even providing a remove option for package managers. You always have to start from scratch if you want software gone. Am I too fatalist here?
– Nacht
1 hour ago
"Couldn't they be anywhere?" technically yes. In reality, probably 95% of the files will be in one of the few traditional locations. Very few applications will write files to completely illogical non-traditional locations. So, you usually just need to check few well known directories. Often you can also look up information about the software to know which directories have its files. You could even fire up a VM, install the software and see where it writes files, if you wish. All in all, you're making it sound like it's much harder to find what to delete than it is.
– VLAZ
1 hour ago
"Couldn't they be anywhere?" technically yes. In reality, probably 95% of the files will be in one of the few traditional locations. Very few applications will write files to completely illogical non-traditional locations. So, you usually just need to check few well known directories. Often you can also look up information about the software to know which directories have its files. You could even fire up a VM, install the software and see where it writes files, if you wish. All in all, you're making it sound like it's much harder to find what to delete than it is.
– VLAZ
1 hour ago
add a comment |
sudo apt remove
or uninstalling an application normally from the Software Center will just uninstall the regular package files and leave configuration behind, so that reinstalling the package later will usually pretty much restore your previous state of the application.
sudo apt purge
or sudo apt remove --purge
instead will uninstall a package and additionally remove residual system-wide configuration files afterwards. You can also use those to purge the residual configuration of a previously only removed package.
The package manager will never delete user data or user configuration files though, which is created during the run-time of the application. Those files are not tracked and the user is responsible themselves to clean them out of their home directory, if they don't want to keep them. (Theoretically a package could contain a post-remove script that checks common user data locations for files it might have created, but that should normally not be the case)
add a comment |
sudo apt remove
or uninstalling an application normally from the Software Center will just uninstall the regular package files and leave configuration behind, so that reinstalling the package later will usually pretty much restore your previous state of the application.
sudo apt purge
or sudo apt remove --purge
instead will uninstall a package and additionally remove residual system-wide configuration files afterwards. You can also use those to purge the residual configuration of a previously only removed package.
The package manager will never delete user data or user configuration files though, which is created during the run-time of the application. Those files are not tracked and the user is responsible themselves to clean them out of their home directory, if they don't want to keep them. (Theoretically a package could contain a post-remove script that checks common user data locations for files it might have created, but that should normally not be the case)
add a comment |
sudo apt remove
or uninstalling an application normally from the Software Center will just uninstall the regular package files and leave configuration behind, so that reinstalling the package later will usually pretty much restore your previous state of the application.
sudo apt purge
or sudo apt remove --purge
instead will uninstall a package and additionally remove residual system-wide configuration files afterwards. You can also use those to purge the residual configuration of a previously only removed package.
The package manager will never delete user data or user configuration files though, which is created during the run-time of the application. Those files are not tracked and the user is responsible themselves to clean them out of their home directory, if they don't want to keep them. (Theoretically a package could contain a post-remove script that checks common user data locations for files it might have created, but that should normally not be the case)
sudo apt remove
or uninstalling an application normally from the Software Center will just uninstall the regular package files and leave configuration behind, so that reinstalling the package later will usually pretty much restore your previous state of the application.
sudo apt purge
or sudo apt remove --purge
instead will uninstall a package and additionally remove residual system-wide configuration files afterwards. You can also use those to purge the residual configuration of a previously only removed package.
The package manager will never delete user data or user configuration files though, which is created during the run-time of the application. Those files are not tracked and the user is responsible themselves to clean them out of their home directory, if they don't want to keep them. (Theoretically a package could contain a post-remove script that checks common user data locations for files it might have created, but that should normally not be the case)
answered 9 hours ago
Byte CommanderByte Commander
64.9k27178298
64.9k27178298
add a comment |
add a comment |
In Windows, you always have some trace of the invasive program in the registry that must be removed manually. Anything related to AV, populates the Win architecture heavily… Plus, Windows requires a third party app to fully remove a program. Ccleaner and Revo are among them.
In Ubuntu, apt purge removes almost everything, if not all. A manual search in Synaptic Package Manager shows the entire deletion process. It can be double checked by running apt purge or inversely, by searching it in Synaptic.
You must be prudent and precise using that app, it’s a hot place to be.
New contributor
add a comment |
In Windows, you always have some trace of the invasive program in the registry that must be removed manually. Anything related to AV, populates the Win architecture heavily… Plus, Windows requires a third party app to fully remove a program. Ccleaner and Revo are among them.
In Ubuntu, apt purge removes almost everything, if not all. A manual search in Synaptic Package Manager shows the entire deletion process. It can be double checked by running apt purge or inversely, by searching it in Synaptic.
You must be prudent and precise using that app, it’s a hot place to be.
New contributor
add a comment |
In Windows, you always have some trace of the invasive program in the registry that must be removed manually. Anything related to AV, populates the Win architecture heavily… Plus, Windows requires a third party app to fully remove a program. Ccleaner and Revo are among them.
In Ubuntu, apt purge removes almost everything, if not all. A manual search in Synaptic Package Manager shows the entire deletion process. It can be double checked by running apt purge or inversely, by searching it in Synaptic.
You must be prudent and precise using that app, it’s a hot place to be.
New contributor
In Windows, you always have some trace of the invasive program in the registry that must be removed manually. Anything related to AV, populates the Win architecture heavily… Plus, Windows requires a third party app to fully remove a program. Ccleaner and Revo are among them.
In Ubuntu, apt purge removes almost everything, if not all. A manual search in Synaptic Package Manager shows the entire deletion process. It can be double checked by running apt purge or inversely, by searching it in Synaptic.
You must be prudent and precise using that app, it’s a hot place to be.
New contributor
New contributor
answered 9 hours ago
MikemecanicMikemecanic
213
213
New contributor
New contributor
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%2f1120246%2fwhy-dont-programs-completely-uninstall-remove-all-their-files-when-i-remove-t%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
Use
purge
instead ofremove
.– Pilot6
10 hours ago
Android has the ability to sync data to a Google account. Is that what you mean by "log in to recover it"? I haven't seen that option on Windows (yet).
– tudor
3 hours ago