-   Linux - Newbie (
-   -   Need help in RPM creation ( 11-30-2011 07:42 AM

Need help in RPM creation

I'm new to Linux. I have to create an RPM which needs to extract a set of folders from a tar file and copy it to the destination directory. I don't know how to proceed. Kindly help me. Thanks in advance.

aazkan 11-30-2011 08:29 AM


May i ask why would you need an RPM for that? Is it a pre-requisite?
If you're wanting to tar out something this should be sufficient.


tar xvf sometar.tar /somepath
or if it's a tar.gz


tar xzvf sometar.tar.gz /somepath 11-30-2011 08:48 AM

Thanks for the reply aazkan.

It's for our project needs. We decided to distribute the files using rpm for security reasons.

We decided to go with tar command but the company decide to go with rpm.


All times are GMT -5. The time now is 01:54 PM.