LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-04-2005, 02:59 PM   #1
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Rep: Reputation: 17
Question on Add/Remove apps, rpm file equivalents?


I need to write a script which will manually install all the packages I need for the web server. In the GUI, you can go to Add/Remove apps check webserver and choose the individual extra things you want to install.

My question is, is there a one to one correspondence between each item and a rpm file? For instance, for webserver the GUI list the items: httpd, mod_ssl, squid, php-ldap, etc. Are each one of those single packages and are they related to the file name? If that's the case, I just need to grab each rpm file off the install CD. Thanks for any help.
 
Old 01-04-2005, 08:07 PM   #2
Postal1
LQ Newbie
 
Registered: Jan 2005
Location: CT, USA
Distribution: LFS, Fedora Core3, Win XP
Posts: 7

Rep: Reputation: 0
I would suspect that you would be correct on both of the above counts. In linux, as I am sure you have noticed naming tends to be pretty strait forward. Most likley, the names of those files correspond to individual rpms..

Postal1
 
Old 01-05-2005, 03:22 PM   #3
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Original Poster
Rep: Reputation: 17
I tried manually installing the rpms grabbed from the install CDs based on the names from the add/remove GUI but am getting dependency errors:

warning: httpd-2.0.47-10.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
libodbc.so.1 is needed by php-odbc-4.3.3-6
libodbcpsql.so.2 is needed by php-odbc-4.3.3-6
libpq.so.3 is needed by php-pgsql-4.3.3-6


I did eventually find the rpms which fix these dependency issues on the CD. I guess the lesson is there are some rpms installed which are not shown when you use the GUI package installer.

Last edited by Arodef; 01-05-2005 at 03:40 PM.
 
Old 01-05-2005, 07:37 PM   #4
Postal1
LQ Newbie
 
Registered: Jan 2005
Location: CT, USA
Distribution: LFS, Fedora Core3, Win XP
Posts: 7

Rep: Reputation: 0
Ok, good, I am glad that you were able to fix your problem, post back here if you need any help..

Lots of Luck
~Postal1

Last edited by Postal1; 01-05-2005 at 07:38 PM.
 
Old 01-07-2005, 10:23 AM   #5
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
why dont u use yum, if u have internet connection?
like this:
yum install httpd

so it will automaticly will find and ask u to install other packets that needed to be installed as depency.

good luck
 
Old 01-07-2005, 12:53 PM   #6
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Original Poster
Rep: Reputation: 17
I need the installation done on multiple systems and it has to be the same install on each one so I have to rule out yum and apt as I can't have some systems with newer packages than others. Is there any way to get the rpm to automatically install the other needed packages?
 
Old 01-08-2005, 03:30 AM   #7
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
i dont think it is possible to do that with rpm command.
we try to install some packet and rpm give the depency error generally. sometimes some packets have module depencies to each other. so we must install them by one command, like this:
rpm -Uvh packet1.rpm packet2.rpm packetX.rpm

u told that u have multiple systems. if those are same systems, u may want to update all systems with rpm command:
#rpm -Fvh /path/to/update-rpms/*.rpm
so it will upgrade installed packets.
F means upgrade that packet if it is installed on system.
U means if packet installed on system upgrade it. if not, install it.

good luck.
 
Old 01-09-2005, 11:56 AM   #8
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
If you need to totally control the packages on the system then probably the best way to do it is to disable the default yum repositories and attach them to your own yum repository.

yum can handle dependencies sensibly but the rpm utility fundamentally can't...
 
  


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
Table of Equivalents: Windows & Linux Apps Compari Beetle B. Linux - Software 2 05-29-2005 03:27 PM
i can't install RPM's using add/remove apps in FC2 onthos Linux - Software 1 03-16-2005 01:26 AM
i can't install RPM's using add/remove apps in FC2 onthos Linux - Networking 1 03-15-2005 03:44 PM
how am i remove rpm file? AKAKAK Fedora 5 01-22-2005 01:25 PM
add/remove applications and rpm question abbasakhtar Linux - Newbie 6 10-06-2003 01:07 PM

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

All times are GMT -5. The time now is 01:37 AM.

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