我想在我的Ubuntu中安装它:https : //launchpad.net/ubuntu/+source/ttfautohint
但我不知道如何
我做到了sudo apt install ttfautohint,ttfautohint --version版本为0.97。
谢谢
以下是我能够做到的方法(2022 年):
给定一个启动板网址:https://launchpad.net/~fish-shell/+archive/ubuntu/release-3/+packages--在本例中,用于 Fish shell。
我可以提取两个组件:
fish-shell(前缀为~)release-3然后添加存储库的命令:
sudo add-apt-repository ppa:fish-shell/release-3。
Apt会确认,然后apt update自动运行。如果该软件包已安装但已过期,apt autoremove请清理记录并apt install获取最新版本。
如果您不知道发布渠道,或者无法从启动板 URL 中获取它,则无需执行, apt 将为您提供一些选项:
$ sudo add-apt-repository ppa:fish-shell
Cannot add PPA: 'ppa:~fish-shell/ubuntu/ppa'.
The team named '~fish-shell' has no PPA named 'ubuntu/ppa'
Please choose from the following available PPAs:
* 'beta-2': fish shell - 2.x beta series
* 'beta-3': fish shell - 3.x beta series
* 'nightly-master': fish shell - nightly build from git master
* 'release-2': fish shell - 2.x release series
* 'release-3': fish shell - 3.x release series
Run Code Online (Sandbox Code Playgroud)
如果您无法辨认出团队名称,那么当您弄错时,会是这样的:
$ sudo add-apt-repository ppa:ubuntu/fish-shell
Cannot add PPA: 'ppa:~ubuntu/ubuntu/fish-shell'.
ERROR: '~ubuntu' user or team does not exist.
Run Code Online (Sandbox Code Playgroud)
如果要升级版本,必须首先从系统中删除该软件包:
$ sudo apt-get remove ttfautohint
确保删除该包后,执行以下操作:
$ sudo add-apt-repository ppa:ubuntu/ttfautohint
它会要求您确认并验证 GPG 签名密钥。这会将所需的 ppa 添加到您的源文件中,并使其可见。然后,您必须执行以下操作:
$ sudo apt-get update
让它看到更改后的包位置。然后你可以像刚刚输入的那样使用 apt-get 安装它:
$ sudo apt-get install ttfautohint --verbose-versions
“--verbose-versions”将显示将安装的版本,您可以检查是否正在安装所需的版本。
| 归档时间: |
|
| 查看次数: |
2951 次 |
| 最近记录: |