Share your knowledge at the LQ Wiki.
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 05-18-2016, 11:49 AM   #1
LQ Newbie
Registered: May 2016
Posts: 5

Rep: Reputation: Disabled
How to build an rpm which runs a automatic script from the tar which installs everything.

I have a tar file which contains a script. This script installs everything automatically when run. I have to build an rpm for this tar. so that when the rpm is installed it must invoke this script in the tar to automatically install everything.Can anyone help me with writing the SPEC file to do this.
Old 05-18-2016, 12:49 PM   #2
LQ 5k Club
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: OSX Sierra
Posts: 8,576
Blog Entries: 15

Rep: Reputation: Disabled
What have you accomplished so far?
Show us your work please.


rpmbuild, rpmforge, rpmfusion, rpms, rpmunpack

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
error package rpm-build which installing rpm-build from RHN Satellite Server. johnabraham Linux - Server 1 10-05-2013 07:51 PM
DIfference Between YUM, RPM, and TAR Installs Linux - Newbie 5 10-19-2012 08:41 PM
How to build an RPM from tar.gz on CentOS 4.5? thatguyinss Linux - Software 3 01-12-2009 09:30 PM
how does a rpm build happen + shell script help sailu_mvn Linux - Software 38 07-21-2006 03:40 AM
How to build RPM from Tar.gz fireedo SUSE / openSUSE 4 05-13-2005 03:00 PM > Forums > Linux Forums > Linux - Newbie

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

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