LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-18-2005, 04:07 PM   #1
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
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!
 
Old 10-18-2005, 04:11 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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

See:
man rpm

-----------------------
Steve Stites
 
Old 10-18-2005, 04:21 PM   #3
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Original Poster
Rep: Reputation: 31
I got from the help file that -U updates, but how do I go about rebuilding Perl to include the needed modules?
 
Old 10-18-2005, 04:25 PM   #4
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Original Poster
Rep: Reputation: 31
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"?
 
Old 10-18-2005, 05:09 PM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
You might have perl modules in the list you get? Did you even take time to look at it?
 
Old 10-19-2005, 08:16 AM   #6
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Original Poster
Rep: Reputation: 31
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:

Posix
Sendmail::Milter
Socket
Net::CIDR
Mail::SPF::Query
Mail::SRS
Getopt
Errno

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?
 
Old 10-20-2005, 07:11 AM   #7
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
you can use yum extender to search and install theses packages or use the poor add/remove packages applications of fedora.
 
Old 10-20-2005, 10:05 AM   #8
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Rep: Reputation: 30
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
 
Old 10-20-2005, 10:52 AM   #9
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Original Poster
Rep: Reputation: 31
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!
 
Old 10-20-2005, 04:50 PM   #10
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Original Poster
Rep: Reputation: 31
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!
 
Old 10-20-2005, 05:20 PM   #11
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Rep: Reputation: 30
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.
 
Old 10-21-2005, 07:50 AM   #12
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Original Poster
Rep: Reputation: 31
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??!
 
  


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
removing certain packages Smokey Red Hat 1 10-02-2004 07:55 PM
Removing multiple packages tipaul Slackware 8 08-21-2004 09:45 AM
removing packages robson8112 Linux - General 3 01-21-2004 03:34 PM
removing packages..??? mhd_Ahmed Linux - Newbie 4 08-22-2003 12:46 PM
different distros, different packages gors Linux - Newbie 3 01-17-2002 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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