LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-26-2006, 05:58 AM   #1
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Rep: Reputation: 45
Getting rid of Postfix and Dovecot


Hey all,

As stated in previous posts, I'm one of those "Linux" users who've mainly used distributions with a binary package system. I'm used to being able to install, update and uninstall using some sort of tool.

With Slackware I've started compiling from source instead. It is going well for me, things are working and I'm very happy with Slackware so far. I have though one problem: How on earth do I uninstall/remove for example Postfix and/or Dovecot after having installed them from source?

The reason I want to remove them is so I can start all over and document every step I took to make it work.

Regards,
Thomas
 
Old 09-26-2006, 06:06 AM   #2
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
I don't know if this applies to Postfix and Dovecot, but most programs have a 'make uninstall' target. This assumes you kept the source directory of course. If you did keep it, change to the source directory for the program and type:
Code:
su
make uninstall
 
Old 09-26-2006, 06:34 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by TL_CLD
document every step I took to make it work
Generally, I refer to this as creating a SlackBuild script :-)

Eric
 
Old 09-26-2006, 10:04 AM   #4
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
I run Postfixfrom pre-built packages and it replaces some of the sendmail executables. If Dovecote behaves like courier-imap it replaces the functions of imapd and pop3d.

So to revert I would make the rc.postfix and whatever dovecote uses non-executable and reinstall sendamil, imapd and pop3d
This would leave some directories in /etc, but they won't do any harm
 
Old 09-26-2006, 03:12 PM   #5
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
Thanks all.. I couldn't figure out how to get rid of the two, so I just manually tracked down most of the files and deleted them. A recompile later I had my own little step by step guide written down, so all is well!

Kinda weird though that it should be so difficult to get rid of Postfix and Dovecot, just because they've been installed from source. Oh well..
 
Old 09-27-2006, 12:31 AM   #6
sunman
Member
 
Registered: Jun 2005
Distribution: Slackware64 13.0 (multilib)
Posts: 67

Rep: Reputation: 15
Quote:
Originally Posted by TL_CLD
Hey all,

As stated in previous posts, I'm one of those "Linux" users who've mainly used distributions with a binary package system. I'm used to being able to install, update and uninstall using some sort of tool.

With Slackware I've started compiling from source instead. It is going well for me, things are working and I'm very happy with Slackware so far. I have though one problem: How on earth do I uninstall/remove for example Postfix and/or Dovecot after having installed them from source?

The reason I want to remove them is so I can start all over and document every step I took to make it work.

Regards,
Thomas
Slackware also has a package management system that you can use to remove and install software. I use checkinstall when I compile from source to build packages for my own use and have never had a problem with it, although there are other ways/tools that you can use to make packages, including makepkg that is part of the slack package management system. Make uninstall isn't always an option with source packages, and even then sometimes they don't always remove everything they install. I've heard of problems even with using checkinstall, but can't say that I've ever had any myself. It's a lot easier to just be able to type removepkg blahblah instead of manually tracking down all the files installed imo
 
  


Reply



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
Postfix/Dovecot issue LWillmann Linux - Networking 2 09-18-2006 07:34 AM
Postfix Dovecot Help BigAppleFan Linux - Newbie 7 08-15-2005 05:08 PM
Postfix Dovecot Spamassassin php4u Fedora 1 04-09-2005 02:48 AM
Postfix and Dovecot umbraeOtheisles Linux - Software 3 11-23-2004 07:36 AM
postfix with dovecot on fc2 rnj Fedora 1 10-09-2004 04:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration