3 ways to listen to the radio via Ubuntu Terminal
Those who are terminal savers, do not want to leave the comfort of the command line and go to another place to perform a certain task. People always want to find ways to do everything right in the terminal. So why not listen to the radio right in the terminal? In this article, TipsMake.com will describe 3 tools through which you can listen to online radio from your Linux terminal. The article will explain how you can install each of these tools, use them and delete them from the system if needed.
The commands and processes mentioned in this article are implemented on Ubuntu 18.04 LTS systems.
Method 1: Use Pyradio
Pyradio is a free, open source command line tool that allows you to open your favorite radio stations via the terminal. Pyradio is based on Python and is available on snap
, where you can install this tool easily.
Open Ubuntu terminal via Search Launcher application or by using shortcut Ctrl
+ Alt
+ T
Enter the following command to refresh the list of available packages:
$ sudo apt-get update
Since the snap
daemon appears by default in the latest Ubuntu versions, you don't need to install it. If you are using an older version, you can use the following command to install the daemon:
$ sudo apt-get install snapd
Now, type the following command to install Pyradio into Ubuntu:
$ sudo snap install pyradio
This process may take a while depending on your Internet speed, as this is a relatively large package. The output similar to the one in the illustration will show that the installation is complete and the Pyradio version installed on your system will also be displayed.
If you want to remove Pyradio installed via this method, you can use the following command in the terminal:
$ sudo snap remove pyradio
How to use Pyradio
So how to use this tool? Running this radio player is quite simple. Use this command to start the player and it will start playing a random station from the list:
$ pyradio --play
To customize the list and play the selected stations, you can use the following commands while the radio player is still running:
Method 2: Through Mplayer
Mplayer is a movie player for Linux (runs on many platforms and other CPU architectures). Mplayer can open most MPEG / VOB, AVI, ASF / WMA / WMV, RM, QT / MOV / MP4 files, Ogg / OGM, MKV, VIVO, FLI, NuppelVideo, yuv4mpeg, FILM and RoQ, supported by many Original and binary codecs.
What we need to consider here is the ability to open this player's stations, by providing the online radio URL, right in the terminal.
The mplayer utility is easily available through the official Ubuntu repositories and the installation is quite simple via the command line with apt-get
. You can do so by running the following command with sudo
:
$ sudo apt-get install mplayer
The system can ask you for a password for sudo
and also give you the option Y / n to continue the installation. Enter Y
and then press Enter
. The software will be installed on your system. However, this process may take a while depending on your Internet speed.
If you want to remove the player installed via this method, you can use the following command in the terminal:
$ sudo apt-get remove mplayer
To open the radio, use the mplayer
command as follows:
$ mplayer [station-URL]
Method 3: Use mpg123
Mpg123 is a free, open source radio player. Mpg123 supports MPEG audio formats, including MP3. Mpg123 is a console application and has no graphical user interface. This means you can open radio stations on it by providing the URL in the mpg123
command.
mpg123
utility is easily available through official Ubuntu repositories and simple installation via the command line with apt-get
. You can do this by running the following command with sudo
:
$ sudo apt-get install mpg123
The system may require a password for sudo
and also give you the Y / n option to continue the installation. Enter Y
and then press Enter
. The software will be installed on your system. However, this process may take a while depending on your Internet speed.
If you want to remove mpg123
installed via this method, you can use the following command in the terminal:
$ sudo apt-get remove mpg123
To open the radio, use the mpg123
command as follows:
$ mpg123 [station-URL]
Here are 3 ways to listen to online radio right in the terminal application.
Hope you are succesful.
You should read it
- Moon FM, the new Radio listening application for Android and iOS
- Fix Ubuntu unable to open Terminal error
- How to Open a Terminal Window in Ubuntu
- How to Install HandBrake on Ubuntu 14.04
- How to Install and Uninstall Applications from Terminal in Ubuntu
- How to use ChatGPT from Ubuntu Terminal using ShellGPT
- What's New in Ubuntu 21.10?
- How to Install Ubuntu Tweak 0.5.1 in Ubuntu
May be interested
- Moon FM, the new Radio listening application for Android and iOSthe application offers thousands of radio and podcast stations in many fields and countries for you to freely choose and download to listen when offline. below is a detailed guide on how to use moon fm on mobile version and web version.
- How to Use VLC Media Player to Listen to Internet Radiovlc media player is a cross-platform media player and streaming server. this how to will teach you the steps to use vlc media player to listen to internet radio. open vlc. this is the most important step to do, well anything. ===...
- How to Install HandBrake on Ubuntu 14.04handbrake is a free, open-source program used to convert video files. it's available for windows, os x and ubuntu. this article will explain how to install it in ubuntu 14.04. open a terminal window. this is usually done by pressing .
- How to use TuneYou to listen to the radio onlinetuneyou is an online music website, with both computer and phone versions.
- 4 best radio apps for iPhonetraditional radio stations still exist. there is no shortage of radio apps on the app store. the following article will introduce you to some of the best radio applications for iphone.
- How to use ChatGPT from Ubuntu Terminal using ShellGPTartificial intelligence has emerged as a phenomenon in the new age. with new features added daily, there's a lot to look forward to.
- How to Install Ubuntu Tweak 0.5.1 in Ubuntuif you wanna to install this package manually, just go to their homepage. there you will be able to see which versions are available and which version you need. second way is to install this application through terminal using three simple...
- How to Get Your Song on the Radiowhether you're a solo artist or in a band, one of the best ways to get your music out there is to get it played on the radio. even if you start small at a local radio station, it can lead to national exposure. sending in your songs can...
- How to use TV 24 hours watching TV and radio on Windows 1024h radio tv offers hundreds of domestic and foreign channels completely free.
- 7 ways to speed up Ubuntuubuntu is the most widely used linux distribution due to its beautiful interface and power. but there are a few simple ways we can still make the operating system run faster.