Why Doesn't It Completely Uninstall?How to remove a package entirely?Completely uninstall OCamlWeird...
Coworker asking me to not bring cakes due to self control issue. What should I do?
Can I do anything else with aspersions other than cast them?
Why is Shelob considered evil?
Identical projects by students at two different colleges: still plagiarism?
Dot product with a constant
Variance of sine and cosine of a random variable
How can I differentiate duration vs starting time
Is layered encryption more secure than long passwords?
Why would you use 2 alternate layout buttons instead of 1, when only one can be selected at once
Taking an academic pseudonym?
Euler and minus sign
If I have Haste cast on me, does it reduce the casting time for my spells that normally take more than a turn to cast?
Will linear voltage regulator step up current?
What is the reason behind this musical reference to Pinocchio in the Close Encounters main theme?
Why are "square law" devices important?
How do I add a strong "onion flavor" to the biryani (in restaurant style)?
simplicial objects in a model category
How many copper coins fit inside a cubic foot?
Have any astronauts or cosmonauts died in space?
Do these large-scale, human power-plant-tending robots from the Matrix movies have a name, in-universe or out?
In the Lost in Space intro why was Dr. Smith actor listed as a special guest star?
Isn't a semicolon (';') needed after a function declaration in C++?
SQL Server 2017 crashes when backing up because filepath is wrong
Are all power cords made equal?
Why Doesn't It Completely Uninstall?
How to remove a package entirely?Completely uninstall OCamlWeird Thunderbird Uninstall ProblemUninstall Linux OS's with GRUBGoogle Earth uninstallCompletely Uninstall Spideroakhow to uninstall both unixodbc and freetds?How to remove Hubstaff from UbuntuHow to completely remove any program and its installation files?How Do I Uninstall Steam.exe That Lutris Installs?
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 too 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 too either save it somewhere, or if they give me an option to log in to recover it, is there a way too 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 too uninstall right now I'm just curious.
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 too 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 too either save it somewhere, or if they give me an option to log in to recover it, is there a way too 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 too uninstall right now I'm just curious.
uninstall
Usepurge
instead ofremove
.
– Pilot6
2 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 too 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 too either save it somewhere, or if they give me an option to log in to recover it, is there a way too 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 too uninstall right now I'm just curious.
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 too 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 too either save it somewhere, or if they give me an option to log in to recover it, is there a way too 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 too uninstall right now I'm just curious.
uninstall
uninstall
edited 1 hour ago
tudor
2,61851845
2,61851845
asked 2 hours ago
SonicStarManSonicStarMan
788
788
Usepurge
instead ofremove
.
– Pilot6
2 hours ago
add a comment |
Usepurge
instead ofremove
.
– Pilot6
2 hours ago
Use
purge
instead of remove
.– Pilot6
2 hours ago
Use
purge
instead of remove
.– Pilot6
2 hours ago
add a comment |
3 Answers
3
active
oldest
votes
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 |
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.
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.)
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-doesnt-it-completely-uninstall%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
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 2 hours ago
Byte CommanderByte Commander
64.9k27178298
64.9k27178298
add a comment |
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.
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.)
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.
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.)
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.
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.
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 1 hour ago
answered 2 hours ago
tudortudor
2,61851845
2,61851845
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 1 hour 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-doesnt-it-completely-uninstall%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
2 hours ago