How To Install yt-dlp on Debian 12

Learn how to install yt-dlp on Debian 12 with this tutorial. yt-dlp is downloader of videos from YouTube and other sites

Introduction

In this tutorial we learn how to install yt-dlp on Debian 12.

What is yt-dlp

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, 1News, 1tv, 20min, 23video, 247sports, 24tv.ua, 24video, 3qsdn, 3sat, 4tube, 56.com, 6play, 7plus, 8tracks, 91porn, 9c9media, 9gag, 9now.com.au, abc.net.au, abcnews, abcotvs, AbemaTV, AbemaTVTitle, acast, AcFunBangumi, AcFunVideo, ADN, AdobeConnect, adobetv, AdultSwim, aenetworks, AeonCo, afreecatv, AirMozilla, AirTV, AitubeKZVideo, AliExpressLive, AlJazeera, Allocine, AlphaPorno, Alsace20TV, Alsace20TVEmbed, Alura, AluraCourse, Amara, AmazonMiniTV, AmazonReviews, AmazonStore, AMCNetworks, AmericasTestKitchen, AmericasTestKitchenSeason, AmHistoryChannel, AnchorFMEpisode, anderetijden, Angel, AnimalPlanet, 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, AtScaleConfEvent, ATTTechChannel, ATVAt, AudiMedia, AudioBoom, audiomack, Audius, AWAAN, AZMedien, BaiduVideo, BanBye, BanByeChannel, bandaichannel, Bandcamp, BannedVideo, bbc, bbc.co.uk, BBVTV, BBVTVLive, BBVTVRecordings, BeatBumpPlaylist, BeatBumpVideo, Beatport, Beeg, BehindKink, Bellator, BellMedia, BerufeTV, Bet, bfmtv, BibelTV, Bigflix, Bigo, Bild, BiliBili, Bilibili category extractor, BilibiliAudio, BilibiliAudioAlbum, BiliBiliBangumi, BiliBiliBangumiMedia, BiliBiliPlayer, BiliBiliSearch, BilibiliSpaceAudio, BilibiliSpacePlaylist, BilibiliSpaceVideo, BiliIntl, BiliLive, BioBioChileTV, Biography, BIQLE, BitChute, BitChuteChannel, BlackboardCollaborate, BleacherReport, BleacherReportCMS, blerp, blogger.com, Bloomberg, BokeCC, BongaCams, BooyahClips, BostonGlobe, Box, BoxCastVideo, Bpb, BR, BravoTV, Break, BreitBart, BRMediathek, Bundesliga, BusinessInsider, BuzzFeed, BYUtv, CableAV, Callin, Caltrans, CAM4, Camdemy, CamdemyFolder, CamModels, Camsoda, CamtasiaEmbed, CamWithHer, CanalAlpha, canalc2.tv, Canalplus, Canvas, CanvasEen, CarambaTV, CarambaTVPage, CartoonNetwork, cbc.ca, CBS, CBSInteractive, CBSLocal, CBSLocalArticle, cbsnews, cbssports, CCMA, CCTV, CDA, Cellebrite, CeskaTelevize, CGTN, channel9, CharlieRose, Chaturbate, Chilloutzone, Chingari, ChingariUser, chirbit, cielotv.it, Cinchcast, Cinemax, CinetecaMilano, CiscoLiveSearch, CiscoLiveSession, ciscowebex, CJSW, cliphunter, Clippit, ClipRs, Clipsyndicate, ClipYouEmbed, CloserToTruth, CloudflareStream, Cloudy, Clubic, Clyp, cmt.com, CNBC, CNBCVideo, CNN, CNNArticle, CNNBlogs, CNNIndonesia, ComedyCentral, ComedyCentralTV, CondeNast, CONtv, CookingChannel, Corus, Coub, CozyTV, cp24, cpac, Cracked, Crackle, Craftsy, CrooksAndLiars, CrowdBunker, CrowdBunkerChannel, crunchyroll, CSpan, CSpanCongress, CtsNews, CTV, CTVNews, cu.ntv.co.jp, CultureUnplugged, curiositystream, CWTV, Cybrary, CybraryCourse, Daftsex, DagelijkseKost, DailyMail, dailymotion, DailyWire, DailyWirePodcast, daum.net, DBTV, DctpTv, DeezerAlbum, DeezerPlaylist, defense.gouv.fr, democracynow, DestinationAmerica, DetikEmbed, DeuxM, DeuxMNews, DHM, Digg, DigitalConcertHall, DigitallySpeaking, Digiteka, Discovery, DiscoveryLife, DiscoveryNetworksDe, DiscoveryPlus, DiscoveryPlusIndia, DiscoveryPlusIndiaShow, DiscoveryPlusItaly, DiscoveryPlusItalyShow, Disney, DIYNetwork, Dotsub, Douyin, DouyuShow, DouyuTV, DPlay, DRBonanza, Drooble, Dropbox, Dropout, DropoutSeason, DrTuber, drtv, DTube, duboku, Dumpert, dvtv, dw, EaglePlatform, EbaumsWorld, Ebay, EchoMsk, ehftv, eHow, EinsUndEinsTV, EinsUndEinsTVLive, EinsUndEinsTVRecordings, Einthusan, eitb.tv, EllenTube, EllenTubePlaylist, EllenTubeVideo, Elonet, ElPais, Embedly, EMPFlix, Engadget, Epicon, EpiconSeries, Epoch, Eporner, EroProfile, ertflix, Escapist, ESPN, ESPNArticle, ESPNCricInfo, EsriVideo, Europa, EuroParlWebstream, EuropeanTour, Eurosport, EUScreen, EWETV, EWETVLive, EWETVRecordings, ExpoTV, Expressen, ExtremeTube, EyedoTV, facebook, FacebookPluginsVideo, faz.net, fc2, Fczenit, Fifa, Filmmodu, filmon, Filmweb, FiveThirtyEight, FiveTV, Flickr, Folketinget, FoodNetwork, FootyRoom, Formula1, FOX, FOX9, FOX9News, Foxgay, foxnews, FoxNewsVideo, FoxSports, fptplay, FranceCulture, FranceInter, FranceTV, francetvinfo.fr, FranceTVSite, Freesound, freespeech.org, FreeTvMovies, FrontendMasters, FrontendMastersCourse, FrontendMastersLesson, FujiTVFODPlus7, Funimation, Funk, Fusion, Fux, FuyinTV, Gab, GabTV, Gaia, GameInformer, GameJolt, GameJoltCommunity, GameJoltGame, GameJoltGameSoundtrack, GameJoltSearch, GameJoltUser, GameSpot, GameStar, Gaskrank, Gazeta, GDCVault, GediDigital, gem.cbc.ca, generic, Genius, GeniusLyrics, Gettr, GettrStreaming, Gfycat, GiantBomb, Giga, GlattvisionTV, GlattvisionTVLive, GlattvisionTVRecordings, Glide, Globo, GloboArticle, glomex, Go, GoDiscovery, GodTube, Gofile, Golem, GoogleDrive, GoPlay, GoPro, Goshgay, GoToStage, GPUTechConf, Gronkh, Groupon, Harpodeon, hbo, HearThisAt, Heise, HellPorno, Helsinki, HentaiStigma, hetklokhuis, HGTVDe, HGTVUsa, HiDive, HistoricFilms, hitbox, HitRecord, hketv, Holodex, HotNewHipHop, hotstar, Howcast, HowStuffWorks, hrfernsehen, HRTi, HRTiPlaylist, HSEProduct, HSEShow, html5, Huajiao, HuffPost, Hungama, HungamaAlbumPlaylist, HungamaSong, Hypem, Hytale, Icareus, IflixSeries, ign.com, IGNArticle, IGNVideo, IHeartRadio, Iltalehti, imdb, Imgur, Ina, Inc, IndavideoEmbed, InfoQ, Instagram, InstagramIOS, Internazionale, InternetVideoArchive, InvestigationDiscovery, IPrima, IPrimaCNN, iq.com, iqiyi, IslamChannel, IslamChannelSeries, IsraelNationalNews, ITProTV, ITProTVCourse, ITTF, ITV, ITVBTCC, ivi, ivideon, IVXPlayer, Iwara, Ixigua, Izlesene, Jable, JablePlaylist, Jamendo, JamendoAlbum, JeuxVideo, Joj, Jove, JWPlatform, Kakao, Kaltura, Kanal2, KankaNews, Karaoketv, KarriereVideos, Katsomo, KeezMovies, KelbyOne, Ketnet, khanacademy, Kick, Kicker, KickStarter, KickVOD, KinjaEmbed, KinoPoisk, Kommunetv, KompasVideo, KonserthusetPlay, Koo, KrasView, KTH, Ku6, KUSI, la7.it, laola1tv, LastFM, LastFMPlaylist, LastFMUser, lbry, LCI, Lcp, LcpPlay, Le, Lecture2Go, Lecturio, LecturioCourse, LecturioDeCourse, LeFigaroVideoEmbed, LeFigaroVideoSection, LEGO, Lemonde, Lenta, LePlaylist, LetvCloud, Libsyn, life, likee, limelight, LineLive, LineLiveChannel, LinkedIn, LinuxAcademy, Liputan6, ListenNotes, LiTV, LiveJournal, livestream, Livestreamfails, Lnk, LnkGo, loc, LocalNews8, LoveHomePorn, LRTStream, LRTVOD, Lumni, lynda, m6, MagentaMusik360, mailru, MainStreaming, MallTV, MangoTV, ManotoTV, ManotoTVLive, ManotoTVShow, ManyVids, MaoriTV, Markiza, MarkizaPage, massengeschmack.tv, Masters, MatchTV, MDR, MedalTV, media.ccc.de, Mediaite, MediaKlikk, Medialaan, Mediaset, MediasetShow, Mediasite, MediasiteCatalog, MediasiteNamedCatalog, MediaStream, MediaWorksNZVOD, Medici, megaphone.fm, megatvcom, Meipai, MelonVOD, META, metacafe, Metacritic, mewatch, Mgoon, MiaoPai, MicrosoftEmbed, microsoftstream, mildom, minds, MinistryGrid, Minoto, miomio.tv, mirrativ, MirrorCoUK, MiTele, mixch, mixcloud, MLB, MLBArticle, MLBTV, MLBVideo, MLSSoccer, Mnet, MNetTV, MNetTVLive, MNetTVRecordings, MochaVideo, MoeVideo, Mofosex, MofosexEmbed, Mojvideo, MonsterSirenHypergryphMusic, Morningstar, Motherless, MotherlessGroup, Motorsport, MotorTrend, MotorTrendOnDemand, MovieClips, MovieFap, Moviepilot, MoviewPlay, 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, n-tv.de, N1InfoAsset, Nate, NateProgram, NationalGeographicTV, Naver, navernow, NBA, NBAChannel, NBAEmbed, NBAWatchEmbed, NBC, NBCNews, nbcolympics, NBCSports, NBCSportsStream, NBCSportsVPlayer, NBCStations, ndr, NDTV, Nebula, NerdCubedFeed, NetPlusTV, NetPlusTVLive, NetPlusTVRecordings, Netverse, NetversePlaylist, NetverseSearch, Netzkino, Newgrounds, NewsPicks, 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, NoicePodcast, NonkTube, NoodleMagazine, Noovo, Normalboots, NOSNLArticle, 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, NZOnScreen, NZZ, ocw.mit.edu, OdaTV, Odnoklassniki, OfTV, OfTVPlaylist, OktoberfestTV, OlympicsReplay, on24, OnDemandChinaEpisode, OnDemandKorea, OneFootball, OnePlacePodcast, onet.pl, onet.tv, OnetMVP, OnionStudios, Ooyala, OoyalaExternal, Opencast, OpencastPlaylist, openrec, OraTV, OsnatelTV, OsnatelTVLive, OsnatelTVRecordings, OutsideTV, PacktPub, PacktPubCourse, pandora.tv, Panopto, PanoptoList, PanoptoPlaylist, ParamountNetwork, ParamountPlus, ParamountPlusSeries, Parler, parliamentlive.tv, Parlview, Patreon, PatreonCampaign, 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, PlaySuisse, Playtvak, Playvid, PlayVids, Playwire, pluralsight, PlutoTV, PodbayFM, PodbayFMChannel, Podchaser, podomatic, Pokemon, PokemonWatch, PokerGo, PokerGoCollection, PolsatGo, PolskieRadio, Popcorntimes, PopcornTV, PornCom, PornerBros, Pornez, PornFlip, PornHd, PornHub, PornHubPagedVideoList, PornHubPlaylist, PornHubUser, PornHubUserVideosUpload, Pornotube, PornoVoisines, PornoXO, PornTop, PornTube, Pr0gramm, Pr0grammStatic, PrankCast, PremiershipRugby, PressTV, ProjectVeritas, prosiebensat1, PRXAccount, PRXSeries, PRXStory, puhutv, Puls4, Pyvideo, QingTing, qqmusic, QuantumTV, QuantumTVLive, QuantumTVRecordings, Qub, R7, R7Article, Radiko, RadikoRadio, radio.de, radiobremen, radiocanada, radiofrance, RadioJavan, radiokapital, RadioZetPodcast, radlive, Rai, RaiNews, RaiPlay, RaiPlayLive, RaiPlayPlaylist, RaiPlaySound, RaiPlaySoundLive, RaiPlaySoundPlaylist, RaiSudtirol, RayWenderlich, RayWenderlichCourse, RbgTum, RbgTumCourse, 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, RozhlasVltava, RTBF, RTDocumentry, RTDocumentryPlaylist, rte, rtl.nl, rtl2, RTLLuLive, RTLLuRadio, RTNews, RTP, RTRFM, RTS, RTVNH, RTVS, rtvslo.si, RUHD, Rule34Video, Rumble, RumbleChannel, RumbleEmbed, Ruptly, rutube, RUTV, Ruutu, Ruv, safari, Saitosan, SAKTV, SAKTVLive, SAKTVRecordings, SaltTV, SaltTVLive, SaltTVRecordings, SampleFocus, Sangiin, Sapo, savefrom.net, SBS, schooltv, ScienceChannel, Screen9, Screencast, Screencastify, ScreencastOMatic, ScrippsNetworks, Scrolller, SCTE, SCTECourse, Seeker, SenateGov, SenateISVP, SendtoNews, Servus, Sexu, SeznamZpravy, SeznamZpravyArticle, Shahid, ShahidShow, Shared, ShareVideosEmbed, ShemarooMe, ShowRoomLive, ShugiinItvLive, ShugiinItvLiveRoom, ShugiinItvVod, SibnetEmbed, simplecast, Sina, Skeb, sky.it, SkylineWebcams, SkyNewsAU, Slideshare, SlidesLive, Slutload, Smotrim, Snotr, Sohu, SonyLIV, SonyLIVSeries, soundcloud, SoundcloudEmbed, soundgasm, southpark.cc.com, southpark.de, southpark.lat, southpark.nl, southparkstudios.dk, SovietsCloset, SovietsClosetPlaylist, SpankBang, SpankBangPlaylist, Spankwire, Spiegel, Sport5, SportBox, SportDeutschland, spotify, Spreaker, SpreakerPage, SpreakerShow, SpreakerShowPage, SpringboardPlatform, Sprout, SRGSSR, SRGSSRPlay, stanfordoc, StarTrek, startv, Steam, SteamCommunityBroadcast, Stitcher, StitcherShow, StoryFire, StoryFireSeries, StoryFireUser, Streamable, Streamanity, streamcloud.eu, StreamCZ, StreamFF, StreetVoice, StretchInternet, Stripchat, Substack, SunPorno, SVT, SVTPage, SVTPlay, SVTSeries, SwearnetEpisode, SWRMediathek, Syfy, SYVDK, 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, TelecaribePlay, Telecinco, Telegraaf, TeleMB, Telemundo, TeleQuebec, TeleQuebecEmission, TeleQuebecLive, TeleQuebecSquat, TeleQuebecVideo, TeleTask, Telewebion, Tempo, TennisTV, TenPlay, TF1, TFO, TheHoleTv, TheIntercept, ThePlatform, ThePlatformFeed, TheStar, TheSun, ThetaStream, ThetaVideo, TheWeatherChannel, ThisAmericanLife, ThisAV, ThisOldHouse, ThisVid, ThisVidMember, ThisVidPlaylist, ThreeSpeak, ThreeSpeakUser, TikTok, tinypic, TLC, TMZ, TNAFlix, TNAFlixNetworkEmbed, toggle, toggo, Tokentube, ToonGoggles, tou.tv, Toypics, ToypicsUser, TrailerAddict, TravelChannel, Triller, TrillerUser, Trilulilu, Trovo, TrovoChannelClip, TrovoChannelVod, TrovoVod, TrtCocukVideo, TrueID, TruNews, Truth, TruTV, Tube8, TubeTuGraz, TubeTuGrazSeries, TubiTv, TubiTvShow, Tumblr, TuneInPodcast, TuneInPodcastEpisode, TuneInStation, 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, TVIPlayer, tvland.com, TVN24, TVNet, TVNoe, TVNow, TVNowAnnual, TVNowFilm, TVNowNew, TVNowSeason, TVNowShow, tvp, TVPlayer, TVPlayHome, Tweakers, TwitCasting, TwitCastingLive, TwitCastingUser, TwitchCollection, TwitchVideos, TwitchVideosClips, TwitchVideosCollections, twitter, Txxx, udemy, UDNEmbed, UFCArabia, UFCTV, ukcolumn, UKTVPlay, Unistra, Unity, UnscriptedNewsVideo, 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, VideoDetective, videofy.me, VideoKen, VideoKenCategory, VideoKenPlayer, VideoKenPlaylist, VideoKenTopic, videomore, VideoPress, Vidio, VidioLive, VidioPremier, VidLii, viewlift, Viidea, viki, vimeo, ViMP, Vimple, Vine, Viqeo, Viu, ViuOTTIndonesia, Vivo, vk, vm.tiktok, Vocaroo, Vodlocker, VODPl, VODPlatform, VoiceRepublic, voicy, VolejTV, Voot, VootSeries, VoxMedia, VoxMediaVolume, vpro, Vrak, VRT, VrtNU, vrv, VShare, VTM, VTXTV, VTXTVLive, VTXTVRecordings, VuClip, Vupload, VVVVID, VVVVIDShow, VyboryMos, Vzaar, Wakanim, Walla, WalyTV, WalyTVLive, WalyTVRecordings, washingtonpost, wat.tv, WatchBox, WatchESPN, WatchIndianPorn, WDR, WDRElefant, WDRPage, Webcamerapl, Webcaster, WebcasterFeed, WebOfStories, WebOfStoriesPlaylist, Weibo, WeiboMobile, WeiqiTV, WeTvSeries, whowatch, wikimedia.org, Willow, WimTV, WinSportsVideo, Wistia, WistiaChannel, WistiaPlaylist, wnl, WorldStarHipHop, wppilot, WrestleUniversePPV, WrestleUniverseVOD, WSJ, WSJArticle, WWE, WyborczaPodcast, Xanimu, XBef, XboxClips, XFileShare, XHamster, XHamsterEmbed, XHamsterUser, ximalaya, xinpianchang, XMinus, XNXX, Xstream, XTube, XTubeUser, Xuite, XVideos, XXXYMovies, Yahoo, YandexDisk, YandexVideo, YandexVideoPreview, YapFiles, Yappy, YesJapan, YleAreena, Ynet, YouJizz, youku, YouNowChannel, YouNowLive, YouNowMoment, YouPorn, YourPorn, YourUpload, youtube, YoutubeLivestreamEmbed, YoutubeYtBe, Zapiks, Zattoo, ZattooLive, ZattooMovies, ZattooRecordings, ZDF, ZDFChannel, Zee5, ZeeNews, ZenYandex, ZenYandexChannel, Zhihu, zingmp3, zoom, Zype, generic,

There are three methods to install yt-dlp on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install yt-dlp Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install yt-dlp using apt-get by running the following command:

sudo apt-get -y install yt-dlp

Install yt-dlp Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install yt-dlp using apt by running the following command:

sudo apt -y install yt-dlp

Install yt-dlp Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install yt-dlp using aptitude by running the following command:

sudo aptitude -y install yt-dlp

How To Uninstall yt-dlp on Debian 12

To uninstall only the yt-dlp package we can use the following command:

sudo apt-get remove yt-dlp

Uninstall yt-dlp And Its Dependencies

To uninstall yt-dlp and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove yt-dlp

Remove yt-dlp Configurations and Data

To remove yt-dlp configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge yt-dlp

Remove yt-dlp configuration, data, and all of its dependencies

We can use the following command to remove yt-dlp configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge yt-dlp

Dependencies

yt-dlp have the following dependencies:

References

Summary

In this tutorial we learn how to install yt-dlp package on Debian 12 using different package management tools: apt, apt-get and aptitude.