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