There are a few ways to listen to Internet radio in Linux, and StreamTuner2 is one. It can tune to various online radios and record them via its integration with Streamripper.

You can save online radio streams by installing StreamTuner2 and Streamripper and configuring StreamTuner2 to record online radio using Streamripper.

Steps to record Internet radio in Linux:

  1. Launch your preferred terminal application.
  2. Install StreamTuner2 and Streamripper.

    $ sudo apt update && sudo apt install --assume-yes streamripper streamtuner2 # Ubuntu and Debian

  3. Create a directory to save the radio recording into.

    $ mkdir -p ~/streamripper

  4. Launch StreamTuner2 from terminal.

    $ streamtuner2

  5. Click Save to use default configuration options if you're presented with the Configuration Settings window.

    Options will be configured later in the case that you already have StreamTuner2 installed and went through the same screen before.

  6. Launch configuration screen by going to EditProperties from the toolbar menu.
  7. Double-click on x-terminal-emulator text to activate configuration option for audio recording application.
  8. Enter the following string to configure Streamtuner2 to use Streamripper to record radio stream and save the stream to ~/streamripper directory. Press [ENTER] to commit the change.

    x-terminal-emulator -e /usr/bin/streamripper %srv -d ~/streamripper

  9. Click on the Save button to exit the configuration screen.

  10. Navigate to the channel list and pick a channel that you wish to record.
  11. Right click on the channel click on Record.

  12. Navigate to Streamripper_rips directory in your previously configured target directory to see the list of recorded radio stream.

    $ cd ~/streamripper/Streamripper_rips