ubuntu 使用ppa_使用PPA升级到您喜欢的Ubuntu软件的最新版本

ubuntu 使用ppa_使用PPA升级到您喜欢的Ubuntu软件的最新版本

ubuntu 使用ppa

Ubuntu gets its stability from heavily testing new versions of software. However, if you want to risk some instability and try out the latest versions of your favourite programs, we’ll show you how!

Ubuntu通过大量测试软件的新版本而获得了稳定性。 但是,如果您想冒险一些不稳定因素并尝试使用自己喜欢的程序的最新版本,我们将向您展示如何!

ubuntu 使用ppa_使用PPA升级到您喜欢的Ubuntu软件的最新版本

Using these newer packages requires using software sources outside from the normal Ubuntu repositories. Fortunately, there are hundreds, and adding them to Ubuntu is extremely easy!

使用这些较新的软件包需要使用普通Ubuntu存储库之外的软件资源。 幸运的是,有数百个,将它们添加到Ubuntu非常简单!

These other software sources are called Personal Package Archives (PPAs). In most cases, searching for the software you want to upgrade and the word “ppa” will get you to a page that tells you the name of the PPA and some extra details. All that you really need is the name of the PPA.

这些其他软件源称为“个人包装档案”(PPA)。 在大多数情况下,搜索要升级的软件和“ ppa”一词将使您进入一个页面,该页面告诉您PPA的名称和一些其他详细信息。 您真正需要的只是PPA的名称。

In our example, we’re going to use the PPA for daily builds of Mozilla Firefox. The PPA name is ppa:ubuntu-mozilla-daily/ppa.

在我们的示例中,我们将使用PPA进行Mozilla Firefox的日常构建。 PPA名称为ppa:ubuntu-mozilla-daily / ppa

Note: The method described below is only valid for Ubuntu 9.10 and above. For earlier versions of Ubuntu, use our earlier guide for adding extra repositories.

注意:以下描述的方法仅对Ubuntu 9.10及更高版本有效。 对于较早版本的Ubuntu,请使用我们较早的指南来添加额外的存储库

Just for reference, before we add the PPA, with the latest updates our version of Firefox is 3.6.10.

仅供参考,在添加PPA之前,使用最新更新的Firefox版本是3.6.10。

ubuntu 使用ppa_使用PPA升级到您喜欢的Ubuntu软件的最新版本

Open a terminal window (either Applications > Accessories > Terminal or Ctrl+Alt+T) and enter the following line

打开一个终端窗口(“应用程序”>“附件”>“终端”或Ctrl + Alt + T),然后输入以下行

sudo add-apt-repository <name of PPA>

sudo add-apt-repository <name of PPA>

which, in our case, is

就我们而言,这是

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa

ubuntu 使用ppa_使用PPA升级到您喜欢的Ubuntu软件的最新版本

Now, when we open the Update Manager (System > Administration > Update Manager) and click on Check, we get updates for Firefox.

现在,当我们打开更新管理器(“系统”>“管理”>“更新管理器”)并单击“检查”时,我们将获取Firefox的更新。

ubuntu 使用ppa_使用PPA升级到您喜欢的Ubuntu软件的最新版本

Installing those updates gives us the latest version of Firefox!

安装这些更新将为我们提供最新版本的Firefox!

ubuntu 使用ppa_使用PPA升级到您喜欢的Ubuntu软件的最新版本

This PPA also happens to include other packages, including the Firefox 4.0 beta. With a quick sudo apt-get install firefox-4.0 we can now try out the latest beta version of Firefox.

该PPA也恰好包括其他软件包,包括Firefox 4.0 beta。 通过快速sudo apt-get install firefox-4.0我们现在可以试用最新的Firefox beta版本。

ubuntu 使用ppa_使用PPA升级到您喜欢的Ubuntu软件的最新版本

PPAs are a great way to selectively choose which software you want to risk updating to the latest version. What PPAs do you use? Let us know in the comments!

PPA是一种有选择地选择要冒险更新到最新版本的软件的好方法。 您使用什么PPA? 让我们在评论中知道!

翻译自: https://www.howtogeek.com/howto/29427/upgrade-to-the-latest-versions-of-your-favorite-ubuntu-software-with-ppas/

ubuntu 使用ppa