How-to install pipe-viewer in Debian
pipe-viewer is a lightweight, but yet feature packed application for browsing and watching videos from YouTube.
It works by parsing the YouTube website directly, but is also able to use any Invidious instance as a fallback. This method is usually the most reliable one.
Unfortunately, pipe-viewer isn’t available in the Debian repositories, but it’s thankfully rather simple installing the application yourself.
Start by installing the dependencies:
# apt install git libwww-perl liblwp-protocol-https-perl libdata-dump-perl libjson-perl libmodule-build-perl
Download the source code using
$ git clone https://github.com/trizen/pipe-viewer
Go to the directory:
$ cd pipe-viewer
And to install pipe-viewer:
$ perl Build.PL # ./Build install
You can now use
Basic usage and some examples
You can either search for anything by parsing an argument in the shell like this:
$ pipe-viewer "<KEYWORD(S)>"
Or by starting
pipe-viewer first, and then searching for whatever you’re looking for.
There’s a lot more flags than this, to check out all of them, use the flag
||View all favourites by a specific user.|
||View all uploaded videos by a specific user.|
||Search only videos by a specific user.|
||Show all related videos to a specific video.|
||Show video comments for a specific video.|
||Search for playlists of videos.|
||Sort by view count.|
||Sort by short or long duration.|
||Supported resolutions: best, 2160p, 1440p, 1080p, 720p, 480p, 360p, 240p, 144p, audio|
||Search only for videos available in at least 720p.|
||Play all results.|
||Audio only, no video.|