Score:3

What does "No apt package "yt-dlp", but there is a snap with that name" mean?

in flag

I just wanted to install yt-dlp with: sudo apt install yt-dlp. But I get this message:

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

Question What does snap mean?

Score:5
iq flag

Snap is just a software packaging and deployment system made by Canonical (Ubuntu) It is made to make it easy to install and update software on linux system

For your problem it just mean that there is no "yt-dlp" package available in the Ubuntu repositories but it also said that there is a snap package with the same name available using snap "snap install yt-dlp"

Notice that you can simply install yt-dlp with the package installer for python instead of snap with this command:

pip install yt-dlp
iBug avatar
tr flag
Note that you need `apt install python3-pip` for this, which may not come with every Ubuntu installation.
FedKad avatar
cn flag
Please look at https://stackoverflow.com/questions/29310688/sudo-pip-install-vs-pip-install-user for concerns about using `sudo` with `pip install`.
Saxtheowl avatar
iq flag
@FedericoPoloni you right, fixed it
Saxtheowl avatar
iq flag
@FedKad fixed it, and this package doesnt need sudo aniways
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.