×ðÁú¿­Ê±¹ÙÍøµÇ¼

LinuxÖÐRPMÎļþÒ»Ñùƽ³£´æ·ÅÔÚÄĸöĿ¼Ï£¿

ÎÊÌ⣺LinuxÖÐRPMÎļþÒ»Ñùƽ³£´æ·ÅÔÚÄĸöĿ¼Ï£¿

ÔÚLinuxϵͳÖУ¬RPM£¨Red Hat Package Manager£©ÊÇÒ»ÖÖ³£¼ûµÄÈí¼þ°ü¹ÜÀí¹¤¾ß£¬ÓÃÓÚ×°Öá¢Éý¼¶¡¢Ð¶ÔغÍÅÌÎÊÈí¼þ°ü¡£RPMÎļþͨ³£ÒÔ.rpmΪÀ©Õ¹Ãû£¬´æ´¢ÔÚϵͳÌض¨µÄĿ¼Ï¡£

ÔÚ´ó´ó¶¼Linux¿¯ÐаæÖУ¬RPMÎļþͨ³£´æ·ÅÔÚ/var/lib/rpmĿ¼Ï¡£Õâ¸öĿ¼°üÀ¨ÁËÓëRPMÏà¹ØµÄÊý¾Ý¿âºÍÔªÊý¾ÝÎļþ¡£ÏÂÃ潫ͨ¹ýÏêϸµÄ´úÂëʾÀýչʾRPMÎļþ´æ·ÅµÄλÖÃÒÔ¼°ÔõÑù»á¼ûÕâЩÎļþ¡£

Ê×ÏÈ£¬·­¿ªÖն˲¢ÊäÈëÒÔÏÂÏÂÁîÀÍÆÈ´»ÖÁ/var/lib/rpmĿ¼£º

cd /var/lib/rpm

µÇ¼ºó¸´ÖÆ

È»ºó£¬Ê¹ÓÃlsÏÂÁîÁгö¸ÃĿ¼ÏµÄÎļþÁбí£¬ÈçÏÂËùʾ£º

ls

µÇ¼ºó¸´ÖÆ

ÔÚÕâ¸öĿ¼Ï£¬Äú½«¿´µ½Ò»Ð©ÒÔ.rpmΪÀ©Õ¹ÃûµÄÎļþ£¬ÕâЩÎļþ¾ÍÊÇϵͳÖÐ×°ÖõÄÈí¼þ°üµÄRPMÎļþ¡£Äú¿ÉÒÔʹÓÃrpmÏÂÁîÀ´Éó²éij¸öÌض¨µÄRPMÎļþµÄÏêϸÐÅÏ¢£¬ÀýÈ磺

rpm -qpi package.rpm

µÇ¼ºó¸´ÖÆ

ÆäÖУ¬package.rpmÊÇÄúÒªÉó²éµÄRPMÎļþµÄÃû³Æ¡£

ÁíÍ⣬Äú»¹¿ÉÒÔʹÓÃrpmÏÂÁîÀ´×°ÖÃÒ»¸öRPMÎļþ£¬ÀýÈ磺

rpm -ivh package.rpm

µÇ¼ºó¸´ÖÆ

×¢ÖØ£ºÔÚ²Ù×÷ϵͳÉÏ×°ÖûòжÔØÈí¼þ°üʱ£¬ÇëÈ·±£ÄúÓÐÏìÓ¦µÄȨÏÞ£¬²¢Ð¡ÐIJÙ×÷ÒÔ×èÖ¹Ëð»µÏµÍ³¡£

×ÜÖ®£¬RPMÎļþÒ»Ñùƽ³£´æ·ÅÔÚ/var/lib/rpmĿ¼Ï£¬Í¨¹ýʹÓÃÏÂÁîÐй¤¾ß¿ÉÒÔÇáËÉ»á¼ûºÍÖÎÀíÕâЩÎļþ¡£Ï£ÍûÕâƪÎÄÕ¶ÔÄúÃ÷È·LinuxϵͳÖÐRPMÎļþµÄ´æ·ÅλÖÃÓÐËù×ÊÖú¡£

ÒÔÉϾÍÊÇLinuxÖÐRPMÎļþÒ»Ñùƽ³£´æ·ÅÔÚÄĸöĿ¼Ï£¿µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ