Reformatted linux install page
This commit is contained in:
parent
279e425327
commit
5eae7c73cf
1 changed files with 34 additions and 30 deletions
|
|
@ -1,46 +1,50 @@
|
||||||
=====
|
=====
|
||||||
Linux
|
Linux
|
||||||
=====
|
=====
|
||||||
Requires ffmpeg as a dependency. Can typically be installed with any Linux package manager.
|
|
||||||
|
|
||||||
.. code-block:: bash
|
``ytdl-sub`` should be installable using any Linux package manager, and requires ffmpeg to be installed.
|
||||||
|
|
||||||
curl -L -o ytdl-sub https://github.com/jmbannon/ytdl-sub/releases/latest/download/ytdl-sub
|
|
||||||
chmod +x ytdl-sub
|
|
||||||
ytdl-sub -h
|
|
||||||
|
|
||||||
You can also install using yt-dlp's ffmpeg builds. This ensures your ffmpeg is up to date:
|
.. tab-set::
|
||||||
|
|
||||||
.. code-block:: bash
|
.. tab-item:: Linux
|
||||||
|
|
||||||
curl -L -o ffmpeg.tar.gz https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linux64-gpl.tar.xz
|
.. code-block:: bash
|
||||||
tar -xf ffmpeg.tar.gz
|
|
||||||
chmod +x ffmpeg-master-latest-linux64-gpl/bin/ffmpeg
|
|
||||||
chmod +x ffmpeg-master-latest-linux64-gpl/bin/ffprobe
|
|
||||||
|
|
||||||
# May need sudo / root permissions to perform
|
curl -L -o ytdl-sub https://github.com/jmbannon/ytdl-sub/releases/latest/download/ytdl-sub
|
||||||
mv ffmpeg-master-latest-linux64-gpl/bin/ffmpeg /usr/bin/ffmpeg
|
chmod +x ytdl-sub
|
||||||
mv ffmpeg-master-latest-linux64-gpl/bin/ffprobe /usr/bin/ffprobe
|
ytdl-sub -h
|
||||||
|
|
||||||
Linux ARM
|
You can also install using yt-dlp's ffmpeg builds. This ensures your ffmpeg is up to date:
|
||||||
=========
|
|
||||||
Requires ffmpeg as a dependency. Can typically be installed with any Linux package manager.
|
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
curl -L -o ytdl-sub https://github.com/jmbannon/ytdl-sub/releases/latest/download/ytdl-sub_aarch64
|
curl -L -o ffmpeg.tar.gz https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linux64-gpl.tar.xz
|
||||||
chmod +x ytdl-sub
|
tar -xf ffmpeg.tar.gz
|
||||||
ytdl-sub -h
|
chmod +x ffmpeg-master-latest-linux64-gpl/bin/ffmpeg
|
||||||
|
chmod +x ffmpeg-master-latest-linux64-gpl/bin/ffprobe
|
||||||
|
|
||||||
You can also install using yt-dlp's ffmpeg builds. This ensures your ffmpeg is up to date:
|
# May need sudo / root permissions to perform
|
||||||
|
mv ffmpeg-master-latest-linux64-gpl/bin/ffmpeg /usr/bin/ffmpeg
|
||||||
|
mv ffmpeg-master-latest-linux64-gpl/bin/ffprobe /usr/bin/ffprobe
|
||||||
|
|
||||||
.. code-block:: bash
|
.. tab-item:: Linux ARM
|
||||||
|
|
||||||
curl -L -o ffmpeg.tar.gz https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linuxarm64-gpl.tar.xz
|
.. code-block:: bash
|
||||||
tar -xf ffmpeg.tar.gz
|
|
||||||
chmod +x ffmpeg-master-latest-linuxarm64-gpl/bin/ffmpeg
|
|
||||||
chmod +x ffmpeg-master-latest-linuxarm64-gpl/bin/ffprobe
|
|
||||||
|
|
||||||
# May need sudo / root permissions to perform
|
curl -L -o ytdl-sub https://github.com/jmbannon/ytdl-sub/releases/latest/download/ytdl-sub_aarch64
|
||||||
mv ffmpeg-master-latest-linuxarm64-gpl/bin/ffmpeg /usr/bin/ffmpeg
|
chmod +x ytdl-sub
|
||||||
mv ffmpeg-master-latest-linuxarm64-gpl/bin/ffprobe /usr/bin/ffprobe
|
ytdl-sub -h
|
||||||
|
|
||||||
|
You can also install using yt-dlp's ffmpeg builds. This ensures your ffmpeg is up to date:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
curl -L -o ffmpeg.tar.gz https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linuxarm64-gpl.tar.xz
|
||||||
|
tar -xf ffmpeg.tar.gz
|
||||||
|
chmod +x ffmpeg-master-latest-linuxarm64-gpl/bin/ffmpeg
|
||||||
|
chmod +x ffmpeg-master-latest-linuxarm64-gpl/bin/ffprobe
|
||||||
|
|
||||||
|
# May need sudo / root permissions to perform
|
||||||
|
mv ffmpeg-master-latest-linuxarm64-gpl/bin/ffmpeg /usr/bin/ffmpeg
|
||||||
|
mv ffmpeg-master-latest-linuxarm64-gpl/bin/ffprobe /usr/bin/ffprobe
|
||||||
Loading…
Reference in a new issue