ubuntu安装ppa

PPAs, or “Personal Package Archives”, offer software that isn’t available in Ubuntu’s software repositories. Some PPAs offer newer versions of software packages that hasn’t made it to Ubuntu’s repositories yet. Installing software from a PPA is easier than compiling the software from its source code, so it’s good to know how to do it.

PPA或“个人软件包档案”提供的软件在Ubuntu的软件存储库中不可用。 一些PPA提供了较新版本的软件包,但尚未发布到Ubuntu的存储库中。 从PPA安装软件比从其源代码编译软件容易,因此最好知道如何做。

PPA,解释 (PPAs, Explained)

Ubuntu hosts its own package repositories, which it enables by default. When you open the Ubuntu Software Center or run the apt command to install software, Ubuntu downloads and installs packages from the official package repositories.

Ubuntu托管自己的软件包存储库,默认情况下会启用它。 当您打开Ubuntu软件中心或运行apt命令以安装软件时,Ubuntu将从官方软件包存储库中下载并安装软件包。

But the official package repositories aren’t always good enough. In some cases, you may want a software package that isn’t available in the official package repositories. Or, you may want a newer version of software than the one offered in the official package repositories.

但是官方软件包存储库并不总是足够好。 在某些情况下,您可能需要一个官方软件包存储库中不提供的软件包。 或者,您可能需要比官方软件包系统信息库中提供的软件更高的软件版本。

Rather than compiling and installing the software yourself, you can instead add a PPA to your system and install it from there, just like you would any other Ubuntu app.

您无需像自己编译和安装软件那样,而是可以将PPA添加到系统中并从那里安装它,就像安装其他Ubuntu应用程序一样。

Personal Package Archives are so-named because they’re created by individuals—or teams—and hosted on Ubuntu’s Launchpad service. These packages are not officially supported, endorsed, or even checked by Ubuntu. You should be careful to only install Linux packages and other software from sources you trust.

之所以这么称呼“个人软件包存档”是因为它们是由个人(或团队)创建的,并托管在Ubuntu的Launchpad服务上。 这些软件包并未得到Ubuntu的正式支持,认可或检查。 您应该注意仅从您信任的来源安装Linux软件包和其他软件。

Once you’ve added a PPA to your system, the packages available in it can be accessed like any other available software. You can install them using the Ubuntu Software Center or apt command, for example. Updated packages from the PPA will be offered as normal software updates.

将PPA添加到系统后,可以像访问其他任何可用软件一样访问其中的可用软件包。 例如,您可以使用Ubuntu软件中心或apt命令安装它们。 从PPA更新的软件包将作为常规软件更新提供。

如何使用Ubuntu的图形工具添加PPA (How to Add a PPA With Ubuntu’s Graphical Tools)

To add a PPA, you’ll first need to find the name of the PPA. You may find this while searching the web for how to install a particular software package on Ubuntu. Once you have it, you can continue.

要添加PPA,首先需要找到PPA的名称。 您可能会在网上搜索如何在Ubuntu上安装特定软件包时找到此文件。 一旦有了它,就可以继续。

Open Ubuntu’s Dash, search for “Software & Updates”, and launch the “Software & Updates” tool.

打开Ubuntu的Dash,搜索“软件和更新”,然后启动“软件和更新”工具。

Click the “Other Software” tab at the top of the Software & Updates window and click the “Add” button.

单击“软件和更新”窗口顶部的“其他软件”选项卡,然后单击“添加”按钮。

Enter the address of the PPA in the form:

以以下格式输入PPA的地址:

ppa:NAME/ppa

For example, if we want to add the Graphics Drivers team PPA that provides the latest NVIDIA graphics drivers, we’d enter the following line:

例如,如果我们要添加提供最新的NVIDIA图形驱动程序的图形驱动程序团队PPA ,我们将输入以下行:

ppa:graphics-drivers/ppa

Click the “Add Source” button to continue.

单击“添加源”按钮继续。

Click the “Close” button in the Software & Sources window. Ubuntu will say it needs to download information about the new software in the PPA. Click “Reload” and Ubuntu will download the latest package lists.

单击“软件和源代码”窗口中的“关闭”按钮。 Ubuntu将表示需要在PPA中下载有关新软件的信息。 单击“重新加载”,Ubuntu将下载最新的软件包列表。

The Software & Sources window will close. To install software from the PPA, you can now use the Ubuntu Software application or any other tool.

“软件和源”窗口将关闭。 要从PPA安装软件,您现在可以使用Ubuntu软件应用程序或任何其他工具。

Just launch your tool of choice, search for the name of the package, and install it. If the PPA contains updated versions of software already on your system, just install the software updates normally to get the PPA’s version.

只需启动您选择的工具,搜索软件包的名称,然后安装它即可。 如果PPA包含系统中已经存在的软件的更新版本,则只需正常安装软件更新即可获取PPA的版本。

While the Ubuntu Software application doesn’t provide much advanced information, the classic Synaptic tool does. Synaptic is no longer included with Ubuntu, so you must install it separately if you want to use it. You’ll find it in the Ubuntu Software application. You can also run the sudo apt install synaptic command in a terminal window to install it.

尽管Ubuntu软件应用程序没有提供很多高级信息,但是经典的Synaptic工具却提供了信息。 Synaptic不再包含在Ubuntu中,因此,如果要使用它,则必须单独安装。 您可以在Ubuntu软件应用程序中找到它。 您也可以在终端窗口中运行sudo apt install synaptic命令进行安装。

Click the “Origin” tab in synaptic and you’ll see the PPAs you’ve added listed here. Click the name of a PPA to see the software available from that PPA and view which packages you’ve installed from the PPA.

单击突触中的“来源”标签,您将在此处看到已添加的PPA。 单击PPA的名称以查看该PPA可用的软件,并查看您已从PPA安装了哪些软件包。

如何从命令行添加PPA (How to Add a PPA from the Command Line)

You can also add PPAs and install software from them from the terminal using the following commands. You’ll need to prefix all the commands with sudo to run them with root permissions.

您还可以使用以下命令从终端上添加PPA并从中安装PPA。 您需要在所有命令前面加上sudo才能以root权限运行它们。

To add a PPA, run the following command in a terminal, replacing “name” with the name of the PPA:

要添加PPA,请在终端中运行以下命令,将“ name”替换为PPA的名称:

sudo add-apt-repository ppa:name/ppa

So, if we wanted to add the Graphics Team PPA, we’d run the following command:

因此,如果要添加图形团队PPA,则需要运行以下命令:

sudo add-apt-repository ppa:graphics-drivers/ppa

Press “Enter” again to add the PPA when prompted.

出现提示时,再次按“ Enter”以添加PPA。

To download updated information about available packages after adding a PPA, run the following command:

要在添加PPA之后下载有关可用软件包的更新信息,请运行以下命令:

sudo apt update

To install a package from the PPA, run the following command:

要从PPA安装软件包,请运行以下命令:

sudo apt install name-of-package

If you’re not sure of the name of the package, look at the PPA’s description page on the Launchpad website. For example, to install the NVIDIA graphics driver version 375 from the Graphics Team PPA, we’d run the following command:

如果不确定软件包的名称,请查看Launchpad网站上PPA的描述页面。 例如,要从Graphics Team PPA安装NVIDIA图形驱动程序375版,我们将运行以下命令:

sudo apt install nvidia-375

Type “y” and press Enter to continue when prompted.

键入“ y”,然后在出现提示时按Enter继续。

Or, if you wanted to update your system to the latest available packages—including newer versions from any PPAs you’ve added—run the following command:

或者,如果要将系统更新为最新的可用软件包(包括已添加的任何PPA的较新版本),请运行以下命令:

sudo apt upgrade

Type “y” and press Enter to continue when prompted.

键入“ y”,然后在出现提示时按Enter继续。

Update your system in the future and you’ll get the latest software from both Ubuntu’s official software repositories and any PPAs you’ve added.

将来更新系统时,您将从Ubuntu的官方软件存储库和您添加的所有PPA中获得最新的软件。

翻译自: https://www.howtogeek.com/285042/how-to-install-software-from-third-party-ppas-in-ubuntu/

ubuntu安装ppa

ubuntu安装ppa_如何在Ubuntu中从第三方PPA安装软件相关推荐

  1. Ubuntu 中如何使用 PPA 安装应用程序

    文章目录 什么是 PPA 为什么要使用 PPA 如何使用 PPA?PPA 是怎样工作的? 为什么使用 PPA?为何不用 DEB 包 官方 PPA vs 非官方 PPA 软件仓库和包管理的概念 确保你的 ...

  2. ubuntu 安装yum_如何在 Linux 中安装微软的 .NET Core SDK | Linux 中国

    本分步操作指南文章解释了如何在 Linux 中安装 .NET Core SDK 以及如何使用 .NET 开发出第一个应用程序.-- Sk致谢译自 | ostechnix.com 作者 | Sk译者 | ...

  3. linux mint 安装内核,如何在Ubuntu, Linux Mint中安装Linux Kernel 4.18

    Linus Torvalds终于在12日下午宣布发布Linux Kernel 4.18. 他在lkml.org写道: 这是一个非常平静的一周,可以说我上周可以按时发布,但我们确实有一些小的更新. 主要 ...

  4. linux邮箱客户端安装指令,如何在Ubuntu 18.04中安装邮件客户端Geary 0.12.2

    Geary电子邮件客户端今天早些时候达到了0.12.2错误修复版本.以下是如何在Ubuntu 18.04,Ubuntu 16.04,Ubuntu 17.10中安装它. Geary是一个Gnome电子邮 ...

  5. linux cad 安装教程,如何在Ubuntu 18.04/16.04/Linux中安装FreeCAD 0.18

    FreeCAD,免费和开源3D参数化建模器,最近发布了0.18版,支持Python 3和Qt 5. 以下是如何在Ubuntu 16.04,Ubuntu 18.04和Ubuntu 19.04中安装它. ...

  6. debian安装kali_如何在Ubuntu,Debian,Kali,Mint中启动,停止和启用,禁用Iptables或Ufw...

    debian安装kali Ubuntu is popular Linux distribution used in different enterprise or personal IT enviro ...

  7. ubuntu使用fail2ban_如何在Ubuntu 20.04上安装和配置Fail2ban

    暴露给Internet的任何服务都有遭受恶意软件攻击的风险. 例如,如果您在可公开访问的网络上运行服务,则攻击者可以使用暴力手段尝试登录您的帐户. Fail2ban是一种工具,可通过监视服务日志中的恶 ...

  8. ubuntu19 安装git_如何在Ubuntu 20.04上安装Git

    Git是世界上最受欢迎的分布式版本控制系统,被许多开源和商业项目使用.它使您可以与其他开发人员在项目上进行协作,跟踪代码更改,还原到上一阶段,创建分支等. Git最初是由Linux内核的创建者Linu ...

  9. ubuntu memcached php,如何在 Ubuntu 18.04 上安装 Memcached

    Memcached 是一个免费的开源高性能内存中键值数据存储. 它最常用于通过从数据库调用的结果缓存各种对象来加速应用程序. 在本教程中,我们将介绍在 Ubuntu 18.04 上安装和配置最新版 M ...

最新文章

  1. QT报错“qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method”
  2. LeetCode 709 To Lower Case -- java,python解法
  3. python买什么书好-python看什么书好
  4. java要从数据查出五百多万条数据_100w条数据 | 插入Mysql你要用多长时间?
  5. 如何用C#对Gridview的项目进行汇总统计?
  6. ORACLE PL/SQL编程之八: 把触发器说透 |来自cnblogs的EricHu|
  7. [INet] WebSocket 数据收发的详细过程
  8. SQL Server2012新特性
  9. 绘画和照片编辑:Artstudio Pro for mac
  10. android Rect
  11. unity3d的Animation 动画播放器的基本API
  12. Android 9 红米4x,红米4X lineage16 安卓9.0 极致省电 纯净 完美root Xposed 经典版
  13. 测试-------性能测试(一)
  14. kali系统破解WiFi密码(二)
  15. 一文详尽解释CatBoost
  16. 系统安全漏洞及解决方案
  17. Easyconnect For Mac 最新版 下载地址
  18. PulseSensor开发文档(二)动态阈值算法获取心率值
  19. 自动驾驶入门技术(3) —— 毫米波雷达
  20. Windows系统中Redis 下载安装

热门文章

  1. cpu使用率低负载高
  2. pspad右键菜单失效的问题
  3. ScriptManager控件的使用
  4. 利息理论习题课1答案
  5. 面对复杂的项目环境,如何制定项目管理计划?
  6. 屏蔽“是否停止运行此脚本”窗口
  7. 图形 2.1 色彩空间介绍
  8. JetBrains IntelliJ IDEA 2022 for Mac(最好用的Java开发工具)
  9. Automation 360 新版AA
  10. 8小时饮食法,以及8小时饮食法改良版