Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 05-12-2005, 11:21 PM   #1
Registered: Feb 2005
Location: Indonesia,Sidoarjo
Posts: 342

Rep: Reputation: 30
How to build RPM from Tar.gz

Is there any other way to build a RPM package from tar.gz file?

Old 05-13-2005, 12:35 AM   #2
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 51
have a look at "a rpm developper guide", you cannot just convert the archive to rpm...
Old 05-13-2005, 12:43 AM   #3
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
The Maximum RPM guide may have some help on that.

I have Linux installed, now how do I do stuff like installing more software and other file managers?
# I can't figure out what software I want and how to install/uninstall it
The table of equivalents, replacements, analogs of Windows software in Linux
# Find software here
# Guides to software management
LNAG: 4.5 Package installation and rpm package manager
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation
# File managers
Midnight Commander
Gentoo file manager

Last edited by fancypiper; 05-13-2005 at 12:45 AM.
Old 05-13-2005, 01:52 PM   #4
Registered: Aug 2003
Location: Melbourne Australia
Distribution: Fedora Core 4
Posts: 184

Rep: Reputation: 30
Maximum RPM, as mentioned by fancypiper, is an excellent resource for all things RPM. The command that you will be wanting to use is called rpmbuild, read it's man page for details, it should already be installed on your system. The section in Maximum RPM that describes how to use rpmbuild will help you the most. You might at first find rpmbuild a little tricky, I did when I first started using it, but once you get your head around it, it's really is quite simple. You can use it to build an RPM out of any source code tarball. I use it for every program I want to install that doesn't already have a RPM for my system, or if I want to compile the app myself. Note also that most programs that you will ever want to build a RPM for, someone else has probably already written a spec file for it, so always do a quick search on the net for it's spec file, they can save you a lot of time.
Old 05-13-2005, 02:00 PM   #5
Registered: Feb 2005
Location: Indonesia,Sidoarjo
Posts: 342

Original Poster
Rep: Reputation: 30
ok thanx for everything that's help me a lot


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
.tar.gz and and .src.rpm how to rpms gadekishore Linux - Software 2 10-13-2005 12:51 AM
cannot build source rpm/ rpm questions kpachopoulos Fedora 3 07-24-2005 09:15 AM
Is there a way to transform tar.gz into rpm or is there a GUI for tar.gz MElipse Linux - Newbie 2 04-11-2004 04:31 AM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 06:30 AM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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