kew dependencies are:
- FFTW
- Chafa
- libopus
- opusfile
- libvorbis
- TagLib
- faad2 (optional)
- libogg
- pkg-config
- glib2.0
Install the necessary dependencies using your distro's package manager and then install kew. Below are some examples.
Debian/Ubuntu
Install dependencies:
sudo apt install -y pkg-config libfaad-dev libtag1-dev libfftw3-dev libopus-dev libopusfile-dev libvorbis-dev libogg-dev git gcc make libchafa-dev libglib2.0-dev libgdk-pixbuf-2.0-devArch Linux
Install dependencies:
sudo pacman -Syu --noconfirm --needed pkg-config faad2 taglib fftw git gcc make chafa glib2 opus opusfile libvorbis liboggmacOS
Install git:
xcode-select --installInstall dependencies:
brew install gettext faad2 taglib chafa fftw opus opusfile libvorbis libogg glib pkg-config makeNotes for mac users:
- A sixel-capable terminal like kitty or WezTerm is recommended for macOS.
- The visualizer and album colors are disabled by default on macOS, because the default terminal doesn't handle them too well. To enable press v and i respectively.
Fedora
Install dependencies:
sudo dnf install -y pkg-config taglib-devel fftw-devel opus-devel opusfile-devel libvorbis-devel libogg-devel git gcc make chafa-devel libatomic gcc-c++ glib2-develOption: add faad2-devel for AAC, M4A support.
sudo dnf install faad2-devel faad2OpenSUSE
Install dependencies:
sudo zypper install -y pkgconf taglib fftw3-devel opusfile-devel libvorbis-devel libogg-devel git chafa-devel gcc make glib2-devel faad2 faad2-devel gcc-c++ libtag-develCentOS/Red Hat
Install dependencies:
sudo dnf config-manager --set-enabled crb
sudo dnf install -y pkgconfig taglib taglib-devel fftw-devel opus-devel opusfile-devel libvorbis-devel libogg-devel git gcc make chafa-devel glib2-devel gcc-c++Option: add faad2-devel for AAC,M4A support (Requires RPM-fusion to be enabled).
Enable RPM Fusion Free repository:
sudo dnf install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpmInstall faad2:
sudo dnf install faad2-develVoid Linux
Install dependencies:
sudo xbps-install -y pkg-config faad2 taglib taglib-devel fftw-devel git gcc make chafa chafa-devel opus opusfile opusfile-devel libvorbis-devel libogg glib-develAlpine Linux
Install dependencies:
sudo apk add pkgconfig faad2-dev taglib-dev fftw-dev opus-dev opusfile-dev libvorbis-dev libogg-dev git build-base chafa-dev glib-devWindows (WSL)
-
Install Windows Subsystem for Linux (WSL).
-
Install kew using the instructions for Ubuntu.
-
If you are running Windows 11, Pulseaudio should work out of the box, but if you are running Windows 10, use the instructions below for installing PulseAudio: https://www.reddit.com/r/bashonubuntuonwindows/comments/hrn1lz/wsl_sound_through_pulseaudio_solved/
-
To install Pulseaudio as a service on Windows 10, follow the instructions at the bottom in this guide: https://www.linuxuprising.com/2021/03/how-to-get-sound-pulseaudio-to-work-on.html
Download the latest release (recommended) or, if you are feeling adventurous, clone from the latest in main:
git clone https://codeberg.org/ravachol/kew.gitcd kewThen run:
make -j4sudo make installIf you installed kew manually, simply run:
sudo make uninstallIf you want, you can also delete the settings files:
Linux: ~/.config/kew/ macOS: ~/Library/Preferences/kew/
Then delete the kewstaterc file:
Linux: ~/.config/kew/kewstaterc macOS: ~/Library/Preferences/kew/kewstaterc
By default, the build system will automatically detect if faad2 is available and includes it if found.