How can I record a radio stream in Linux like the screamer in Windows? Does anyone have any idea or suggestion?

  • Are you talking about radio from an FM receiver, or radio as a stream over the Internet? If the latter, what protocol does it use? – Gilles 'SO- stop being evil' Aug 7 '13 at 23:10



If you want a GUI to do this you can do it using Audacity.

excerpt from wiki

In the drop-down menu on Audacity's Device Toolbar, choose “Wave Out” or “Stereo Mix” as the input source. (The exact name may be different, depending on your computer's sound drivers). On Windows, if you don't have a “Wave Out” or “Stereo Mix” option, or if it won't record, go to the system Control Panel and try to enable this option there. For instructions see: Using the Control Panel on the Wiki.


You can also install streamtuner to browse radio stations.

# Debian/Ubuntu
$ apt-get install streamtuner

# Fedora/CentOS/RHEL
$ yum install streamtuner

screenshot of streamtuner

   ss of streamtuner


You can install streamripper like so:

# Debian/Ubuntu
$ sudo apt-get install streamripper

# Fedora/CentOS/RHEL
$ sudo yum install streamripper

To download a stream simply do the following:

$ streamripper <url>

This will save each stream into a .mp3 file.


  • Hi! I realize this is pretty old response, but are you sure there is port for CentOS available? I get No package streamripper available – katit Mar 21 '16 at 19:56
  • @katit - there was when I wrote this answer. I only ever used Fedora/CentOS systems so I'm sure there was. – slm Mar 21 '16 at 20:21

With curl from the terminal, for example:

curl --output ~/Downloads/Radio/CostaDelMar.mp3 http://sc-costadelmar.1.fm:10156

Useful options are --max-time <seconds> and --max-filesize <bytes>.


I'm not familiar with screamer, but it sounds like streamripper is what you want. It may already be available in your distro or you can get it at http://streamripper.sourceforge.net/


Check my radio:

Example WeFunkRadio.

For the first download playlist and get server address & port:

# http://www.wefunkradio.com/play/shoutcast.pls
# cat shoutcast.pls 

This is the address of server: http://stream-90.shoutcast.com:80

To play stream:

# mplayer "http://stream-90.shoutcast.com:80"

To save stream:

# wget -O stream.mp3 "http://stream-90.shoutcast.com:80"

A tip related to answer of user170267: You can avoid overwriting previous recording by making use of date&time for file name:

 curl --output ~/Downloads/Radio/CostaDelMar_$(date '+%F_%T').mp3 http://sc-costadelmar.1.fm:10156

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.