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





The Ubuntu Cinnamon Remix brings together Linux Mint's Cinnamon desktop with the Ubuntu Core. While some users are welcoming the new flavor of Ubuntu with open arms, others are scratching their heads, wondering where it fits in.
The wait is finally over (almost) for all you Ubuntu fans out there. The latest version of Ubuntu, 20.10 codenamed "Groovy Gorilla," is currently available in the beta version. I have tested out the distro myself, and it is stable enough to take out for a spin.

The 10 Best Programming Languages for Hacking

One of the significant entities we have in Cyber Security is Ethical Hacking (ETH). It is the process of detecting and finding flaws or vulnerabilities in a system that a hacker would exploit.

CopyQ – Advanced clipboard manager for Linux

We have all had that moment when we copied a text, but we first needed another one, and in the process, lost the first one. If you're lucky, you can get it back quickly with a bit of work.

How to dual-boot Ubuntu and Fedora on your PC

Every Linux distribution has its capabilities and preferences as per the user requirements. That brings forth the need to run different distros on one laptop. For example, a CyberSecurity enthusiast might prefer to use Ubuntu for development and Kali Linux for penetration testing.

Beaker Browser: A P2P web browser you must try

I think we can all agree on the fact that the web browser is an integral part of our Linux systems, or any computer system, for that matter. We have had several fulfilling options for browsing the web, like Firefox, Brave, Vivaldi, Tor, etc. and they have worked pretty well, but also pretty much in the same way, except for Tor, which is much better for anonymity.