°Ô½Ã¹° 260°Ç
   
[RHEL7.4] workstation ¿¡¼­ rpm rebuild
±Û¾´ÀÌ : ´õÄÚ ³¯Â¥ : 2019-03-06 (¼ö) 01:58 Á¶È¸ : 1724
1. »çÀüÀÛ¾÷

# yum install rpm-build redhat-rpm-config gcc make
# yum groupinstall "Development Tools"


2. rpm build

1) ¼öÁ¤ÇÏ¿© rebuild

- À§Ä¡°¡ º¸Åë /usr/src/redhat~~ Àε¥ CentOS ¿¡¼­´Â  ~rpmbuild/  °¡ µÈ´Ù.
# rpm -Uvh ´ë»ó.src.rpm

- ÀÌÈÄ   ~rpmbuild/SPECS ¿¡¼­ ½ºÆå ¼öÁ¤ÈÄ 
#rpmbuild -ba ŸÄÏ.spec


2) ¼öÁ¤¾øÀÌ

- °¡Àå °£´ÜÇÑ ¼³Ä¡´Â ¼³Á¤¼öÁ¤ ¾øÀÌ Çϴ°ÍÀÌ´Ù.

#rpmbuild --rebuild ´ë»ó.src.rpm



3.  rpm ¼³Ä¡

#cd  ~rpmbuild/RPMS
#rpm -ivh ŸÄÏ.rpm





À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com