linuxϵͳÏÂrpm°üµÄ°²×°¡¢É¾³ý¡¢Ð§Ñé¡¢²éѯ
µãÆÀ£º°²×°Èí¼þ°ü rpm -i °üÈ«Ãû ɾ³ý rpm -e name(²»ÊÇ°üÃû) ²ÎÊý -ivh »ñµÃÒ»¸öÏêϸµÄ°²×°½ø³Ì --nodeps ºöÂÔÒÀÀµ¹Øϵ --force Ç¿ÖÆ°²×° -U °üÃû:Éý¼¶°²×° -F ¸üв»¹ÜÊÇʲôֱ½Ó¸²¸Ç --replacepkgsÕâÑù RPM ½«ºöÂԸôíÎóÐÅÏ¢ -vih --repla
ÄÚÈÝÀ´×Ô: ½Å±¾Ö®¼Ò www.jb51.net
°²×°Èí¼þ°ü
rpm -i °üÈ«Ãû
ɾ³ý
rpm -e name(²»ÊÇ°üÃû)
²ÎÊý
-ivh »ñµÃÒ»¸öÏêϸµÄ°²×°½ø³Ì
--nodeps ºöÂÔÒÀÀµ¹Øϵ
--force Ç¿ÖÆ°²×°
-U °üÃû:Éý¼¶°²×°
-F ¸üв»¹ÜÊÇʲôֱ½Ó¸²¸Ç
--replacepkgsÕâÑù RPM ½«ºöÂԸôíÎóÐÅÏ¢ -vih --replacepkgs
-q name :²éѯ
-qa²éѯËùÓÐÒÑ°²×°µÄRPM
-qi name ²éѯÕâ¸öÈí¼þÏêϸÐÅÏ¢
-ql ÏÔʾÁбí
-qf path :²éѯһ¸öÎļþÊôÓÚÄĸö°ü
-qp °üÃû :²éÎļþÊÇʲô
-qpl °üÃû :Õë¶ÔÒ»¸öûװ¹ýµÄ°ü
rpm -qc ÅäÖÃÎļþ
ЧÑé rpm -Va
rpm -Vf /bin/ls
rpm -Vp °üÃû
5 -- MD5 УÑéºÍ
S -- Îļþ³¤¶È
L -- ·ûºÅÁ´½Ó
T -- ÎļþÐÞ¸ÄÈÕÆÚ
D -- É豸
U -- Óû§
G -- Óû§×é
M -- ģʽ (°üº¬Ðí¿ÉºÍÎļþÀàÐÍ)
? -- ²»¿É¶ÁÎļþ
Ïêϸ¿Î³Ì
ʹÓà RPM
RPM ÓÐÎå¸ö»ù±¾µÄ²Ù×÷ ģʽ(²»°üÀ¨°üµÄ±àÒë): °²×°£¬Ð¶ÔØ£¬Éý¼¶£¬²éѯ£¬Ð£Ñé¡£±¾½Ú½«¶ÔËüÃÇÒ»Ò»½éÉÜ¡£ÒªÁ˽âÍêÕûµÄϸ½ÚºÍÑ¡Ï¿ÉÒÔʹÓà rpm --help, »òתµ½ the section called ÆäËü RPM ×ÊÔ´ µÃµ½¸ü¶à¹ØÓÚ RPM µÄÐÅÏ¢¡£
1 °²×°
µäÐ굀 RPM ÓÐ×ÅÀàËÆ foo-1.0-1.i386.rpmÕâÑùµÄÃû³Æ, ÆäÖÐÖ¸Ã÷ÁË°üÃû (foo), °æ±¾ºÅ (1.0), ·¢ÐкŠ(1), ºÍÓ²¼þƽ̨ (i386)¡£°²×°Ò»¸öÈí¼þ°üÖ»Ðè¼òµ¥µÄ¼üÈëÒÔÏÂÃüÁî:
# rpm -ivh foo-1.0-1.i386.rpm
foo ####################################
#
ÕýÈçÄúËù¿´µ½µÄ, RPM ½«»á´òÓ¡³öÈí¼þ°üµÄÃû×Ö ( ²¢²»Ò»¶¨ÒªÓëÎļþÃûÏàͬ, ¿ÉÄÜÊÇ 1.rpm), ¶
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
LinuxµÄÒ»¸öÎüÒýÈ˵ÄÌØÐÔ¾ÍÊÇÓû§¿ÉÒÔ×ÔÐж¨ÖÆÕû¸öϵͳ£¬Äã¿ÉÊÇÔËÐÐÒ»¸öÖ»ÓÐ1MµÄ“ÃÔÄã”Linux£¬Ò²¿ÉÒÔÔËÐÐÒ»¸ö¼¸GµÄÇ¿´óLinux¡£¶øÎÞÂÛÄãÔËÐÐÔõÑùµÄLinux£¬Ä㶼ÊÇÏÈ´ÓÒýµ¼³ÌÐò¿ªÊ¼ÔËÐеġ£¶ÔÓÚÆÕͨÓû§£¬´ó¶à¶¼ÊÇÔÚ¸öÈ˵çÄÔÉÏÔËÐÐLinuxµÄ¡£
¡¡¡¡¸öÈ˵çÄÔ£¬ÓÖ½ÐPC»ú£¬ÊÇÎÒÃdz£¼ûµÄʹÓÃIntel»òAMDµÄоƬµÄµç ......
תÀ´µÄ£¬Ã»Ê¿ÉÒÔ¿´¿´
bin = BINaries
/dev = DEVices
/etc = ETCetera
/lib = LIBrary
/proc = PROCesses
/sbin = Superuser BINaries
/tmp = TeMPorary
/usr = Unix Shared Resources
/var = VARiable ?
FIFO = First In, First Out
GRUB = GRand Unified Bootloader
IFS = Internal Field Seperators
LILO ......
Æߣºkmem_cache_free£¨£©µÄʵÏÖ
kmem_cache_freeÓÃÓÚ°Ñ´ÓslabÖзÖÅäµÄ¶ÔÏóÊͷŵô£¬Í¬·ÖÅäÒ»Ñù£¬ËüÊ×ÏÈ»á°ÑËü·Åµ½ACÖУ¬Èç¹ûACÂúÁË£¬Ôò°Ñ¶ÔÏóÊͷŵ½shareÁ´ÖУ¬Èç¹ûshareÒ²ÂúÁË£¬Ò²¾Í°ÑËüÊÍ·ÅÖÁslab¡£À´¿´¾ßÌåµÄ´úÂ룺
void kmem_cache_free (kmem_cache_t *cachep, void *objp)
{
unsi ......
#include <stdio.h>
#include <unistd.h>
#define FOO "foo"
int main(void)
{
if(!access(FOO, F_OK))
{
if(!unlink(FOO))
{
}
else
{
printf("remove %s failed\n", FOO);
}
}
else
{
printf("%s not existed\ ......