Sunday, April 28, 2024
55
rated 0 times [  55] [ 0]  / answers: 1 / hits: 68296  / 3 Years ago, mon, august 16, 2021, 2:54:32

I was doing a package removal with apt-get remove but then realized I should have done a --purge along with it to remove the configuration files.



Can I remove the packages configuration files easily or do I need to reinstall the package and then remove with a --purge?


More From » package-management

 Answers
3

Yes you can.



From the command line:



sudo apt-get remove --purge packagename


This will remove all of the remaining files that the package installed.






You can also do this from a GUI:




  • Install Synaptic Install Synaptic from the Software Center

  • Run Synaptic

  • Find packages listed under "Not Installed (residual config)"

    Packages with residual configs

  • Right click the package and click, mark for complete removal
    Menu

  • Click the check button on the tool bar and click apply when the dialogue pops up.
    Dialogue


[#40389] Tuesday, August 17, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mocipe

Total Points: 161
Total Questions: 106
Total Answers: 118

Location: Cambodia
Member since Thu, Oct 7, 2021
3 Years ago
;