Monday 10 June 2024

How To Install Mkchromecast on Ubuntu and Ubuntu based Distros

Mkchromecast is a way to stream any sound from your desktop to your Chromecasts, which to me makes it a lot more useful than the Android app for streaming, particularly for streaming offline music to the no longer made Chromecast Audios. Just like Google Home, you can stream to just one or to a Home Group. As per my previous article, I was using Mkchromecast on Manjaro until recent updates killed it, so I switched that particular laptop to KDE Neon, which is my favourite distro. Anyway, here's how to install Mkchromecast: 


Firstly, install git, and then download Mkchromecast from git: 

    sudo apt install git

    git clone https://github.com/muammar/mkchromecast.git 


Then, switch to the mkchromecast directory and install the dependencies:

    cd mkchromecast

    pip install -r requirements.txt


Then install Mkchromecast

You can install from Discover or with apt (sudo apt install mkchromecast) and now it should work fine. I usually use mkchromecast -s to scan for devices and choose my Home group to stream all simultaneously. It's a shame Google discontinued the Chromecast Audio because it works pretty well, and is much cheaper than expensive streaming solutions like Sonus.