Does âapt autoremove --purge â also remove configuration files for the related packages that are removed?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I assume the below command does the following (please correct me if I am wrong):
I want to remove the package nginx and the related configuration
files. I also want to remove any related package dependencies (that
are not used by any other package on the system)
sudo apt autoremove --purge nginx
Question
Does it also remove the configuration files for the related package(s) (dependencies) that are removed from the system?
apt package-management
add a comment |Â
up vote
1
down vote
favorite
I assume the below command does the following (please correct me if I am wrong):
I want to remove the package nginx and the related configuration
files. I also want to remove any related package dependencies (that
are not used by any other package on the system)
sudo apt autoremove --purge nginx
Question
Does it also remove the configuration files for the related package(s) (dependencies) that are removed from the system?
apt package-management
Hi, I think your question has already been answered. See How can you completely remove a package?
â Emily
May 15 at 22:54
1
Possible duplicate of How can you completely remove a package?
â Emily
May 15 at 22:54
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I assume the below command does the following (please correct me if I am wrong):
I want to remove the package nginx and the related configuration
files. I also want to remove any related package dependencies (that
are not used by any other package on the system)
sudo apt autoremove --purge nginx
Question
Does it also remove the configuration files for the related package(s) (dependencies) that are removed from the system?
apt package-management
I assume the below command does the following (please correct me if I am wrong):
I want to remove the package nginx and the related configuration
files. I also want to remove any related package dependencies (that
are not used by any other package on the system)
sudo apt autoremove --purge nginx
Question
Does it also remove the configuration files for the related package(s) (dependencies) that are removed from the system?
apt package-management
asked May 15 at 20:34
![](https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=32)
![](https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=32)
dohjon
104
104
Hi, I think your question has already been answered. See How can you completely remove a package?
â Emily
May 15 at 22:54
1
Possible duplicate of How can you completely remove a package?
â Emily
May 15 at 22:54
add a comment |Â
Hi, I think your question has already been answered. See How can you completely remove a package?
â Emily
May 15 at 22:54
1
Possible duplicate of How can you completely remove a package?
â Emily
May 15 at 22:54
Hi, I think your question has already been answered. See How can you completely remove a package?
â Emily
May 15 at 22:54
Hi, I think your question has already been answered. See How can you completely remove a package?
â Emily
May 15 at 22:54
1
1
Possible duplicate of How can you completely remove a package?
â Emily
May 15 at 22:54
Possible duplicate of How can you completely remove a package?
â Emily
May 15 at 22:54
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Short Answer : Yes, but not every file related to package is deleted as purge doesn't remove data stored by packages inside the home directory or other special directories.
By Standard defination of Purge:-
Purge - Purge is identical to remove except that packages are removed and purged. Purge meaning that any configuration files are
deleted too.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Short Answer : Yes, but not every file related to package is deleted as purge doesn't remove data stored by packages inside the home directory or other special directories.
By Standard defination of Purge:-
Purge - Purge is identical to remove except that packages are removed and purged. Purge meaning that any configuration files are
deleted too.
add a comment |Â
up vote
1
down vote
accepted
Short Answer : Yes, but not every file related to package is deleted as purge doesn't remove data stored by packages inside the home directory or other special directories.
By Standard defination of Purge:-
Purge - Purge is identical to remove except that packages are removed and purged. Purge meaning that any configuration files are
deleted too.
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Short Answer : Yes, but not every file related to package is deleted as purge doesn't remove data stored by packages inside the home directory or other special directories.
By Standard defination of Purge:-
Purge - Purge is identical to remove except that packages are removed and purged. Purge meaning that any configuration files are
deleted too.
Short Answer : Yes, but not every file related to package is deleted as purge doesn't remove data stored by packages inside the home directory or other special directories.
By Standard defination of Purge:-
Purge - Purge is identical to remove except that packages are removed and purged. Purge meaning that any configuration files are
deleted too.
answered May 15 at 20:40
Vishesh Gautam
36011
36011
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036697%2fdoes-apt-autoremove-purge-package-also-remove-configuration-files-for-the%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
Hi, I think your question has already been answered. See How can you completely remove a package?
â Emily
May 15 at 22:54
1
Possible duplicate of How can you completely remove a package?
â Emily
May 15 at 22:54