?
Solved

SRC rpm's

Posted on 1998-05-03
4
Medium Priority
?
178 Views
Last Modified: 2013-12-15
How do I install a .src.rpm file ???  
0
Comment
Question by:pucko
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Accepted Solution

by:
beyondrob earned 100 total points
ID: 1627107
I'll use the gpm-1.13-1.src.rpm file for this example. As root:

rpm -Uvh gpm-1.13-1.src.rpm

50 hash marks should appear as a progress bar. The tar.gz's should then be in /usr/src/redhat/SOURCES

for this particular example the files would be:
gpm-1.13-intellimouse.patch
gpm-1.13.tar.gz
gpm.init

0
 
LVL 1

Author Comment

by:pucko
ID: 1627108
And then..........
0
 

Expert Comment

by:beyondrob
ID: 1627109
Do you mean with the tar.gz files? if so, they are zipped up archive files. To unzip/unarchive them use:

tar -xvzf gpm-1.13.tar.gz

which will generally create a dir and unzip there, in this case gpm-1.13 in which you will find all the source files and as a rule at least one README file with instructions on how to procede.
0
 
LVL 1

Author Comment

by:pucko
ID: 1627110
I find out that rpm --rebuild is the "right way" to do...
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month9 days, 4 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question