Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-20-2006, 04:54 PM   #1
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
apt-get remove package-name & config files

In Synaptic (Ubuntu's software manager), there's the option "Mark for Complete Removal"; I suppose, this would include the config files, too, as well as any other influences (like scripts) the application had issued to the system.

apt-get --help
- opposed to Synaptic's option mentioned above - there doesn't seem to be an option to remove scripts and config files, too.

- How can a program be completely removed using "apt-get", including the configuration settings it provides the Linux system with?

Old 04-20-2006, 04:55 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
apt-get remove --purge filename

Last edited by pljvaldez; 04-20-2006 at 04:58 PM.
Old 04-20-2006, 05:33 PM   #3
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Original Poster
Rep: Reputation: 32
Thank you, I've tested it, and it works.
I should have read the man page, not only "apt-get --help", shouldn't I.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apt-get remove & purge nvidia-kernel-common. safe? Penguin of Wonder Ubuntu 2 03-01-2006 11:11 AM
remove /var/cache/apt files bhomass Debian 2 02-22-2006 07:52 PM
Apt-get: How to remove software without knowing package name? sureshot324 Linux - Software 4 10-27-2005 01:14 PM
DPKG & "files list file for package `pkg-config' contains empty filename" error :( Angelus Debian 2 04-02-2005 07:34 AM
HELP with apt-getHow come when I tried to use apt-get to remove a package to regain redss Linux - Newbie 1 08-22-2004 11:59 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration