Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-30-2002, 06:56 AM   #1
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, 02:41 PM   #2
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, 01:07 PM   #3
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 ->
Old 05-06-2002, 12:02 AM   #4
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!


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

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