| Server IP : 185.11.201.71 / Your IP : 192.168.7.18 Web Server : Apache/2.4.29 (Ubuntu) System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : tech ( 1000) PHP Version : 7.4.28 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/help/zh_CN/gnome-help/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="addremove-sources" xml:lang="zh-CN">
<info>
<credit type="author">
<name>Ubuntu 文档团队</name>
</credit>
<desc>
Add repositories to extend the software sources Ubuntu uses for
installation and upgrades.
</desc>
<include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
<link type="guide" xref="addremove"/>
<revision version="18.04" date="2018-03-18" status="review"/>
</info>
<title>添加软件源</title>
<p>软件可从第三方来源以及默认 Ubuntu 软件库获得。如果您想要安装来自第三方软件库的软件,您必须将其添加到 Ubuntu 的可用软件仓库列表。</p>
<note style="warning">
<p>请务必确保您添加的软件源的安全性。</p>
<p>第三方软件库未经过 Ubuntu 开发者检查安全性和可靠性,可能包含对您的计算机有害的软件。</p>
</note>
<p>
</p>
<p>添加一个源:</p>
<steps>
<item>
<p>
Click the <app>Ubuntu Software</app> icon in the <gui>Dock</gui>, or search
for <input>Software</input> in the <em>Activities</em> search bar.
</p>
</item>
<item>
<p>
When <app>Ubuntu Software</app> launches, click <gui>Software & Updates</gui>
</p>
</item>
<item>
<p>您会被要求输入密码。输完密码后,转到<gui>其他软件</gui>标签页。</p>
</item>
<item>
<p>单击<gui>添加</gui>,然后输入软件仓库的 APT 行。该行应可从软件库的网站获得,看起来类似于:</p>
<p>
<code its:translate="no">deb http://archive.ubuntu.com/ubuntu/ bionic main</code>
</p>
</item>
<item>
<p>
Click <gui>Add Source</gui> then close the <app>Software & Updates</app> window.
<app>Ubuntu Software</app> will then check your software sources for new
updates.
</p>
</item>
<item>
<p>
Most repositories provide a signing key to be able to verify downloaded packages.
So in addition to the steps above, you should follow possible instructions on how to
download and install the signing key (GPG key).
</p>
</item>
</steps>
<section id="canonical-partner">
<title>激活 Canonical 合作伙伴软件仓库</title>
<p>
The Canonical Partner repository offers some proprietary applications
that don't cost any money to use but are closed source. They include
software like <app>Adobe Flash Plugin</app>. Software in this
repository will appear in <app>Ubuntu Software</app> search results
but won't be installable until this repository is enabled.
</p>
<p>要启用该库,请遵照上述步骤打开在<app>软件和更新 </app>中的<gui>其他软件</gui>标签页。如果您在列表中看到<gui>Canonical 合作伙伴</gui>仓库,请确保将其选中,然后关闭 <app>软件和更新</app> 窗口。如果没有看到该库,单击<gui>添加</gui>,然后输入:</p>
<p>
<code its:translate="no">deb http://archive.canonical.com/ubuntu bionic partner</code>
</p>
<p>
Click <gui>Add Source</gui> then close the <app>Software & Updates</app> window. Wait a
moment for <app>Ubuntu Software</app> to download the repository information.
</p>
</section>
</page>