make rpm from source

Issues related to applications and software problems
Post Reply
tonysud
Posts: 18
Joined: 2017/10/09 14:51:58

make rpm from source

Post by tonysud » 2017/12/02 19:02:34

If I download a source code, anche then I do ./configure and make
is there some command to execute instead of make install that make a rpm package and install it?

p.s.: if I do make install and then I remove source directory from which I installed the program, how do I know which files I have to delete from my system to remove the program?

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: make rpm from source

Post by scottro » 2017/12/02 19:44:00

New users should check the FAQ and Read Me First pages

tonysud
Posts: 18
Joined: 2017/10/09 14:51:58

Re: make rpm from source

Post by tonysud » 2017/12/02 19:55:52

It looks like complex..

I want to update lynx package.
I have removed it with yum and recompiled it with ./configure and make
can I reuse something from centos7 lynx package to make newer version rpm or do I have to write spec file and other things manually?

tonysud
Posts: 18
Joined: 2017/10/09 14:51:58

Re: make rpm from source

Post by tonysud » 2017/12/02 20:57:39

p.s.: another question
If I try to remove old lynx I get:

Code: Select all

Removing:
 lynx                           
Removing for dependencies:
 docbook-utils                  
 gtk-doc                        
 libbonoboui-devel              
 libgnomecanvas-devel           
 libgnomeui-devel               
 xmlto                          
how to remove old lynx and install new compiled by hand without making problems to dependencies?

Post Reply