jas*_*nes 7 software-center synaptic apt master-pdf-editor
我正在尝试从官方存储库下载 master-pdf-editor 包。所有站点都报告说这很容易:只需从 ubuntu 软件中心下载即可。我无法安装软件中心,所以我尝试通过 apt-get 或 synaptic 安装它,但是我在 repos 中找不到该软件包...
任何人都可以帮忙吗?
小智 7
软件中心中的某些软件包可能是免费的,但根据专有许可提供。出于这个原因(许可证),它们默认不包含在 Ubuntu apt 存储库中。
当您通过软件中心安装这些软件包之一时,它将在 /etc/apt/sources.list.d/ 中创建一个新的 apt 源文件。在 Master PDF Editor 的情况下,它将创建:
private-ppa.launchpad.net_commercial-ppa-uploaders_master-pdf-editor_ubuntu.list
Run Code Online (Sandbox Code Playgroud)
将该文件放入 /etc/apt/sources.list.d/ 后,您就可以使用常规的 apt/aptitude 命令来更新它。
我还想补充一点,像这样的来源通常需要身份验证。如果他们这样做,评论将被放置在源文件中,指示如下:
$ cat private-ppa.launchpad.net_commercial-ppa-uploaders_master-pdf-editor_ubuntu.list
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/master-pdf-editor/ubuntu precise main #Added by software-center; credentials stored in /etc/apt/auth.conf
Run Code Online (Sandbox Code Playgroud)
最后,您可以看到注释“存储在 /etc/apt/auth.conf 中的凭据”。该文件将存储您的密码的哈希值,如下所示:
$ sudo cat /etc/apt/auth.conf # Needs root to read the file
machine private-ppa.launchpad.net/commercial-ppa-uploaders/master-pdf-editor/ubuntu
login riskable
password someGobbldyGookHash
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
5007 次 |
最近记录: |