Latest LQ Deal: Latest LQ Deals
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 11-30-2011, 07:42 AM   #1
LQ Newbie
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
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.
Old 11-30-2011, 08:29 AM   #2
Registered: Jan 2008
Posts: 72

Rep: Reputation: 5

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
Old 11-30-2011, 08:48 AM   #3
LQ Newbie
Registered: Nov 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.



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 Package creation question rahulthewall3000 Programming 13 07-03-2008 06:27 AM
Creation of RPM package yashwantpinge Programming 1 03-06-2006 07:57 AM
Rpm Creation sajjadc Red Hat 1 07-10-2005 01:22 PM
rpm .hdr files creation singh_tarandeep Red Hat 1 05-06-2004 09:40 PM
rpm file creation mayankjohri Linux - Software 4 03-17-2003 07:07 AM > Forums > Linux Forums > Linux - Newbie

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