<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5197&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [HowTo] Install latest youtube-dl on DEVUAN 4]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5197</link>
		<description><![CDATA[The most recent posts in [HowTo] Install latest youtube-dl on DEVUAN 4.]]></description>
		<lastBuildDate>Mon, 29 Aug 2022 17:22:58 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [HowTo] Install latest youtube-dl on DEVUAN 4]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37234#p37234</link>
			<description><![CDATA[<div class="quotebox"><cite>Tritonio wrote:</cite><blockquote><div><p>Did you get your version from elsewhere?</p></div></blockquote></div><p>No. The standard <em>youtube-dl</em> is also installed in the standard location. However, I first got it in the days of Debian &amp; updates were few &amp; far in between (today updates are never). So, I installed a second copy in <span class="bbc">/usr/local/bin</span> and, if you look at the code in my post, that is where the update command is made. I still have <em>youtube-dl</em> installed, but it never updates now:</p><div class="codebox"><pre><code>$ /usr/bin/youtube-dl --version
2021.06.06
$ /usr/local/bin/youtube-dl --version
2021.12.17
$ /usr/bin/yt-dlp --version
2022.08.19</code></pre></div><p>If you only ever want to download old YT videos then you do not need yt-dlp. However, if a recent video then you do, since G changes the algorithm every month or two. Hence the need to make use of <em>backports</em>.</p>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Mon, 29 Aug 2022 17:22:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37234#p37234</guid>
		</item>
		<item>
			<title><![CDATA[Re: [HowTo] Install latest youtube-dl on DEVUAN 4]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37231#p37231</link>
			<description><![CDATA[<p>I used youtube-dl just fine yesterday. In general it needs me to keep a tab open with the video otherwise google eventually figures out I&#039;m downloading it and cuts me off. Although this only affects downloading playlists, if it&#039;s a single video it never cuts in the middle.</p><p>alexkemp when I try the command you run to update youtube-dl I get: </p><div class="codebox"><pre><code>youtube-dl: error: youtube-dl&#039;s self-update mechanism is disabled on Debian.</code></pre></div><p>Did you get your version from elsewhere?</p>]]></description>
			<author><![CDATA[dummy@example.com (Tritonio)]]></author>
			<pubDate>Mon, 29 Aug 2022 15:25:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37231#p37231</guid>
		</item>
		<item>
			<title><![CDATA[Re: [HowTo] Install latest youtube-dl on DEVUAN 4]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37224#p37224</link>
			<description><![CDATA[<p>I advise you most strongly not to bother.</p><p>This is the result of a youtube-dl (local) upgrade attempt just now:</p><div class="codebox"><pre><code>sudo /usr/local/bin/youtube-dl -U
youtube-dl is up-to-date (2021.12.17)</code></pre></div><p>It has been abandoned &amp; no longer will download most YT videos. Use yt-dlp instead (available via backports):</p><div class="codebox"><pre><code>man yt-dlp
NAME
       yt-dlp - A youtube-dl fork with additional features and patches
# …
$ yt-dlp --version
2022.08.19</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Mon, 29 Aug 2022 10:01:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37224#p37224</guid>
		</item>
		<item>
			<title><![CDATA[[HowTo] Install latest youtube-dl on DEVUAN 4]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37222#p37222</link>
			<description><![CDATA[<p>youtube-dl are a program in command line to download video from youtube and many other sites.</p><p><a href="https://ytdl-org.github.io/youtube-dl/" rel="nofollow">Source</a></p><p>youtube-dl needs the python3-pip package for upgrading it, but since January 1st 2020 Python 2.7 reaches end of life after 20 years of development.<br />(<a href="https://www.bleepingcomputer.com/news/software/python-27-reaches-end-of-life-after-20-years-of-development/" rel="nofollow">Source</a>)</p><p><span style="color: #00BF00">This is the error message after classic installation, if no python 2.7 are availlable in the sources:</span></p><p>&quot; /usr/bin/env: ‘python’: No such file or directory&quot;</p><p>To solve this issue we need two things, python3-pip package and change the path to work fine.</p><p><span style="color: #00BF00">At first download the python3-pip package like:</span></p><div class="codebox"><pre><code>sudo apt install python3-pip -y</code></pre></div><p>We can install latest <a href="https://ytdl-org.github.io/youtube-dl/download.html" rel="nofollow">youtube-dl</a> or take it in the Mint sources with Synaptic.</p><p><span style="color: #00BF00">To upgrade it:</span></p><div class="codebox"><pre><code>sudo pip3 install --upgrade youtube_dl</code></pre></div><p><span style="color: #00BF00">Now we change the path doing a symbolic link:</span></p><div class="codebox"><pre><code>sudo ln -s /usr/bin/python3 /usr/local/bin/python</code></pre></div><p><span style="color: #00BF00">Yet we can download vids, just open an terminal and paste:</span></p><div class="codebox"><pre><code>youtube-dl my_video_link</code></pre></div><p><a href="https://askubuntu.com/questions/1037666/youtube-dl-python-not-found-18-04" rel="nofollow">Source</a></p>]]></description>
			<author><![CDATA[dummy@example.com (wingcommander1999)]]></author>
			<pubDate>Mon, 29 Aug 2022 05:54:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37222#p37222</guid>
		</item>
	</channel>
</rss>
