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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-26-2003, 01:58 PM
|
#1
|
Member
Registered: Aug 2002
Posts: 189
Rep:
|
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
|
|
|
04-26-2003, 02:09 PM
|
#2
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep:
|
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?
|
|
|
04-26-2003, 04:13 PM
|
#3
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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.
|
|
|
04-26-2003, 06:51 PM
|
#4
|
Member
Registered: Aug 2002
Posts: 189
Original Poster
Rep:
|
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
|
|
|
04-27-2003, 09:54 AM
|
#5
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
You can delete the sources, but first make sure they're really installed (make sure they were copied to the right location).
|
|
|
04-28-2003, 11:02 PM
|
#6
|
Member
Registered: Aug 2002
Posts: 189
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|