Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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


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


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/ 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


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 02: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 08:58 PM
rpm -ivh says installed rpm -e says not installed ??? skog Fedora 3 12-22-2004 04:52 PM
after rpm -ivh then what brucewayne3210 Linux - Software 2 05-26-2004 08:24 PM
rpm -Uvh or -ivh? chri5 Linux - Newbie 1 11-16-2003 01:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration