How To Install ytfzf on Debian 12

Learn how to install ytfzf on Debian 12 with this tutorial. ytfzf is script to find and watch youtube videos from the terminal

Introduction

In this tutorial we learn how to install ytfzf on Debian 12.

What is ytfzf

ytfzf is:

YTFZF is a script to search, download and play YouTube videos by making use of mpv and youtube-dl under the hood. It works on Linux and macOS.

For each YouTube search query, a list of results in shown in the right-hand side pane. On the left-hand side you can see the selected video title, the channel that posted the video, the number of views, video duration, upload date, and the video thumbnail.

Besides this, ytfzf also features support for video history, allows choosing the media format and can queue multiple tracks.

You can search for YouTube/Odysee/PeerTube videos and play/download using fzf, dmenu. Other features include the ability to play/download audio only, auto-play and repeat YouTube videos, play a random search result, and there’s also an option to show available media formats before proceeding.

There are three methods to install ytfzf 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 ytfzf Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ytfzf

Install ytfzf Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ytfzf using apt by running the following command:

sudo apt -y install ytfzf

Install ytfzf 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 ytfzf using aptitude by running the following command:

sudo aptitude -y install ytfzf

How To Uninstall ytfzf on Debian 12

To uninstall only the ytfzf package we can use the following command:

sudo apt-get remove ytfzf

Uninstall ytfzf And Its Dependencies

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

sudo apt-get -y autoremove ytfzf

Remove ytfzf Configurations and Data

To remove ytfzf configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge ytfzf

Remove ytfzf configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ytfzf

Dependencies

ytfzf have the following dependencies:

References

Summary

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