LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-04-2008, 11:02 PM   #1
AutoC
Member
 
Registered: Jan 2008
Posts: 30

Rep: Reputation: 15
rpm of rpms


So Ive basically got a bunch of rpms for my own application.Can I create somethign like an "rpm of rpm's" so that i have a single package?
 
Old 02-04-2008, 11:08 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Why don't you just zip them up?
 
Old 02-04-2008, 11:13 PM   #3
AutoC
Member
 
Registered: Jan 2008
Posts: 30

Original Poster
Rep: Reputation: 15
I was thinking in the lines of having to perform only one rpm command to install all of them
 
Old 02-06-2008, 10:31 AM   #4
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Code:
# rpm -ivh *.rpm
 
Old 02-06-2008, 11:11 PM   #5
AutoC
Member
 
Registered: Jan 2008
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by WhatsHisName View Post
Code:
# rpm -ivh *.rpm


ok..thnx
 
Old 02-09-2008, 11:32 AM   #6
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
or you could compress them into a tar.gz and then script it as follows

First compress them
tar czf packages.tar.gz *.rpm

Then the script. name it script.sh for our example.

#!/bin/sh

PACKAGE=$1

tar xzf $PACKAGE
sudo rpm -ivh *.rpm

Then when u want to install these just do this
./script.sh packages.tar.gz

**EDIT**
Don't forget to change permissions on the script so it is executable.
chmod u+x script.sh

Last edited by shafty023; 02-09-2008 at 11:33 AM.
 
  


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
RPMS: what's the name of Dev C/C++ rpm? Chuong Linux - Software 1 09-22-2006 11:03 PM
Installing RPM by specifying dependent RPMs path anjanesh Linux - Newbie 3 08-24-2006 12:05 AM
redhat based rpm Rpms i386 why not i686?? SSBN Linux - Software 9 06-26-2005 08:17 PM
RPM hell, how to remove source rpms? baudchaser Linux - Newbie 3 02-13-2004 10:16 AM
Installing from Source Rpms(*.src.rpm) elluva Linux - Newbie 6 10-15-2003 05:32 PM

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

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