Linux users can easily listen to Internet radio using StreamTuner2, an application that supports various online radio stations.
Through its integration with Streamripper, you can record and save online radio streams.
Steps to record Internet radio in Linux:
Launch your preferred terminal application.
Install
StreamTuner2 and
Streamripper.
$ sudo apt update && sudo apt install --assume-yes streamripper streamtuner2 #Ubuntu and Debian
Create a directory to store the recorded radio streams.
$ mkdir -p ~/streamripper
Launch
StreamTuner2 from the terminal.
$ streamtuner2
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.
Access the configuration screen by selecting
Edit →
Properties from the toolbar menu.

Double-click the
x-terminal-emulator text to enable the audio recording application configuration option.

Input the following string to configure
StreamTuner2 for using
Streamripper to record and save radio streams to the
~/streamripper directory, and press
[ENTER] to confirm the change.
x-terminal-emulator -e /usr/bin/streamripper %srv -d ~/streamripper
Click Save to exit the configuration screen.
Browse the channel list and choose a channel you want to record.

Right click on the channel and select
Record.
Visit the
Streamripper_rips directory in your configured target directory to view the recorded radio streams.
$ cd ~/streamripper/Streamripper_rips
Discuss the article:
Comment anonymously. Login not required.