Linux - SoftwareThis 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.
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.
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344
Rep:
Removing packages in distros
At a risk of sounding really stupid, I need to ask a basic question. I have Fedora Core 2 installed on a machine. It was installed from a DVD and all the available packages were installed. Now, I need to "update" my perl package to include some different modules. I am trying to incorporate SPF into Sendmail and I need some of the modules that weren't installed. Do I have to uninstall Perl and then re-install? Or is there a way to rebuild Perl and include all of the packages that I need? Now if I have to uninstall, do I use the rpm -u command or is there a better way to do it? Thanks in advance!
"At a risk of sounding really stupid, I need to ask a basic question. I have Fedora Core 2 installed on a machine. It was installed from a DVD and all the available packages were installed. Now, I need to "update" my perl package to include some different modules. I am trying to incorporate SPF into Sendmail and I need some of the modules that weren't installed. Do I have to uninstall Perl and then re-install? Or is there a way to rebuild Perl and include all of the packages that I need? Now if I have to uninstall, do I use the rpm -u command or is there a better way to do it? Thanks in advance!"
"I am trying to incorporate SPF into Sendmail"
rpm -i
installs a package
"Do I have to uninstall Perl and then re-install? Or is there a way to rebuild Perl and include all of the packages that I need? "
rpm -U
upgrades a package
"Now if I have to uninstall, do I use the rpm -u command or is there a better way to do it?"
rpm -e removes a package
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344
Original Poster
Rep:
By the way. thanks for your help. But I just discovered yet another question. When I type
"rpm -qa | grep perl" I get a list of about 50 packages. Which is the real "perl"?
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344
Original Poster
Rep:
Well, as a matter of fact I did thank you mrcheeks. If I wanted a snide answer I would go to one of the other forums. I came here because I want to learn how to do this. And no I didn't see any of the modules listed that I need.
It would be nice if someone would actually answer my question; I will restate it. If I need to add these modules(which I really don't know if it was compiled with them or not) how does one go about doing that. I guess the first question would to be to determine if perl has any of these modules. I am speciffically looking for:
When I tried and installing the SPF milter to go with sendmail, it came back and said that it needed these modules so I would assume they weren't there. So how do I get them installed?
Hi ScooterB. I've had a look on synaptic, apt-gets GUI on FC2, and even though there are lots of perl modules, some installed, the ones you are looking for arn't there. I've also got Webmin, available from http://www.webmin.com . Webmin has afacility for downloading and installing perl modules from cpan, which is the site for perl, and it's modules. I tried errno ans this installed ok using webmin. I'm not sure where it's put it, and am not sure how perl deals with it's loaded modules, but webmin said it was installed. Be carefull if you decide to use webmin, as some of the modules you want seem to have different versions, "Getopt" for instance. You can view, and get, available modules also direct from cpan. http://search.cpan.org . And the main page is, http://www.cpan.org . Webmin is easier as you don't have to install the tar.gz files manually. Webmin is easy to install, and if you decide to use it (and it does loads of other stuff too) get the file named "webmin-1-240-1.noarch.rpm" , Install instructions are on the same page as the downloads. You login to it through your webbrowser, using root, and your root password. You will be told during the install, what the URL is. All the best. Nigel.aka farpoint
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344
Original Poster
Rep:
Thanks a bunch. I have used Webmin some but not for things like this. I really wasn't aware that Webmin would perform actions like this. I will definitely take a look at using it. Thanks for your help!
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344
Original Poster
Rep:
That worked relatively painless. I got all but two of them instlled thru webmin. Now, for my next question; The documentation for SPF says that I need to make sure that my perl is "thread-enabled (compiled with duseithreads)". How do I find out if it is? And I guess the second part is how do I find out if it was compiled with duseithreads? I googled for an answer and looked at the cpan/perl sites, but they refer to mostly actually working with the perl programming language itself. How do I go about finding out how it was compiled? Thanks!
Hi. Glad you got most of the modules installed. When I saw your initial post, I knew that Webmin could install perl modules and offered the help. I don't know much more about perl, but see there is a mailing list at http://www.cpan.org, and am sure that someone there can help . Sorry that I can't help more, and am genuinally sorry. I've only been working with computers since July 2003, mainly Linux , so am not too clued up on a lot of stuff. Nigel.aka farpoint.
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344
Original Poster
Rep:
Thanks farpoint. I've used webmin for a quick way to look at logs and administer users, but haven't really had the time to explore all of it's uses. Seems like a pretty good tool from what I've seen in the past. I was checking out cpan yesterday and found quite a bit there. I just need to find out now if my distro copy of perl was compiled with duseithreads. Whatever those are??!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.