-- 吴鲁加<[EMAIL PROTECTED]>
<!-- retain these comments for translator revision tracking --> <!-- original version: 11648 -->
<sect2 id="configure-apt"> <title>??疆 APT</title> <para> <!-- The main means that people use to install packages on their system is via a program called <command>apt-get</command>, from the <classname>apt</classname> package.<footnote> --> 浜轰滑瀹??涓昏????涓€涓??<command>apt-get</command>???搴??瀹?????杞?欢锛?璇ヨ蒋浠跺??????classname>apt</classname> 涓?€?footnote> <para> <!-- Note that the actual program that installs packages is called <command>dpkg</command>. However, this package is more of a low-level tool. <command>apt-get</command> will invoke <command>dpkg</command> as appropriate; it is a higher-level too, however, because it knows to install other packages which are required for the package you're trying to install, as well as how to retrieve the package from your CD, the network, or wherever. --> 浜??涓??姝g?瀹??绋????command>dpkg</command>锛?浣??涓?蒋浠舵?涓€涓?ow-level??伐?枫€?<command>apt-get</command>?ㄨ?琛??绋?腑璋??浜?command>dpkg</command>锛??ㄥ?瑁??绋?腑?藉?瑙e????渚?????锛?骞朵??藉?璁惧?瀹??婧???ヨ?CD???缁???跺??版?锛????浣跨?璧锋?姣???逛究?? </para> </footnote> <!-- APT must be configured, however, so that it knows where to retrieve packages from. The helper application which assists in this task is called <command>apt-setup</command>. --> 浣??椤婚?缃????PT锛?浣垮????璇ヤ?????峰?杞?欢??€????涓?府?╀?瀹??杩??宸ヤ????搴??<command>apt-setup</command>??</para><para> <!-- The next step in your configuration process is to tell APT where other Debian packages can be found. Note that you can re-run this tool at any point after installation by running <command>apt-setup</command>, or by manually editing <filename>/etc/apt/sources.list</filename>. --> ?跺?璇ュ?璇?PT?跺?杞?欢???浠ュ?浠€涔???硅???€?浣??浠ュ?瀹??瀹????换浣??????拌?琛?command>apt-setup</command>杩????疆锛???€??宸ョ?杈?filename>/etc/apt/sources.list</filename>杩??璋???? </para><para> <!-- If you are booting from an official CD-ROM, then that CD-ROM should automatically be configured as an apt source without prompting. You will notice this because you will see the CD-ROM being scanned, and then asked if you want to configure another CD-ROM. If you have a multiple CD-ROM set ????and most people will ????then you should go ahead and scan each of them one by one. --> 濡??浣?????瀹???????D-ROM杩??寮?????锛??d?浣??CD-ROM浼???ュ???pt婧?腑锛?浣??浠ュ??扮郴缁??????????? 骞朵????瀹?????璇㈤??????疆?跺?CD-ROM??濡??浣??杞戒?瀹????ebian?????? ?d?浣??浠ユ?椤哄????锛?璁╃?搴??琛????苟???apt婧?腑?? </para><para> <!-- For users without an official CD-ROM, you will be offered an array of choices for how Debian packages are accessed: FTP, HTTP, CD-ROM, or a local file system. For CD-ROM users, you can get to this step by specifically asking to add another source. --> 瀵逛??d?娌℃?瀹?????CD-ROM??娇?ㄨ€?? ???涓?€?」浼??浣?€??杞?欢???锛??????TP, HTTP, CD-ROM??€???版?浠剁郴缁?€?瀵逛?CD-ROM浣跨??????互???娣诲??跺?apt婧?€?」?ュ????浜?蒋浠跺?婧?€? </para><para> <!-- You should know that it's perfectly acceptable to have a number of different APT sources, even for the same Debian archive. <command>apt-get</command> will automatically pick the package with the highest version number given all the available versions. Or, for instance, if you have both an HTTP and a CD-ROM APT source, <command>apt-get</command> should automatically use the local CD-ROM when possible, and only resort to HTTP if a newer version is available there. However, it is not a good idea to add unnecessary APT sources, since this will tend to slow down the process of checking the network archives for new versions. --> 浣??浠ユ坊???涓?????APT婧???????涓€涓?ebian archive?????互)锛?<command>apt-get</command>浼???ㄦ?????€??蒋浠跺?涓???€?扮???€?濡??浣???舵?HTTP??D-ROM???锛?<command>apt-get</command>浼????????????????TTP婧?? 娌℃??扮?????????D-ROM锛?浠ュ?蹇???伴€?害???界?APT??父?鸿?锛?浣???朵?寤鸿?浣?????蹇????PT婧?? ??负妫€?ユ????缁?腑??????锛??澶уぇ???浣????骇??害?? </para> <sect3 id="configure-apt-net"> <title>??疆缃??杞?欢????版?婧?/title> <para> <!-- If you plan on installing the rest of your system via the network, the most common option is to select the <userinput>http</userinput> source. The <userinput>ftp</userinput> source is also acceptable, but tends to be a little slower making connections. --> 濡??浣????€??缃??瀹???跺???蒋浠跺?锛???父??互???涓€涓??蹇??<userinput>http</userinput>婧?? 褰??锛?<userinput>ftp</userinput>婧?????浠ョ?锛?????ㄨ??ユ?浼?????浜?€? </para><para> <!-- The next step during the configuration of network packages sources is to tell <command>apt-setup</command> which country you live in. This configures which of the official Debian Internet mirror network you connect to. Depending on which country you select, you will be given a list of possible machines. Its generally fine to pick the one on the top of the list, but any of them should work. --> ?ヤ??ヤ??€瑕??璇?command>apt-setup</command>浣??娲诲???釜?藉?锛?Debian浼?负浣?€???€杩?????缃?????规?浣?€?????瀹讹? 浼???轰?浜???界?????ㄥ?琛?? ??父????€涓?????涓?? 浣??????″??芥?姝e父?????€? </para><para> <!-- If you are installing via HTTP, you will be asked to configure your proxy server. This is sometimes required by people behind firewalls, on corporate networks, etc. --> 濡??浣?????HTTP杩??瀹????? 绋??浼??绀轰???疆浠g?????ㄣ€????浣???ㄩ??????????涓€涓?????瀛??????讹? ????€瑕??琛??缃???芥?甯歌??ャ€? </para><para> <!-- Finally, your new network package source will be tested. If all goes well, you will be prompted whether you want to do it all over again with another network source. --> ?€??? 绯荤?浼??璇?????apt婧?? 涓€???甯哥?璇?? 浣?氨??互??疆涓??涓?pt婧??缁х画瀹??浜?€? </para> </sect3> </sect2>