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
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!
Use these links for research.
https://vitux.com/three-ways-to-listen-to-radio-via-ubuntu-terminal/
No comments:
Post a Comment