· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Linuxdoc Sgml/RPM+Slackware

RPM+½½·¢¿þ¾î ¹Ì´Ï-ÇÏ¿ìÅõ

RPM+½½·¢¿þ¾î ¹Ì´Ï-ÇÏ¿ìÅõ

Àú: Dave Whitinger, dave@whitinger.net

¹öÀü 1.3, 1998³â 4¿ù 13ÀÏ ¿ª: Çüõ¿í, skyhook@kitel.co.kr ¹öÀü 1.3h, 1998³â 5¿ù 26ÀÏ
ÀÌ ¹®¼­´Â ½½·¢¿þ¾î ÇÏ¿¡¼­ ¾î¶»°Ô RPMÀÌ ¼³Ä¡µÇ°í ÀûÀýÇÏ°Ô µ¹¾Æ°¡´Â°¡¸¦ ±â¼úÇÏ°í ÀÖ´Ù. ±×·¸Áö¸¸ ¿©±â Æ÷ÇԵǾî ÀÖ´Â Á¤º¸´Â ¾î¶² ¸®´ª½º ¹èÆ÷ÆÇ ¿¡µµ Àû¿ëÀÌ °¡´ÉÇÒ °ÍÀÌ´Ù.

1. °³¿ä

RPMÀº "·¹µåÇÞ ÆÐÅ°Áö ¸Å´ÏÀú"ÀÌ°í ·¹µåÇÞ ¸®´ª½º ¹èÆ÷ÆÇÀÇ ½ÉÀåºÎÀÌ´Ù. ±×°ÍÀÇ °¡Àå ±âº»ÀûÀÎ ±â´ÉÀº ÆÐÅ°Áö¸¦ ÀνºÅç, ¾ðÀνºÅç ÇÏ´Â °ÍÀÌ´Ù.

ÀÌ ¹®¼­´Â ÀÎÅÚ ÇÁ·Î¼¼¼­¸¦ »ç¿ëÇÏ´Â ½½·¢¿þ¾î ½Ã½ºÅÛ¿¡ RPMÀ» ¼³Ä¡ÇÏ´Â °ÍÀ¸·Î ¸ÂÃß¾îÁ® ÀÖÁö¸¸ ¿©±â Æ÷ÇԵǾî ÀÖ´Â Á¤º¸´Â ¾î´À ¹èÆ÷ÆÇ¿¡µµ Àû¿ë ÇÒ ¼ö ÀÖ¾î¾ß ÇÑ´Ù.

ÀÌ ÇÏ¿ìÅõÀÇ °¡Àå ¸¶Áö¸· ¹öÀüÀº http://www.threepoint.com/HOWTO/RPM+Slackware.html¿¡¼­ Ç×»ó ±¸ÇÒ ¼ö ÀÖ´Ù.

ÀÌ ¹®¼­¸¦ ÀÐ°í ³ª¼­ ´õ ÆÄ°íµé°í ½Í´Ù¸é RPM-ÇÏ¿ìÅõ¸¦ Âü°íÇ϶ó.(¿©·¯ºÐÀÇ °¡±î¿î LDP ¹Ì·¯ »çÀÌÆ®¿¡¼­ ±¸ÇÒ ¼ö ÀÖ´Ù.) ¶ÇÇÑ Æ¯º°ÇÑ Ã¥À» ±¸ÀÔÇÏ°íÀÚ ÇÑ´Ù¸é ·¹µåÇÞ ¼ÒÇÁÆ®¿þ¾î»çÀÇ Ed Bailey°¡ ÁöÀº Maximum RPMÀ̶ó´Â Ã¥À» Âü°íÇ϶ó.

2. ¼ÒÇÁÆ®¿þ¾î ±¸Çϱâ

RPMÀÇ °¡Àå ÃֽŠ¸±¸®Áî´Â Ç×»ó

ftp.rpm.org/pub/rpm/dist/latest

¿¡¼­ ±¸ÇÒ ¼ö ÀÖ´Ù.

ÀÌ ±ÛÀ» ¾²´Â ½ÃÁ¡¿¡¼­ °¡Àå ¸¶Áö¸· ¹öÀüÀº

rpm-2.4.12-1.i386.tar.gz

ÀÌ´Ù.

i386ºÎºÐÀ» ÁÖ½ÃÇ϶ó. ÀÌ°ÍÀº ÀÎÅÚ ¾ÆÅ°ÅØÃĸ¦ À§ÇÑ ¹ÙÀ̳ʸ® ÆÐÅ°Áö·Î ¹Ù·Î tar¸¦ Ç®°í ½ÇÇàÇÒ ¼ö ÀÖÀ½À» ÀǹÌÇÑ´Ù. ¿©·¯ºÐÀÌ ³»·Á¹ÞÀº ÆÄÀÏÀ̸§ ¿¡¼­ i386ÀÌ ÀÖ´Â °ÍÀ» È®ÀÎÇ϶ó. ±×·¸Áö ¾ÊÀ¸¸é ´ÙÀ½¿¡ ¼³¸íÇÒ ¸í·É¾îµéÀÌ µ¿ÀÛÇÏÁö ¾ÊÀ» °ÍÀÌ´Ù.

3. ¼ÒÇÁÆ®¿þ¾î ¼³Ä¡

°¡Àå °£´ÜÇÑ RPM ¼³Ä¡´Â ½½·¢¿þ¾î ÀÚüÀÇ ÆÐÅ°Áö °ü¸®ÀÚ¸¦ ÀÌ¿ëÇÏ´Â °ÍÀÌ´Ù.

RPMÀ» ¼³Ä¡Çϱâ À§ÇØ ¿©·¯ºÐÀº ¹Ýµå½Ã ·çÆ®»ç¿ëÀÚ¿©¾ß ÇÑ´Ù.

        installpkg /home/dave/rpm-2.4.12-1.i386.tar.gz

¹°·Ð, /home/dave¸¦ ÆÄÀÏÀ̸§¿¡ ´ëÇÑ ¿Ã¹Ù¸¥ °æ·Î·Î ¹Ù²Û´Ù.

(³ëÆ®!) ¸¸¾à À§ °úÁ¤ÀÌ ½ÇÇØÇÏ¿´´Ù¸é

        cd / ; tar zxvpf /home/dave/rpm-2.4.12-1.i386.tar.gz

´Ü¼øÈ÷ ÀÌµé ¸í·ÉÀ¸·Î ÆÄÀÏÀÇ tar¸¦ Ǭ´Ù.

´ÙÀ½, /var/lib ¹Ø¿¡ "rpm"À̶ó´Â µð·ºÅ丮¸¦ ¸¸µç´Ù.

mkdir /var/lib/rpm

ÀÌÁ¦ rpm µ¥ÀÌÅͺ£À̽º¸¦ ÃʱâÈ­Çϱâ À§ÇØ 'rpm --initdb'¶ó°í ¸í·ÉÀ» ³»¸°´Ù.

¸¸ÀÏ Áö±Ý±îÁöÀÇ ¸ðµç °úÁ¤ÀÌ ¿Ã¹Ù¸£°Ô ¼öÇàµÇ¾ú´Ù¸é ¿©·¯ºÐÀº ÀÌÁ¦ rpmÀÌ °¡´ÉÇÑ ½Ã½ºÅÛÀ» °¡Áú °ÍÀÌ´Ù. Å×½ºÆ®¸¦ À§ÇØ ¾Æ¹« rpm ÆÄÀÏÀ» °¡Á®¿Í¼­ 'rpm -Uvh filename.rpm' ¸í·É°ú ÇÔ²² ¼³Ä¡Çغ»´Ù.

4. ¹ú·¹ (Áß¿ä!)

¸î¸î ¹öÀüÀÇ RPM¿¡¼­ tar ÆÄÀÏÀÌ À߸øµÈ Çã°¡±ÇÀ» »ç¿ëÇÏ°Ô²û »ý¼ºµÈ´Ù´Â °ÍÀ» ¾Ë°í ÀÖ¾î¾ß ÇÑ´Ù. RPMÀ» ¼³Ä¡ÇÏÀÚ ¸¶ÀÚ µð·ºÅ丮(/bin, /usr, µîµî) ÀÇ Çã°¡±ÇÀ» °Ë»çÇغ¸¶ó. ¸¸ÀÏ Çã°¡±ÇÀÌ 700(drwx------)À¸·Î µÇ¾î ÀÖ´Ù¸é ¹ú·¹¿¡ ¹°¸°°ÍÀÌ´Ù.

Çã°¡±Ç ¹®Á¦¸¦ ÇØ°áÇϱâ À§ÇØ ´ÙÀ½ÀÇ ½©½ºÅ©¸³Æ®¸¦ ½ÇÇàÇ϶ó:


#!/bin/sh
 
chmod 755 /bin
chmod 755 /usr
chmod 755 /usr/bin
chmod 755 /usr/doc
chmod 755 /usr/lib
chmod 755 /usr/man
chmod 755 /usr/man/man8
chmod 755 /usr/share
chmod 755 /usr/share/locale
chmod 755 /usr/share/locale/de
chmod 755 /usr/share/locale/de/LC_MESSAGES
chmod 755 /usr/share/locale/pt-br
chmod 755 /usr/share/locale/pt-br/LC_MESSAGES
chmod 755 /usr/share/locale/sv
chmod 755 /usr/share/locale/sv/LC_MESSAGES
chmod 755 /usr/src

ÀÌ°Í¿¡ °üÇÑ Áú¹®ÀÌ ÀÖ´Ù¸é ÇÊÀÚ¿¡°Ô ÀüÀÚ¿ìÆíÀ» º¸³»´Þ¶ó.

5. °¨»çÀÇ ¸»

ÇÊÀÚ´Â ±×µéÀÇ ÁÁÀº ¸®´ª½º ¹èÆ÷ÆÇ¿¡ ´ëÇؼ­ ·¹µåÇÞ ¼ÒÇÁÆ®¿þ¾î»ç¿Í ÆÐÆ®¸¯ º¼Ä¿µù¾¾¸¦ ÀÎÁ¤ÇÑ´Ù.

´õ ³ºÀº RPM ¼³Ä¡¹æ¹ý(installpkg)À¸·Î ÇÊÀÚÀÇ ÁÖ¸ñÀ» À̲ö Milan Kopacka(mkop5230@ss1000.ms.mff.cuni.cz)¿¡°Ô °¨»çÇÑ´Ù.

6. ÀúÀÛ±Ç

ÀÌ ÇÏ¿ìÅõ´Â 1998³â Dave Whitinger¿¡ ÀÇÇØ ÀúÀÛ±ÇÀÌ °É·Á ÀÖ°í ÀÚÀ¯¹®¼­ ÀÌ´Ù. ¿©·¯ºÐÀº Free Software Foundation¿¡ ÀÇÇØ °øÇ¥µÈ °ÍÀ¸·Î¼­ GNU General Public License ÇÏ¿¡ ±×°ÍÀ» Àç¹èÆ÷ÇÒ ¼ö ÀÖ°í ¶Ç´Â ±×°ÍÀ» ¼öÁ¤ÇÒ ¼ö ÀÖ´Ù.; ¶óÀ̼¾½º ¹öÀü 2 ¶Ç´Â ±× ÀÌÈÄ ¹öÀü ¾Æ¹«°Å³ª


ID
Password
Join
To criticize the incompetent is easy; it is more difficult to criticize the competent.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2003-08-10 11:52:30
Processing time 0.0023 sec