LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 05-03-2011, 08:23 AM   #1
Alex_Uconomy
LQ Newbie
 
Registered: Apr 2011
Location: South Africa Cape town
Distribution: Debian
Posts: 11

Rep: Reputation: 0
Question Uninstall - a clean start


Hi guys

I am new to Linux, have played around with installations and set-ups etc. I now want to have a clean start on my LAMP inc. tomcat set-up. (as I messed up my Apache + tomcat connection / configuration)

What is the best may to uninstall packages, as well as getting rid of their folders !? (Apache, php and tomcat)

e.g. when using remove command, whole Apache folder is still there / then the install seems to remove packages, but also leave config files etc still in file system.

Is it recommended to just install a new packages over an old one ? "undoing previous changes"
What is the best way to clean up directories and corresponding packages !?

Best regards
Alex
 
Old 05-03-2011, 08:57 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,598

Rep: Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516
"apt-get purge packagename" will also remove config files.
 
Old 05-04-2011, 03:01 AM   #3
Alex_Uconomy
LQ Newbie
 
Registered: Apr 2011
Location: South Africa Cape town
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: 0
When i do this apt-get purge tomcat5.5

then i go into /etc/tomcat5.5 folder -. run dir to list content, its all still there !!!???
 
Old 05-04-2011, 06:37 AM   #4
Alex_Uconomy
LQ Newbie
 
Registered: Apr 2011
Location: South Africa Cape town
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: 0
+ I have deleted several files manually now, when trying to install apache, it doesnt do anything . .

however. how can i get back init.d/apache2 file to start and stop the server, trying to check if server is reinstalled and running correctly !!!
 
  


Reply

Tags
apache, debian, lamp, tomcat


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
unclean uninstall --> how to make clean (wine) Nightfrost Linux - Software 3 12-10-2011 10:30 PM
uninstall question - how to clean up system? alsac Debian 9 11-12-2005 10:19 PM
Clean Uninstall of v10.1/LILO w/XP? Anchoret Mandriva 3 12-02-2004 10:24 PM
Clean way to uninstall apps installed from source JrLz Linux - General 2 05-06-2004 07:38 AM
Difference between make clean and uninstall tuka Linux - Newbie 2 08-23-2003 07:25 AM


All times are GMT -5. The time now is 04:33 AM.

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