Does âapt autoremove --purge â also remove configuration files for the related packages that are removed?

Clash Royale CLAN TAG#URR8PPP 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
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