How To Install gradio on CentOS 8

gradio is Find and listen to internet radio stations

Introduction

In this tutorial we learn how to install gradio on CentOS 8.

What is gradio

A GTK3 app for finding and listening to internet radio stations.

We can use yum or dnf to install gradio on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install gradio.

Install gradio on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install gradio using dnf by running the following command:

sudo dnf -y install gradio

Install gradio on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install gradio using yum by running the following command:

sudo yum -y install gradio

How To Uninstall gradio on CentOS 8

To uninstall only the gradio package we can use the following command:

sudo dnf remove gradio

gradio Package Contents on CentOS 8

/usr/bin/gradio
/usr/lib/.build-id
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/9376ccb54805e9af50ef03c180539033d4a954
/usr/share/applications/de.haeckerfelix.gradio.desktop
/usr/share/dbus-1/services/de.haeckerfelix.gradio.service
/usr/share/doc/gradio
/usr/share/doc/gradio/README.md
/usr/share/glib-2.0/schemas/de.haeckerfelix.gradio.gschema.xml
/usr/share/gnome-shell/search-providers/de.haeckerfelix.gradio.search-provider.ini
/usr/share/icons/hicolor/16x16/apps/de.haeckerfelix.gradio.png
/usr/share/icons/hicolor/24x24/apps/de.haeckerfelix.gradio.png
/usr/share/icons/hicolor/256x256/apps/de.haeckerfelix.gradio.png
/usr/share/icons/hicolor/32x32/apps/de.haeckerfelix.gradio.png
/usr/share/icons/hicolor/48x48/apps/de.haeckerfelix.gradio.png
/usr/share/icons/hicolor/512x512/apps/de.haeckerfelix.gradio.png
/usr/share/icons/hicolor/scalable/apps/de.haeckerfelix.gradio.svg
/usr/share/icons/hicolor/symbolic/apps/de.haeckerfelix.gradio-symbolic.svg
/usr/share/licenses/gradio
/usr/share/licenses/gradio/LICENSE.md
/usr/share/locale/ca/LC_MESSAGES/gradio.mo
/usr/share/locale/cmn/LC_MESSAGES/gradio.mo
/usr/share/locale/cs/LC_MESSAGES/gradio.mo
/usr/share/locale/de/LC_MESSAGES/gradio.mo
/usr/share/locale/es/LC_MESSAGES/gradio.mo
/usr/share/locale/fi/LC_MESSAGES/gradio.mo
/usr/share/locale/fr/LC_MESSAGES/gradio.mo
/usr/share/locale/ga/LC_MESSAGES/gradio.mo
/usr/share/locale/hi/LC_MESSAGES/gradio.mo
/usr/share/locale/hr/LC_MESSAGES/gradio.mo
/usr/share/locale/hu/LC_MESSAGES/gradio.mo
/usr/share/locale/id/LC_MESSAGES/gradio.mo
/usr/share/locale/it/LC_MESSAGES/gradio.mo
/usr/share/locale/ja/LC_MESSAGES/gradio.mo
/usr/share/locale/ka/LC_MESSAGES/gradio.mo
/usr/share/locale/ko/LC_MESSAGES/gradio.mo
/usr/share/locale/nb/LC_MESSAGES/gradio.mo
/usr/share/locale/nl/LC_MESSAGES/gradio.mo
/usr/share/locale/pl/LC_MESSAGES/gradio.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gradio.mo
/usr/share/locale/pt_PT/LC_MESSAGES/gradio.mo
/usr/share/locale/ru/LC_MESSAGES/gradio.mo
/usr/share/locale/sk/LC_MESSAGES/gradio.mo
/usr/share/locale/sr/LC_MESSAGES/gradio.mo
/usr/share/locale/sr@latin/LC_MESSAGES/gradio.mo
/usr/share/locale/sv/LC_MESSAGES/gradio.mo
/usr/share/locale/tr/LC_MESSAGES/gradio.mo
/usr/share/metainfo/de.haeckerfelix.gradio.appdata.xml

References

Summary

In this tutorial we learn how to install gradio on CentOS 8 using yum and dnf.