Skip to content
← Back to Community
Command not found
Profile icon
gmcoder

I'm new to bash. Every time i run the script it says command not found for youtube-dl. Please help

Answered by Wumi4 [earned 5 cycles]
View Answer
Voters
Profile icon
mohsen2
Profile icon
IsmailMostafa2
Profile icon
quanvndev
Profile icon
enzobaccin
Profile icon
gmcoder
Comments
hotnewtop
Profile icon
gmcoder

I have seen people using it here

Profile icon
Wumi4

@gmcoder You will need to install it first. youtube-dl is not a avaliable command in Bash. Commands that doesn't already avaliable in Bash ( or any other shell ) is a part of package. Use install-pkg youtube-dl on your Repl Terminal to install it, then try again.

FYI, package is like a pack of 1 or more commands that do specfic things, some special one ( like linux-firmware ) doesn't come with any commands because it is a part of Linux system. To install them, you need a package manager, it is a thing to help you install packages and do more with them. If you are using Linux, your system should come with at least one package manager. Use them are fairly easy.

Profile icon
SUHASTADIPARTH1

That's because, I don't think a command like that is on bash.

These are a list of bash commands on linux
Commands

Profile icon
StudioHawaii

ok

Profile icon
RYANTADIPARTHI

I don't think that's available on bash. They are probably linux commands. But not available on repl.it either. Try using another site. Or if you want the command give it to the feedback.

Profile icon
wertiop1

LinuxOS uses bash as its shell fairly sure that if you can use it on a linux terminal than you can run it on bash script. It also happens that repl ommits a lot of bash commands (Sudo, wget, etc.)