RPM+Slackware Mini-Howto ¤¤Ä¶¥»
  ­ì§@ªÌ : Dave Whitinger, wolf@redhat.com
  v1.3, 13 April 1998
  ĶªÌ : ¶À´I±j, wfkwong@net.polyu.edu.hk
  25 September 1998

  ³o½g¤å¥ó´y­z¤F«ç¼Ë¥ORPM¦bSlackware·í¤¤¦w¸Ë¤Î
  ¥¿±`°õ¦æ¡E¦Ó¦b³o¥÷¤å¥ó¤¤ªº¸ê®Æ¬O¾A¦X¦ULinuxª©¥»¡E
______________________________________________________________________

  ¥Ø¿ý


  1. ²¤¶

  2. ¨ú±o³n¥ó

  3. ¦w¸Ë³n¥ó

  4. ­«­nªºÂÎ

  5. ·PÁÂ

  6. ª©ÅvÁn©ú



  ______________________________________________________________________


  1.  ²¤¶

  §Ú¤w¸g³Q°Ý¤Î«Ü¦h«Ü¦h¦¸«ç¼Ë¦bSlackware¤¤¨Ï¥ÎRPM¡E
  §Ú¤w¸g¨ü°÷¤F¡A©Ò¥H¨M©w¤µ¤Ñ¼g³o½g¤å¥ó¡A§Ú·Q
  ³o¥i¯à¬O¤@­Ó«Ü¦nªººc·Q¡E

  RPM¬O"Red Hat Package Manager"»P¤ÎRed Hat³o­Óª©¥»ªº®Ö¤ß¡E
  ¥¦³Ì°ò¥»ªº¥\¯à¬O¦w¸Ë©M¤Ï¦w¸Ë³n¥ó¥]¸Ë¡E

  ³o¥÷¤å¥ó¬O¤ñ¸ûÁͦV¦w¸ËRPM¦b¤@­Ó¨Ï¥ÎIntel³B²z¾¹ªºSlackware¨t²Î¡A
  ¤£¹L¦b³o¸Ìªº¸ê®Æ¯à°÷»´©ö¨Ï¥Î¨ì¨ä¥L¨Ï¥Î¤£¦P³B²z¾¹ªº¨t²Î¤W¡E

  ³o¥÷¤å¥óªº³Ì·sª©¥»¸g±`¯à°÷¦b³o¸Ì±o¨ì¡G
  

  ¦p­n§ó²`¤J¾\Ū¡A¬d¾\ RPM-HOWTO(¥i¥H¦b¾Fªñªº LDP Mirror site ¨ú±o)¡E
  ¥t¥~¡A§A¥i¥H¦Ò¼{ÁʶR¤@¥»«D±`¦nªº®Ñ ¡A¥Ñ Ed Bailey of Red
  Hat Software, inc ©Ò§@ªº Maximum RPM¡E

  2.  ¨ú±o³n¥ó

  ³Ì·sªºRPMª©¥»¸g±`¯à°÷¦b³o¸Ì±o¨ì¡G

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

  ª½¨ì°õµ§ªº®É«J¡A³Ì·sªºª©¥»¬O

       rpm-2.4.12-1.i386.tar.gz

  ª`·N.i386³o­Ó³¡¤À¡A³o¸Ì«ü³o­Ój°õ¦æÀÉ¥]¸Ë¯à°÷¦b¨Ï¥ÎIntel³B²z¾¹ªº¨t²Î¤¤
  untar¤Î°õ¦æ¡E§A­nªÖ©w§A©Ò¤U¸üªºÀɮצ³i386³o­Ó³¡¤À¡A
  §_«h¥H¤Uªº«ü¥Ü±N¤£¯à¶¶§Q°õ¦æ¡E

  3.  ¦w¸Ë³n¥ó


  ³Ì²³æªº¤èªk´N¬O¥Î Slackware ªº¦w¸ËºÞ²z­û¨Ó¦w¸Ë RPM¡E
  

  §A¤@©w­n¥Îrootªº¨­¥÷¨Ó¦w¸Ë RPM¡E

               installpkg /home/dave/rpm-2.4.12-1.i386.tar.gz
  
  ·íµM¡A§A­n¥ÎÀɮתº¥¿½T¸ô®|¨Ó¨ú¥N/home/wolf¡E
  
  ¡£ª`·N¡I¡¤ ¦p§A¹J¦³¥ô¦ó§xÃø¡A¥i¥H¥Î¥H¤Uªº«ü¥O¡G
       
                    cd / ; tar zxvpf /home/dave/rpm-2.4.12-1.i386.tar.gz

  µM«á¡A§A­n¦b/var/lib¤§¤U«Ø¥ß¤@­Ó¥s°µ rpmªº¥Ø¿ý

  mkdir /var/lib/rpm

  ²{¦b§A¥i¥H¥´ 'rpm --initb' ¥hªì©l¤Ærpm¸ê®Æ®w¡E

  ¦pªG¤@¤Á¶¶§Qªº¸Ü¡A§A«K¦³¤@­Órpm¯à¤Oªº¨t²Î!
  §A¥i¥H§ì¨ÇrpmÀɮצ^¨Ó´ú¸Õ¤@¤U§Aªº¨t²Î¡A¥Î'rpm -Uvh filename.rpm'¦w¸Ë´N¦æ¤F¡E

  4. ­«­nªºÂÎ


  ª`·N¡A¦³´X­ÓRPMªºª©¥»¥Î¤F¿ù» Åv­­ªº tar ÀɮסC ¦b§A¦w¸Ë RPM
  ¤§«á¡A½ÐÀˬd§A©Ò¦³¥Ø¿ýªºÅv­­ (/bin,/usr, etc)¡C¦pªG©Ò¦³Åv­­³£¬O 700
  ªº¸Ü¡A§A¤w¸g¨ü¨ì³o¯äÂμvÅT¡C

  °õ¦æ³o­Ó script ´N¯à­×¥¿¥H¤Wªº¿ù»



  ______________________________________________________________________
  #!/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
  ______________________________________________________________________



  ¦p¦³¥ô¦óºÃ°ÝÅwªï¨Ó«H½ç±Ð¡C


  5. ·PÁÂ


  §Ú»{¬° Red Hat Software, Inc ©M Patrick Volkerding ªº Linux
  distribution ¬O¤@­Ó«Ü¦nªº distribution.

  ¦hÁÂ Milan Kopacka (mkop5230@ss1000.ms.mff.cuni.cz)
  ªº«ü±Ð¡A¥O§Úª¾¹D¦³§ó¦nªº¤èªk¨Ó¦w¸Ë RPM(installpkg)¡C


  6. ª©ÅvÁn©ú


  ³o½g HOWTO ªºª©Åv±q1998°_¬OÄÝ©ó Dave
  Whititnger¡A¤£¹L³o¬O¤@½g§K¶Oªº¤å³¹¡C §A¥i¥H GNU
  ªº±ø´Ú¦Û¥Ñ´²¼½©Î§ó§ï¥»¤å¥óª©¥» 2 ©Î¥H«áªºª©¥»¡C