Youtube videos in linux

ytfzf – Find and Watch YouTube Videos in Linux Terminal

The Linux terminal environment is a preferred workspace for a growing number of Linux users due to some obvious facts. Firstly, it is by default dissociated from the Linux OS GUI environment which makes it faster to load and execute keyed-in commands.

Secondly, most Linux packages are terminal-oriented which means that you are more likely to install a majority of application packages from the command line than from the OS Software Center (GUI).

Thirdly, it is logically recommended to test web and desktop server applications from the command-line environment because of its fast execution time and resource-friendly nature.

The Linux OS is an interesting maze of skillful puzzles that increases the computing prowess of each and every user that crosses its path.

However, to accelerate the learning curve of the Linux operating system, we sometimes need the assistance of external learning materials like video and audio files. The YouTube platform is enriched with such video and audio files.

The ytfzf script provides a solution to accessing resource-rich YouTube videos via mpv/youtube-dl without the need for an API. This article will walk us through the installation and configuration of the ytfzf script to successfully find and watch YouTube videos from the command line.

ytfzf Features

We can list its prominent features with the following bullet points.

  • Addon support
  • Queuing multiple videos
  • Search History
  • Thumbnails
  • Custom menus and scrappers
  • Video download support
  • Watch history
  • subscriptions

Install ytfzf YouTube Video Downloader in Linux

To install ytfzf, you need to install the following required dependencies in the following manner:

$ sudo apt install curl git mpv jq fzf yt-dlp [On Debian, Ubuntu and Mint] $ sudo yum install curl git mpv jq fzf yt-dlp [On RHEL/CentOS/Fedora and Rocky Linux/AlmaLinux] $ sudo pacman -S curl git mpv jq fzf yt-dlp [On Arch Linux] $ sudo zypper install curl git mpv jq fzf yt-dlp [On OpenSUSE]

Next, clone the latest ytfzf (a script to find and watch youtube videos from the terminal) release as shown.

$ git clone https://github.com/pystardust/ytfzf $ cd ytfzf $ sudo make install doc $ ytfzf -h

Once installed, you can start ytfzf from the terminal.

Search for a Youtube video from the provided prompt window.

Find Youtube Video in Linux Terminal

The resulting search result page should look like the following:

Читайте также:  Run linux and windows on mac os x

List of Youtube Videos in Linux Terminal

Use the keyboard arrow keys to navigate to the video of your choice and press [Enter] to start playing Youtube video in the Linux terminal.

Play Youtube Video in Linux Terminal

To quit ytfzf, use keyboard keys [Ctrl]+c . More usage options on ytfzf can be found by running the command:

ytfzf makes it possible to interact with YouTube videos from the comfort of the Linux terminal environment. Let us know how you plan to use ytfzf for your Linux projects by leaving a comment or feedback.

Источник

Могу ли я использовать YouTube в Linux?

youtube-dl — популярная программа, доступная в репозиториях по умолчанию большинства дистрибутивов Linux, если не всех. Вы можете использовать стандартный способ установки пакетов в вашем дистрибутиве для установки youtube-dl.

Как установить YouTube в Linux?

Установите Flatpak и добавьте репозиторий Nuvola Player. Чтобы установить YouTube с программным обеспечением Ubuntu, запустите программное обеспечение Ubuntu, найдите YouTube и, наконец, нажмите кнопку «Установить». Также можно запустить эмулятор терминала Linux, набрав flatpak install nuvola eu.

Как мне смотреть YouTube в Ubuntu?

Теперь щелкните вкладку «Действия» в верхнем левом углу рабочего стола или нажмите кнопку «Окно», чтобы открыть меню Ubuntu Dash. Затем найдите видео на YouTube, набрав его имя. Затем в результатах поиска выберите видео, щелкнув по нему. Это запустит видео на вашем видеопроигрывателе по умолчанию.

Какие приложения работают в Linux?

Spotify, Skype и Slack доступны для Linux. Помогает то, что все эти три программы были созданы с использованием веб-технологий и могут быть легко перенесены на Linux. Minecraft можно установить и на Linux. Discord и Telegram, два популярных чат-приложения, также предлагают официальные клиенты для Linux.

Как открыть видео в терминале Linux?

Утилита mplayer легко доступна через официальные репозитории Ubuntu и может быть легко установлена ​​через командную строку с помощью команды apt-get. Откройте приложение «Терминал» либо с помощью системного поиска в панели запуска приложений, либо с помощью сочетания клавиш Ctrl + Alt + T.

Как установить Youtube на Linux Mint?

Включите снимки в Linux Mint и установите youtube-dl

  1. Включите снимки в Linux Mint и установите youtube-dl.…
  2. В Linux Mint 20 перед установкой Snap необходимо удалить /etc/apt/preferences.d/nosnap.pref. …
  3. Чтобы установить snap из приложения Software Manager, найдите snapd и нажмите «Установить».

Как загрузить видео с YouTube с помощью Termux?

  1. Перейдите в Play Store и загрузите приложение termux. …
  2. Затем откройте приложение termux и скопируйте и вставьте 4 команды в том же порядке. …
  3. Когда появится запрос, вам нужно будет нажать OK, чтобы разрешить termux доступ к вашему хранилищу. …
  4. И все.

Можете ли вы запускать приложения Android в Linux?

Вы можете запускать приложения Android в Linux благодаря решению под названием Anbox. Anbox — сокращенное название от «Android in a Box» — превращает ваш Linux в Android, позволяя вам устанавливать и использовать приложения Android, как и любые другие приложения в вашей системе.

Использует ли Google Linux?

Linux — не единственная операционная система Google для настольных ПК. Google также использует macOS, Windows и Chrome OS на базе Linux в своем парке из почти четверти миллиона рабочих станций и ноутбуков.

Читайте также:  Control groups in linux

Будет ли Linux запускать программы Windows?

Да, вы можете запускать приложения Windows в Linux. Вот несколько способов запуска программ Windows в Linux: Установка Windows на отдельный раздел жесткого диска. Установка Windows как виртуальной машины в Linux.

Как воспроизвести видео в Linux?

Ниже приведен список некоторых качественных видеоплееров с открытым исходным кодом, доступных для Linux. … 16 лучших видеоплееров с открытым исходным кодом для Linux в 2020 году

  1. VLC Media Player. …
  2. XBMC — Медиацентр Kodi. …
  3. Музыкальный и видеоплеер Miro. …
  4. SMPlayer. …
  5. MPV Player. …
  6. Видео гномов. …
  7. Боми (CMPlayer)…
  8. Музыкальный и видеоплеер Банши.

Как открыть файл MP4 в Linux?

На рабочем столе Linux Mint, чтобы воспроизвести один файл MP4 с помощью VLC, найдите файл MP4 в (Меню — & gt; Домашняя папка — & gt; где каждый раз, когда вы помещаете свой файл) Caja и щелкните его правой кнопкой мыши.. Выберите Открыть с помощью VLC Media Player.

Как смотреть видео в Ubuntu?

Для воспроизведения видеофайлов в Ubuntu есть встроенный проигрыватель, но он может быть ограничен в установленном вами пакете. Чтобы включить их, просто откройте терминал (CTRL + ALT + T) и вставьте следующую команду «sudo apt-get install ubuntu-limited-extras» без кавычек.

Похожие сообщения:

Источник

Best YouTube Apps for Linux

If you don’t like to use the official YouTube website and looking for some alternative ways to stream Youtube videos, this article has a list for you.

In this guide I will list all major desktop YouTube players available today for Linux users. While many popular apps like youtube-dl are available for downloading YouTube videos on Linux, this article will mainly focus on those apps that allows you to search and stream videos on a Desktop Linux PC without having to open a browser. In many cases, these apps will provide advanced functionality than official YouTube website where most of the options are hidden behind a login.

Minitube

Pros: Lightweight, easy to use clutter free interface
Cons: None

Minitube is a desktop YouTube application that aims to deliver a TV like experience on the Linux desktop. While being light on resources, it supports lots of YouTube features like a powerful search engine, filters for inappropriate content and channel subscriptions that too without any need to login. Minitube doesn’t require a browser to search and stream videos, thus it preserves battery life. You will also get regular notifications about new video uploads in any of the channels you have to subscribed to in the minitube.

Downloadable packages for minitube can be found here.

Gtk-Youtube-Viewer

Pros: A command line interface is also available, provides the ability to download videos
Cons: User interface is not intuitive

Youtube-viewer / Gtk-youtube-viewer is a lightweight application for searching and streaming videos from YouTube. Written in Perl, this app supports playing videos in a player of your choice and allows you to fine tune search results using all the typical filters available in the official YouTube website. It can display video metadata like video length, number of views, likes and dislikes and comments. It also allows you to log in to your YouTube account enabling two way sync.

Читайте также:  Pip install tkinter linux

Youtube-viewer packages can be downloaded from here.

MotionBox

Pros: Can open multiple videos in tabs
Cons: None

MotionBox is a free, open source and ad-free desktop app that allows you to browse and stream Torrents, YouTube, Dailymotion, Vimeo and SoundCloud videos using DuckDuckGo search API. It features a dark mode, audio only mode and the ability to stream videos upto 4K.

MotionBox for Ubuntu can be downloaded from here.

Mps-youtube

Pros: Cross platform tool really useful for those looking for terminal based apps
Cons: Customization and setup takes a few commands, not beginner friendly

Mps-youtube is a command line utility to search and play audio and video from YouTube. It can also import YouTube playlists, create and save local playlists, download audio or video, show video comments, convert video to mp3 and other formats etc. Installation instructions for various Linux distributions can be found here.

To run mps-youtube, use the command below:

Search example: To search for “Linux”, you have to use a command like this inside mps-youtube terminal:

Note that by default, mps-youtube plays audio only. To enable video playback, you have to run the command below while mps-youtube is running in a terminal.

You can know more about all the features and customization options by typing “help” inside mps-youtube console.

FreeTube

Pros: Privacy oriented
Cons: Feels more like a website than a native app

FreeTube is a free and open source desktop YouTube player built in Electron. It displays YouTube videos without advertisements and prevents Google from tracking you with their cookies and JavaScript. Some of the FreeTube features include the ability to subscribe to channels without an account, watch history, dark theme, mini player etc. Note that this app is currently in beta. Though I found it to be pretty stable in my testing, you can encounter bugs, crashes and missing features here and there.

FreeTube desktop app is available for Windows, Mac and Linux and it can be downloaded from here.

Kaku

Pros: Also supports streaming services other than YouTube
Cons: Linux app looks and behaves like a macOS app, no native theming

Kaku is a free and open source music and video player that supports different online platforms like YouTube, SoundCloud, Vimeo etc. Built in Electron, it is available for Windows, Linux and macOS. Some of the Kaku features include DJ mode, local watch history, play queue, ability to import YouTube playlists, desktop notifications and region selection.

Linux packages for Kaku can be downloaded from here.

This marks the end of this article. Even though the options are very limited for Linux YouTube apps, these apps bake in a lot of additional features over the official YouTube website like audio only music player mode, ability to download videos and dark mode. My personal favorite of all these apps is Minitube, a simple, elegant and fully functional app that is a pleasure to use.

Источник

Оцените статью
Adblock
detector