How to stream music to Chromecast, from your Ubuntu PC

Play your favorite music from Ubuntu PC to Chromecast wirelessly!

One of the best ways to experience seamless music is by streaming it via a DLNA / UPnP devices such as Chromecast, Roku, Amazon Fire Stick, and etc.. Smartphone is the first obvious choice to start streaming music due to its portability. How about using your Ubuntu PC to stream music when you are working on it? Seems like a handy idea!

Check out “Pulseaudio-DLNA” utility for Linux. It is lightweight streaming server which brings DLNA / UPNP and Chromecast support to PulseAudio and Linux. It can stream your current PulseAudio playback to different UPNP devices in your network. The utility is easy to use, and easy to configure.

Installing Pulseaudio-DLNA in Ubuntu

I have tested it on Ubuntu 17.10, but should work on older Ubuntu versions, Linux Mint, elementary OS, and derivatives without hassles.

Step 1) Launch ‘Terminal’.

Step 2) Enter the following command and press return to add PPA.

sudo apt-add-repository ppa:qos/pulseaudio-dlna

Step 3) Update the repositories in your computer.

sudo apt update

Step 4) Install Pulseaudio-DLNA using apt command:

sudo apt install pulseaudio-dlna

Step 5) Now run this command to start scanning for available Chromecast devices on your Wi-Fi network. Make sure to have the Chromecast power ON and connected to same Wi-Fi network as your Ubuntu PC.


Pulseaudio DLNA will disover all the streaming devices in the Wi-Fi network
Pulseaudio DLNA will discover all the streaming devices in the Wi-Fi network

Step 6) You can close and terminal after a minute or so, and then go to “Settings”.

Go to Ubuntu Settings
Go to Ubuntu Settings

Step 7) Click “Sound” in the left pane. You should see Chromecast devices listed. To start streaming, simply select the device and then start playing music!

Chromecast devices added to System Audio Settings
Chromecast devices added to System Audio Settings


Kiran Kumar
Hi there! I'm Kiran Kumar, founder of I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities, especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. I hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!


  1. Hi, thanks for this. I’m a new Linux Mint user (fork of Ubuntu). I am trying to get MP3s streaming from my Linux system to my “smart” TV over Wifi. I tried your solution but nothing changed on the “Chromecast” app on my smartphone… after selecting the device in “Sound” how do I then “just start playing music”? BTW I do indeed still see “Chromecast” as one of the inputs on my TV… and did select it (of course!).

    NB I’ve also just installed (before this) Kodi: I’d assumed that would broadcast MP3s over Wifi… but there’s no sign of a Kodi server or anything on my TV’s inputs… So I’m now going to try installing Plex… which hopefully will do what it does on W10. I’m still hoping I can get your solution to work though: to be able to select music in front of the TV, using a smartphone, would be truly magnificent. Is this what you’ve managed to achieve?

  2. HI, thanks for the article. I followed your instructions and in half an hour I am listening to my files.
    I tested the installation with a Bose wifi speaker and with a Muzo Cobblestone (a simple streamer with a great sound for cheap, see Amazon) all is working. Thanks again.

  3. Well, I added now an Advance Acoustic UX1, an almost audiophile streamer.
    It works fine and a first hearing seems very good (why not? it is all digital till the A/D)
    UBUNTU 18.04


Please enter your comment!
Please enter your name here





Zorin OS is an Ubuntu-based Linux distro. Its ultimate goal is to provide Windows and macOS users with a Linux alternative. The Zorin OS is powerful, fast, and secure; it is pretty hard for trackers to track activities in your OS. Most users love Zorin due to its privacy prowess.
Linux Lite and Lubuntu are two very popular lightweight Linux distros designed to breathe life into decade-old hardware. Both distros are designed to run on limited system resources yet deliver a fluid user experience for regular day-to-day activities. But how well do they fare against each other?