我只想用:sudo apt install yt-dlp
安装yt。但我得到了这样的信息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
No apt package "yt-dlp", but there is a snap with that name.
Try "snap install yt-dlp"
E: Unable to locate package yt-dlp
问snap
是什么意思?
发布于 2023-03-10 21:59:52
Snap仅仅是一个由Canonical (Ubuntu)开发的软件打包和部署系统,它的目的是为了便于在linux系统上安装和更新软件。
对于您的问题,这只是意味着在Ubuntu存储库中没有"yt-dlp“包,但它还说,使用snap "snap yt-dlp”可以使用同名的快速程序包。
请注意,您可以简单地使用python的包安装程序安装yt,而不是使用以下命令进行snap:
pip install yt-dlp
https://askubuntu.com/questions/1458730
复制相似问题