LoginSignup
0
0

mpvのインストール方法

Last updated at Posted at 2024-02-03

CLI 音楽再生ソフト mpv を apt でインストールする方法

環境

  • Ubuntu20.04
  • amd64

official install guide

https://mpv.io/installation/
fruitというapt repositoryで管理されているっぽい

fruit repository

fruit repositoryからmpvをインストールする流れ

  • Step1: GPG keyをダウンロード
  • Stpe2: source.listを追加
  • Stpe3: apt update
  • Step4: apt install

Step1: GPG keyをダウンロード

sudo curl --output-dir /etc/apt/trusted.gpg.d -O https://apt.fruit.je/fruit.gpg

Step2: source.listを追加

sudo touch /etc/apt/sources.list.d/fruit.list
echo 'deb [arch=amd64] https://apt.fruit.je/ubuntu jammy mpv' | sudo tee /etc/apt/sources.list.d/fruit.list

arch=amd64を指定しないとエラーが出ます。

Stpe3: apt update

sudo apt update

Step4: apt install

sudo apt install mpv

以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0