LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-27-2004, 08:47 AM   #1
newbielinux
LQ Newbie
 
Registered: Feb 2004
Posts: 12

Rep: Reputation: 0
path for directory while doing rpm -ivh


hi

I have a script in which I am creating directory structure....

redhat
->BUILD
->RPMS
->SOURCES
->SPECS
->SRPMS

all these are directories under redhat directory.......

In script I want to do
rpm -ivh for my src.rpm and want that the tar.gz should go inside
redhat/SPECS.....so that finally I can do rpmbuild in same script...

How can I specify the directory path where I want the src.rpm to get install
and give me tar.gz at that directory?????

Pls help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
rpm -ivh vs. rpm -Uvh Eklipz Fedora 6 12-02-2013 01:51 AM
How to rsynce the actual directory path instead of just the directory at the end of Niceman2005 Linux - General 5 04-08-2005 07:58 PM
rpm -ivh says installed rpm -e says not installed ??? skog Fedora 3 12-22-2004 03:52 PM
after rpm -ivh then what brucewayne3210 Linux - Software 2 05-26-2004 07:24 PM
rpm -Uvh or -ivh? chri5 Linux - Newbie 1 11-16-2003 12:59 PM


All times are GMT -5. The time now is 12:09 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration