Tuesday, December 28, 2021

Kali Linux help for How to play a radio station on the Kali Linux command line with Pyradio. Featuring apt, snap && snapd by Ranger Smyth, Dec 2021.

 

 

Pic: A screenshot of the package in action 

 

Today we will cover installing the package pyradio, apt, snap && snapd install and play a song all from the command line.

 


Pyradio

Vitux.com writes; Pyradio is a free and open-source command line tool that lets you play your favourite radio stations through the Terminal. It is based on Python and now available on Snap from where you can install it easily.

Open your Ubuntu Terminal either through the Application Launcher search or by using the Ctrl+Alt+T shortcut. Enter the following command in order to refresh the list of available packages:

 

Install Instructions:

 $ sudo apt update

 $ sudo apt full-upgrade 

 $ sudo apt dist-upgrade

 $ sudo apt-get install snapd && snap

 $ sudo snap install pyradio

 $ pyradio --play

 
Today we covered pyradio, apt, snap && snapd.

 

1,468,737 BEST Congratulation IMAGES, STOCK PHOTOS & VECTORS | Adobe Stock

 

If you have any errors about snap-confine then read below for a link to another blog post where I fix the issue, and I was surprised that it also fixed another snap issue I was having with another package called 'Cointop'.

How to play a radio station on the command line and fix the error "snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks". 

 https://kali-ranger.blogspot.com/2021/12/kali-linux-help-for-pyradio-and-error.html

We will cover uninstall-install-removal of pyradio, snap, snapd, apparmor, and a few different service commands, such as apt, enable service, then start service. 

To find a package on the computer, to find the PID number of the package and service and if needed the kill command to stop it from running in it's tracks.  #imisswindows

I was able to fix the issue!! Well worth the time and effort!

 

 

 
Thank you and well done for making it this far, like me you have a long road of learning ahead of you. Now the packages are installed, it's time now to start to learn how to use them, being honest I have installed many packages but do not know how to use them. So a plan of learning one a day will help us both to catch up. 
 
Be safe,
Ranger.

Use these links for research.

 https://vitux.com/three-ways-to-listen-to-radio-via-ubuntu-terminal/

No comments:

Post a Comment

How to Search Google from the Command Line

    Probe the world's most popular search engine without leaving the terminal   https://www.omgubuntu.co.uk/2021/11/best-comman...