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 11-30-2011, 07:42 AM   #1
snaryanan@gmail.com
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
Need help in RPM creation


Hi,

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
aazkan
Member
 
Registered: Jan 2008
Posts: 72

Rep: Reputation: 5
Hi,

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.

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

Code:
tar xzvf sometar.tar.gz /somepath
 
Old 11-30-2011, 08:48 AM   #3
snaryanan@gmail.com
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.

Thanks.
 
  


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


All times are GMT -5. The time now is 11:59 AM.

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