linuxÔõôÌí¼Ó¸üÐÂÔ´
Ìí¼Ó°ì·¨£º1¡¢·¿ªÖն˴°¿Ú£»2¡¢Ê¹ÓÃÎı¾±à¼Æ÷£¨Èçvi»ònano£©·¿ª/etc/apt/sources.listÎļþ£¬Ê¹Óá°sudo vi /etc/apt/sources.list¡±ÏÂÁî·¿ª¸ÃÎļþ£¬²¢Ìí¼ÓеĸüÐÂÔ´£»3¡¢ÉúÑIJ¢¹Ø±ÕÎļþ£»4¡¢ÔÚÖն˴°¿ÚÖÐʹÓá°sudo apt-get update¡±ÏÂÁî¸üиüÐÂÔ´ÁÐ±í¼´¿ÉÌí¼ÓеĸüÐÂÔ´¡£
ÒªÌí¼Ó¸üÐÂÔ´£¬Äú¿ÉÒÔƾ֤ÒÔÏ°취²Ù×÷£º
·¿ªÖն˴°¿Ú¡£
ʹÓÃÎı¾±à¼Æ÷£¨Èçvi»ònano£©·¿ª/etc/apt/sources.listÎļþ¡£Äú¿ÉÒÔʹÓÃÒÔÏÂÏÂÁîÀ´·¿ª¸ÃÎļþ£º
sudo vi /etc/apt/sources.list
µÇ¼ºó¸´ÖÆ
ÔÚ·¿ªµÄÎļþÖУ¬Äú¿ÉÒÔÌí¼ÓеĸüÐÂÔ´¡£Ã¿¸ö¸üÐÂÔ´Ó¦¸ÃÕ¼ÓÐÒ»ÐУ¬²¢ÇÒÓ¦¸ÃÒÔ”deb”»ò”deb-src”¿ªÍ·£¬ºóÃæËæןüÐÂÔ´µÄURL¡£ÀýÈ磺
deb http://archive.ubuntu.com/ubuntu xenial main restricted deb-src http://archive.ubuntu.com/ubuntu xenial main restricted
µÇ¼ºó¸´ÖÆ
ÉúÑIJ¢¹Ø±ÕÎļþ¡£
ÔÚÖն˴°¿ÚÖÐʹÓÃÒÔÏÂÏÂÁîÀ´¸üÐÂÄúµÄ¸üÐÂÔ´ÁÐ±í£º
sudo apt-get update
µÇ¼ºó¸´ÖÆ
ÕâÑù¾ÍÌí¼ÓÁËеĸüÐÂÔ´£¬²¢ÇÒÄú¿ÉÒÔʹÓÃapt-getÏÂÁîÀ´×°Öûò¸üÐÂÈí¼þ°ü¡£
ÒÔÉϾÍÊÇlinuxÔõôÌí¼Ó¸üÐÂÔ´µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡