LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 04-26-2003, 01:58 PM   #1
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Rep: Reputation: 30
Can I safely uninstall perl rpm ?


I have a redhat 5.2 system and I have perl rpm installed. it is version 5.004 I think. I need to install perl 5.005 because spam assassin requires it. when I try rpm -e perl it complains that perl is needed by bind (which I have running as this machine is also a local namerserver) and other packages. I am currently compiling perl 5.005 but unsure of how to proceed with the upgrade. I dont want to break bind and the other software that depend on perl. Can I just force uninstall this rpm (how do you do that) and then install perl from the perl source. Would the other programs that depend on perl notice the difference? Thanks
 
Old 04-26-2003, 02:09 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Best not to force it, and best not to mix source installs and rpm packages. Can't you find a 5.005 package for your system and CPU?
 
Old 04-26-2003, 04:13 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
It may be hard to find an RPM (5.2 is quite old). To minimize problems (rpm will complain, but if there's no RPM, it will), look where perl executable and libraries are installed (look at the list of files using rpm) , uninstall the current RPM and install perl executables at the same place OR overwrite old perl with the one you have from source. OR, why not to have two perl versions? It may lead to trouble (you will have to switch PATH and LD_LIBRARY_PATH), but it may be a good idea to have both. Install the new one to /usr/local.
 
Old 04-26-2003, 06:51 PM   #4
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Original Poster
Rep: Reputation: 30
I couldnt resist. I uninstalled my perl rpm and downloaded perl 5.0005-3. Everything went well except the /dev/tty test which returned /dev/tty is not configured. Proceeded to install. I cannot seem to open the MCPAN shell but that did not work anyway in my current install because of an out of memory error. I had to install the modules I needed for SpamAssassin manually by tar.gz. Interestingly, I had to create dummy files opnames.h etc to get some of the modules to compile. SpamAssassin is compiling currently. Since hard drive space is limited, I was wondering if it is safe to delete the Perl source and modules source from my home directory. Do I still need these? Thanks
 
Old 04-27-2003, 09:54 AM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
You can delete the sources, but first make sure they're really installed (make sure they were copied to the right location).
 
Old 04-28-2003, 11:02 PM   #6
cmisip
Member
 
Registered: Aug 2002
Posts: 189

Original Poster
Rep: Reputation: 30
Thanks. I managed to successfully install spam assassin but it is too slow on my AMD 486 66 Mhz with 8 MB RAM. I installed TMDA which works pretty well. Now I am trying to install an antivirus to scan the mail. I installed clam antivirus which seems to be pretty fast. I need to install qmail-scanner. It requires the Time::Hires moduloe from perl. How do I check if I have this installed already? Thanks again
 
  


Reply


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
How to uninstall without RPM? HighLife Linux - Newbie 12 10-06-2005 03:20 AM
How to uninstall perl modules ust Linux - Software 1 01-27-2005 08:28 AM
uninstall rpm sjefke37 Linux - Newbie 3 05-04-2004 05:15 PM
Can I safely uninstall these gnome packages? mac_phil Mandriva 1 04-26-2004 01:06 PM
how to safely upgrade perl? hlozo Linux - Software 0 03-03-2004 04:17 PM


All times are GMT -5. The time now is 03:54 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