LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2002, 05:56 AM   #1
parle
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 8.0, FreeBSD 4.8
Posts: 12

Rep: Reputation: 0
Question Building RPM files from TAR files


My system doesn't seem to want to run newer Linux versions than RedHat 7.0, or Mandrake 7.2 (based on 2.2 kernel), due to a strange SCSI setup.

For the most part, this doesn't leave me really crippled, since I can get source RPMs and they compile fairly easily, and the same goes with source tarballs. For ease in archiving, I'd like to be able to build binary and source RPMs out of the tarballs. My experience has been more misses than hits in using the command: rpm -ta to build the binary RPMs. Typically, RPM reports back that the following fields are missing from the main package and refuses to proceed:

Name, Version, Release, Summary, Group, and License.

How are these fields added, and what syntax on RPM should I use?
 
Old 04-30-2002, 01:41 PM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Look into using the alien program to just convert the tarball to an rpm.
 
Old 05-01-2002, 12:07 PM   #3
pbharris
Member
 
Registered: Apr 2001
Location: chicago, IL
Distribution: debian, redhat
Posts: 280

Rep: Reputation: 30
makes rpms, debs or slack tarballs out of source: look over there ->
http://asic-linux.com.mx/~izto/checkinstall/
 
Old 05-05-2002, 11:02 PM   #4
parle
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 8.0, FreeBSD 4.8
Posts: 12

Original Poster
Rep: Reputation: 0
Lightbulb Solution tried and works well.

The solution of using CheckInstall was what I was looking for. Tested it, and it works great. Many Thanks!

I tried Alien, and it works, but is a bit slow. Might be better on binaries, tho.

Many 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
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
getting downloaded rpm/cups and tar files into correct folders mookie2125 Linux - Newbie 4 07-17-2005 08:35 PM
How do you install tar/gz files, and rpm files? Fear58 Linux - Software 6 02-14-2004 04:35 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 10:28 AM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration