ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Debian

Why so serious?²»Õý¾­µÄÖØаü×°deb

·¢²¼Ê±¼ä:2008-10-09 00:10:56À´Ô´:ºìÁª×÷Õß:yanliae
ÒªºÃºÃµÄ°ü¸öDebian packageÆäʵÊÇÒ»¼þ´ó¹¤³Ì£¬³ýÁË×¢ÒâÊÂÏîÄÜ»ãÕû³É²áÖ®Í⣬ÈçºÎºÃºÃÉ趨packageµÄÏàÒÀÐÔºÍ˵Ã÷Îļþ¸üÊÇÒ»¸ö²»Ð¡µÄÌôÕ½¡£ËùÒÔ£¬Ò»¸ö°üµÃ²î¾¢µÄDebian package£¬ºÜÓпÉÄÜÔì³Éϵͳ´óÂÒ£¬ÉõÖÁÈÃϵͳ³ÐÊܲ»±ØÒªµÄ¶îÍ⸺µ££¬Õâ¾ÍÊÇΪʲôDebian MaintainerÃÇ»áÈç´ËÊÜÈ˾´ÖصÄÔ­Òò¡£

²»¹ýÓеÄʱºò£¬ÎÒÃDz¢Ã»ÓÐҪά»¤Ò»¸öproject £¬Ò²Ã»ÓÐÒªÉÏ´«Ò»¸öpackageµ½ÑÏËàµÄDebian official repos£¬Ö»ÊÇ´¿´âÏë¶ñ¸ã»òÊÇ̰ͼ·½±ã¶ø°üÒ»¸ö×ÔÓõÄdeb¡£ÎÒÃÇÒ²Ðí²»Óá¢Ò²²»Ïë¹ËÂÇÌ«¶àϸ½Ú£¬ÒòΪ¿ÉÄÜÖ»ÊǼòµ¥µÄ½«ÏÖÓеÄpackage²ð¿ª£¬¼ÓÈ뼸¸ö×Ô¶¨µÄµµ°¸ÔÙ°ü»ØÈ¥¡£ÕâÑùµÄÐèÇ󣬴óÖÂÉÏ¿ÉÒÔÕâÑù×ö£º

#½¨Á¢Ò»¸öÐÂ×ÊÁϼÐ
mkdir mydeb
#½â¿ªpackageµÄDEBIAN¿ØÖÆÎļþµ½ÐÂ×ÊÁϼеÄDEBIAN
dpkg-deb -e mydeb.deb mydeb/DEBIAN
#½â¿ªpackageµÄµµ°¸µ½ÐÂ×ÊÁϼÐ
dpkg-deb -x mydev.deb mydeb
#´¦Àí»ò¶ñ¸ãÍê³ÉÒÔºóÔٴΰü×°ÆðÀ´
dpkg-deb -b mydeb mydeb_new.deb

ÕâÑùÐ޸ĺͰü×°deb·Ç³£µÄ²»Õý¹æ£¬Æ·ÖÊÉÏÒ²²»ºÏ¸ñ£¬²»¹ý¼ÈÈ»°ü³öÀ´µÄpackageÖ»ÊÇ×Ô¼ºË½ÏÂÓÃÓã¬Why so serious?
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ