yt-dlp command not found

In this troubleshooting guide we learn how to fix yt-dlp command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

yt-dlp: command not found

or when using sudo you get the following error message

sudo: yt-dlp: command not found

Solutions to yt-dlp: command not found

How To Fix yt-dlp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu yt-dlp is provided by yt-dlp package.

yt-dlp is:

yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. The main focus of this project is adding new features and patches while also keeping up to date with the original project.

yt-dlp is a small command-line program to download videos from YouTube.com and other sites that don’t provide direct links to the videos served.

yt-dlp allows the user, among other things, to choose a specific video quality to download (if available) or let the program automatically determine the best (or worst) quality video to grab. It supports downloading entire playlists and all videos from a given user.

Currently supported sites (or features of sites) are:

17live, 1tv, 20min, 23video, 247sports, 24video, 3qsdn, 3sat, 4tube, 56.com, 6play, 7plus, 8tracks, 91porn, 9c9media, 9gag, 9now.com.au, abc.net.au, abcnews, abcotvs, AbemaTV, AbemaTVTitle, acast, ADN, AdobeConnect, adobetv, AdultSwim, aenetworks, afreecatv, AirMozilla, AliExpressLive, AlJazeera, Allocine, AlphaPorno, Alsace20TV, Alsace20TVEmbed, Alura, AluraCourse, Amara, AmazonStore, AMCNetworks, AmericasTestKitchen, AmericasTestKitchenSeason, AmHistoryChannel, anderetijden, AnimalPlanet, AnimeLab, AnimeLabShows, AnimeOnDemand, Anvato, aol.com, APA, Aparat, AppleConnect, AppleDaily, ApplePodcasts, appletrailers, archive.org, ArcPublishing, ARD, ARDBetaMediathek, Arkena, arte.sky.it, ArteTV, ArteTVCategory, ArteTVEmbed, ArteTVPlaylist, AsianCrush, AsianCrushPlaylist, AtresPlayer, ATTTechChannel, ATVAt, AudiMedia, AudioBoom, audiomack, Audius, AWAAN, AZMedien, BaiduVideo, bandaichannel, Bandcamp, bangumi.bilibili.com, BannedVideo, bbc, bbc.co.uk, BBVTV, Beatport, Beeg, BehindKink, Bellator, BellMedia, Bet, bfmtv, BibelTV, Bigflix, Bigo, Bild, BiliBili, Bilibili category extractor, BilibiliAudio, BilibiliAudioAlbum, BilibiliChannel, BiliBiliPlayer, BiliBiliSearch, BiliIntl, BiliIntlSeries, BioBioChileTV, Biography, BIQLE, BitChute, BitChuteChannel, BlackboardCollaborate, BleacherReport, BleacherReportCMS, blogger.com, Bloomberg, BokeCC, BongaCams, BostonGlobe, Box, Bpb, BR, BravoTV, Break, BreitBart, BRMediathek, BusinessInsider, BuzzFeed, BYUtv, CableAV, Callin, Caltrans, CAM4, Camdemy, CamdemyFolder, CamModels, CamWithHer, CanalAlpha, canalc2.tv, Canalplus, Canvas, CanvasEen, CarambaTV, CarambaTVPage, CartoonNetwork, cbc.ca, CBS, CBSInteractive, CBSLocal, CBSLocalArticle, cbsnews, cbssports, CCMA, CCTV, CDA, CeskaTelevize, CGTN, channel9, CharlieRose, Chaturbate, Chilloutzone, Chingari, ChingariUser, chirbit, cielotv.it, Cinchcast, Cinemax, CiscoLiveSearch, CiscoLiveSession, ciscowebex, CJSW, cliphunter, Clippit, ClipRs, Clipsyndicate, CloserToTruth, CloudflareStream, Cloudy, Clubic, Clyp, cmt.com, CNBC, CNBCVideo, CNN, CNNArticle, CNNBlogs, ComedyCentral, ComedyCentralTV, CondeNast, CONtv, CookingChannel, Corus, Coub, CozyTV, cp24, cpac, Cracked, Crackle, CrooksAndLiars, CrowdBunker, CrowdBunkerChannel, crunchyroll, CSpan, CSpanCongress, CtsNews, CTV, CTVNews, cu.ntv.co.jp, CultureUnplugged, curiositystream, CWTV, Daftsex, DagelijkseKost, DailyMail, dailymotion, daum.net, DBTV, DctpTv, DeezerAlbum, DeezerPlaylist, defense.gouv.fr, democracynow, DestinationAmerica, DHM, Digg, DigitalConcertHall, DigitallySpeaking, Digiteka, Discovery, DiscoveryLife, DiscoveryNetworksDe, DiscoveryPlus, DiscoveryPlusIndia, DiscoveryPlusIndiaShow, DiscoveryPlusItaly, DiscoveryPlusItalyShow, Disney, DIYNetwork, DoodStream, Dotsub, Douyin, DouyuShow, DouyuTV, DPlay, DRBonanza, Drooble, Dropbox, Dropout, DropoutSeason, DrTuber, drtv, DTube, duboku, Dumpert, dvtv, dw, EaglePlatform, EbaumsWorld, EchoMsk, ehftv, eHow, EinsUndEinsTV, Einthusan, eitb.tv, EllenTube, EllenTubePlaylist, EllenTubeVideo, Elonet, ElPais, Embedly, EMPFlix, Engadget, Epicon, EpiconSeries, Eporner, EroProfile, ertflix, Escapist, ESPN, ESPNArticle, ESPNCricInfo, EsriVideo, Europa, EuropeanTour, EUScreen, EWETV, ExpoTV, Expressen, ExtremeTube, EyedoTV, facebook, FacebookPluginsVideo, faz.net, fc2, Fczenit, Filmmodu, filmon, Filmweb, FiveThirtyEight, FiveTV, Flickr, Folketinget, FoodNetwork, FootyRoom, Formula1, FOX, FOX9, FOX9News, Foxgay, foxnews, FoxSports, fptplay, FranceCulture, FranceInter, FranceTV, francetvinfo.fr, FranceTVSite, Freesound, freespeech.org, FrontendMasters, FrontendMastersCourse, FrontendMastersLesson, FujiTVFODPlus7, Funimation, Funk, Fusion, Fux, Gab, GabTV, Gaia, GameInformer, GameJolt, GameJoltCommunity, GameJoltGame, GameJoltGameSoundtrack, GameJoltSearch, GameJoltUser, GameSpot, GameStar, Gaskrank, Gazeta, GDCVault, GediDigital, gem.cbc.ca, generic, Gettr, GettrStreaming, Gfycat, GiantBomb, Giga, GlattvisionTV, Glide, Globo, GloboArticle, glomex, Go, GoDiscovery, GodTube, Gofile, Golem, GoogleDrive, GoPro, Goshgay, GoToStage, GPUTechConf, Gronkh, Groupon, hbo, HearThisAt, Heise, HellPorno, Helsinki, HentaiStigma, hetklokhuis, HGTVDe, HGTVUsa, HiDive, HistoricFilms, hitbox, HitRecord, hketv, HotNewHipHop, hotstar, Howcast, HowStuffWorks, hrfernsehen, HRTi, HRTiPlaylist, HSEProduct, HSEShow, Huajiao, HuffPost, Hungama, HungamaAlbumPlaylist, HungamaSong, Hypem, ign.com, IGNArticle, IGNVideo, IHeartRadio, imdb, Imgur, Ina, Inc, IndavideoEmbed, InfoQ, Instagram, InstagramIOS, Internazionale, InternetVideoArchive, InvestigationDiscovery, IPrima, IPrimaCNN, iq.com, iqiyi, ITTF, ITV, ITVBTCC, ivi, ivideon, Iwara, Izlesene, Jamendo, JamendoAlbum, JeuxVideo, Joj, Jove, JWPlatform, Kakao, Kaltura, Karaoketv, KarriereVideos, Katsomo, KeezMovies, KelbyOne, Ketnet, khanacademy, KickStarter, KinjaEmbed, KinoPoisk, KonserthusetPlay, Koo, KrasView, Ku6, KUSI, la7.it, laola1tv, lbry, LCI, Lcp, LcpPlay, Le, Lecture2Go, Lecturio, LecturioCourse, LecturioDeCourse, LEGO, Lemonde, Lenta, LePlaylist, LetvCloud, Libsyn, life, limelight, LineLive, LineLiveChannel, LinkedIn, LinuxAcademy, LiTV, LiveJournal, livestream, Lnk, LnkGo, loc, LocalNews8, LoveHomePorn, lrt.lt, lynda, m6, MagentaMusik360, mailru, MainStreaming, MallTV, ManotoTV, ManotoTVLive, ManotoTVShow, ManyVids, MaoriTV, Markiza, MarkizaPage, massengeschmack.tv, MatchTV, MDR, MedalTV, media.ccc.de, Mediaite, MediaKlikk, Medialaan, Mediaset, MediasetShow, Mediasite, MediasiteCatalog, MediasiteNamedCatalog, Medici, megaphone.fm, megatvcom, Meipai, MelonVOD, META, metacafe, Metacritic, mewatch, Mgoon, MGTV, MiaoPai, microsoftstream, mildom, minds, MinistryGrid, Minoto, miomio.tv, mirrativ, MiTele, mixch, mixcloud, MLB, MLBVideo, MLSSoccer, Mnet, MNetTV, MoeVideo, Mofosex, MofosexEmbed, Mojvideo, Morningstar, Motherless, MotherlessGroup, Motorsport, MovieClips, MovieFap, Moviezine, MovingImage, MSN, mtg, mtv, mtv.de, mtv.it, mtvjapan, MTVUutisetArticle, MuenchenTV, Murrtube, MurrtubeUser, MuseScore, MusicdexAlbum, MusicdexArtist, MusicdexPlaylist, MusicdexSong, mva, Mwave, MwaveMeetGreet, Mxplayer, MxplayerShow, MyChannels, MySpace, MySpass, Myvi, MyVideoGe, MyVidster, MyviEmbed, MyVisionTV, n-tv.de, N1InfoAsset, Nate, NateProgram, NationalGeographicTV, Naver, NBA, NBAChannel, NBAEmbed, NBAWatchEmbed, NBC, NBCNews, nbcolympics, NBCSports, NBCSportsStream, NBCSportsVPlayer, ndr, NDTV, Nebula, NerdCubedFeed, NetPlus, Netzkino, Newgrounds, Newstube, Newsy, NextMedia, NextMediaActionNews, NextTV, Nexx, NexxEmbed, NFB, NFHSNetwork, nfl.com, NhkForSchoolBangumi, NhkForSchoolProgramList, NhkForSchoolSubject, NhkVod, NhkVodProgram, nhl.com, nick.com, nick.de, nickelodeonru, nicknight, niconico, NiconicoUser, Nintendo, Nitter, njoy, NJPWWorld, NobelPrize, NonkTube, NoodleMagazine, Noovo, Normalboots, NosVideo, Nova, NovaEmbed, NovaPlay, nowness, Noz, npo, Npr, NRK, NRKPlaylist, NRKRadioPodkast, NRKSkole, NRKTV, NRKTVDirekte, NRKTVEpisode, NRKTVEpisodes, NRKTVSeason, NRKTVSeries, NRLTV, ntv.ru, Nuvid, NYTimes, NYTimesArticle, NYTimesCooking, nzherald, NZZ, ocw.mit.edu, OdaTV, Odnoklassniki, OktoberfestTV, OlympicsReplay, on24, OnDemandKorea, OneFootball, onet.pl, onet.tv, OnetMVP, OnionStudios, Ooyala, OoyalaExternal, Opencast, OpencastPlaylist, openrec, OraTV, OsnatelTV, OutsideTV, PacktPub, PacktPubCourse, pandora.tv, ParamountNetwork, ParamountPlus, ParamountPlusSeries, parliamentlive.tv, Parlview, Patreon, PatreonUser, pbs, PearVideo, PeekVids, peer.tv, PeerTube, peloton, People, PerformGroup, periscope, PhilharmonieDeParis, phoenix.de, Photobucket, Piapro, Picarto, PicartoVod, Piksel, Pinkbike, Pinterest, PinterestCollection, Pladform, PlanetMarathi, Platzi, PlatziCourse, play.fm, player.sky.it, PlayPlusTV, PlayStuff, PlaysTV, Playtvak, Playvid, PlayVids, Playwire, pluralsight, PlutoTV, podomatic, Pokemon, PokemonWatch, PokerGo, PokerGoCollection, PolsatGo, PolskieRadio, PolskieRadioCategory, Popcorntimes, PopcornTV, PornCom, PornerBros, Pornez, PornFlip, PornHd, PornHub, PornHubPagedVideoList, PornHubPlaylist, PornHubUser, PornHubUserVideosUpload, Pornotube, PornoVoisines, PornoXO, PornTube, PressTV, ProjectVeritas, prosiebensat1, PRXAccount, PRXSeries, PRXStory, puhutv, Puls4, Pyvideo, qqmusic, QuantumTV, Qub, Quickline, QuicklineLive, R7, R7Article, Radiko, RadikoRadio, radio.de, radiobremen, radiocanada, radiofrance, RadioJavan, radiokapital, RadioZetPodcast, radlive, Rai, RaiPlay, RaiPlayLive, RaiPlayPlaylist, RaiPlaySound, RaiPlaySoundLive, RaiPlaySoundPlaylist, RayWenderlich, RayWenderlichCourse, RBMARadio, RCS, RCSEmbeds, RCSVarious, RCTIPlus, RCTIPlusSeries, RCTIPlusTV, RDS, RedBull, RedBullEmbed, RedBullTV, RedBullTVRrnContent, Reddit, RedGifs, RedGifsSearch, RedGifsUser, RedTube, RegioTV, RENTV, RENTVArticle, Restudy, Reuters, ReverbNation, RICE, RMCDecouverte, RockstarGames, Rokfin, RoosterTeeth, RoosterTeethSeries, RottenTomatoes, Rozhlas, RTBF, RTDocumentry, RTDocumentryPlaylist, rte, rtl.nl, rtl2, RTNews, RTP, RTRFM, RTS, RTVNH, RTVS, RUHD, Rule34Video, RumbleChannel, RumbleEmbed, Ruptly, rutube, RUTV, Ruutu, Ruv, safari, Saitosan, SAKTV, SaltTV, SampleFocus, Sapo, savefrom.net, SBS, schooltv, ScienceChannel, Screencast, ScreencastOMatic, ScrippsNetworks, SCTE, SCTECourse, Seeker, SenateGov, SenateISVP, SendtoNews, Servus, Sexu, SeznamZpravy, SeznamZpravyArticle, Shahid, ShahidShow, Shared, ShemarooMe, ShowRoomLive, simplecast, Sina, Skeb, sky.it, skyacademy.it, SkylineWebcams, SkyNewsAU, Slideshare, SlidesLive, Slutload, Snotr, Sohu, SonyLIV, SonyLIVSeries, soundcloud, SoundcloudEmbed, soundgasm, southpark.cc.com, southpark.de, southpark.nl, southparkstudios.dk, SovietsCloset, SovietsClosetPlaylist, SpankBang, SpankBangPlaylist, Spankwire, Spiegel, Sport5, SportBox, SportDeutschland, spotify, Spreaker, SpreakerPage, SpreakerShow, SpreakerShowPage, SpringboardPlatform, Sprout, SRGSSR, SRGSSRPlay, stanfordoc, startv, Steam, Stitcher, StitcherShow, StoryFire, StoryFireSeries, StoryFireUser, Streamable, Streamanity, streamcloud.eu, StreamCZ, StreamFF, StreetVoice, StretchInternet, Stripchat, SunPorno, SVT, SVTPage, SVTPlay, SVTSeries, SWRMediathek, Syfy, SztvHu, t-online.de, Tagesschau, Tass, TBS, TDSLifeway, Teachable, TeachableCourse, teachertube, TeachingChannel, Teamcoco, TeamTreeHouse, TechTalks, techtv.mit.edu, TedEmbed, TedPlaylist, TedSeries, TedTalk, Tele13, Tele5, TeleBruxelles, Telecinco, Telegraaf, TeleMB, Telemundo, TeleQuebec, TeleQuebecEmission, TeleQuebecLive, TeleQuebecSquat, TeleQuebecVideo, TeleTask, Telewebion, TennisTV, TenPlay, TF1, TFO, TheIntercept, ThePlatform, ThePlatformFeed, TheStar, TheSun, ThetaStream, ThetaVideo, TheWeatherChannel, ThisAmericanLife, ThisAV, ThisOldHouse, ThreeSpeak, ThreeSpeakUser, TikTok, tinypic, TLC, TMZ, TNAFlix, TNAFlixNetworkEmbed, toggle, toggo, Tokentube, ToonGoggles, tou.tv, Toypics, ToypicsUser, TrailerAddict, TravelChannel, Trilulilu, Trovo, TrovoChannelClip, TrovoChannelVod, TrovoVod, TrueID, TruNews, TruTV, Tube8, TubiTv, TubiTvShow, Tumblr, TunePk, Turbo, tv.dfb.de, TV2, TV2Article, TV2DK, TV2DKBornholmPlay, tv2play.hu, tv2playseries.hu, TV4, TV5MondePlus, tv5unis, tv8.it, TVA, TVANouvelles, TVANouvellesArticle, TVC, TVCArticle, TVer, tvigle, tvland.com, TVN24, TVNet, TVNoe, TVNow, TVNowAnnual, TVNowFilm, TVNowNew, TVNowSeason, TVNowShow, tvp, TVPlayer, TVPlayHome, Tweakers, TwitCasting, TwitCastingLive, TwitCastingUser, TwitchCollection, TwitchVideos, TwitchVideosClips, TwitchVideosCollections, twitter, udemy, UDNEmbed, UFCArabia, UFCTV, ukcolumn, UKTVPlay, Unistra, Unity, uol.com.br, uplynk, Urort, URPlay, USANetwork, USAToday, ustream, ustudio, Utreon, Varzesh3, Vbox7, VeeHD, Veo, Veoh, Vesti, Vevo, VevoPlaylist, VGTV, vh1.com, Viafree, vice, Vidbit, Viddler, Videa, video.arnes.si, video.sky.it, VideocampusSachsen, VideocampusSachsenEmbed, VideoDetective, videofy.me, videomore, VideoPress, Vidio, VidioLive, VidioPremier, VidLii, vier, viewlift, Viidea, viki, vimeo, Vimple, Vine, Viqeo, Viu, Vivo, vk, vlive, vm.tiktok, Vodlocker, VODPl, VODPlatform, VoiceRepublic, voicy, Voot, VootSeries, VoxMedia, VoxMediaVolume, vpro, Vrak, VRT, VrtNU, vrv, VShare, VTM, VTXTV, VuClip, Vupload, VVVVID, VVVVIDShow, VyboryMos, Vzaar, Wakanim, Walla, WalyTV, washingtonpost, wat.tv, WatchBox, WatchIndianPorn, WDR, WDRElefant, WDRPage, Webcaster, WebcasterFeed, WebOfStories, WebOfStoriesPlaylist, Weibo, WeiboMobile, WeiqiTV, whowatch, Willow, WimTV, Wistia, WistiaPlaylist, wnl, WorldStarHipHop, wppilot, WSJ, WSJArticle, WWE, XBef, XboxClips, XFileShare, XHamster, XHamsterEmbed, XHamsterUser, ximalaya, xinpianchang, XMinus, XNXX, Xstream, XTube, XTubeUser, Xuite, XVideos, XXXYMovies, Yahoo, YandexDisk, YandexVideo, YandexVideoPreview, YapFiles, YesJapan, Ynet, YouJizz, youku, YouNowChannel, YouNowLive, YouNowMoment, YouPorn, YourPorn, YourUpload, youtube, YoutubeLivestreamEmbed, YoutubeYtBe, Zapiks, Zattoo, ZattooLive, ZDF, ZDFChannel, Zee5, ZenYandex, ZenYandexChannel, Zhihu, zingmp3, zoom, Zype,

To fix this problem, we can install more using the command below.

sudo apt-get -y install yt-dlp

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install yt-dlp.

sudo apt -y install yt-dlp

Or if you have aptitude installed you can use the following command.

sudo aptitude install yt-dlp

Summary

In this tutorial we learn how to fix yt-dlp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.