How To Install cockpit-bridge on Rocky Linux 8

In this tutorial we learn how to install cockpit-bridge on Rocky Linux 8. cockpit-bridge is Cockpit bridge server-side component

Introduction

In this tutorial we learn how to install cockpit-bridge on Rocky Linux 8.

What is cockpit-bridge

The Cockpit bridge component installed server side and runs commands on the system on behalf of the web based user interface.

We can use yum or dnf to install cockpit-bridge on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install cockpit-bridge.

Install cockpit-bridge on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install cockpit-bridge

Install cockpit-bridge on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install cockpit-bridge using yum by running the following command:

sudo yum -y install cockpit-bridge

How To Uninstall cockpit-bridge on Rocky Linux 8

To uninstall only the cockpit-bridge package we can use the following command:

sudo dnf remove cockpit-bridge

cockpit-bridge Package Contents on Rocky Linux 8

/etc/cockpit/machines.d
/usr/bin/cockpit-bridge
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/a7d7a822b4e0614e083dbbc5eef8571307e68f
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/31e8b2117b1402955556ea5b9d28eb753d7ad6
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/d26fb27b0497dc4ce239142597edf54bbf0895
/usr/libexec/cockpit-askpass
/usr/libexec/cockpit-ssh
/usr/share/cockpit/base1
/usr/share/cockpit/base1/cockpit.css.gz
/usr/share/cockpit/base1/cockpit.js.gz
/usr/share/cockpit/base1/fonts
/usr/share/cockpit/base1/fonts/fontawesome.woff
/usr/share/cockpit/base1/fonts/glyphicons.woff
/usr/share/cockpit/base1/fonts/patternfly.woff
/usr/share/cockpit/base1/manifest.json
/usr/share/cockpit/base1/patternfly.css.gz
/usr/share/cockpit/base1/po.cs.js.gz
/usr/share/cockpit/base1/po.de.js.gz
/usr/share/cockpit/base1/po.es.js.gz
/usr/share/cockpit/base1/po.fi.js.gz
/usr/share/cockpit/base1/po.fr.js.gz
/usr/share/cockpit/base1/po.he.js.gz
/usr/share/cockpit/base1/po.it.js.gz
/usr/share/cockpit/base1/po.ja.js.gz
/usr/share/cockpit/base1/po.ko.js.gz
/usr/share/cockpit/base1/po.nl.js.gz
/usr/share/cockpit/base1/po.pl.js.gz
/usr/share/cockpit/base1/po.pt_BR.js.gz
/usr/share/cockpit/base1/po.ru.js.gz
/usr/share/cockpit/base1/po.sk.js.gz
/usr/share/cockpit/base1/po.sv.js.gz
/usr/share/cockpit/base1/po.tr.js.gz
/usr/share/cockpit/base1/po.uk.js.gz
/usr/share/cockpit/base1/po.zh_CN.js.gz
/usr/share/cockpit/base1/po.zh_TW.js.gz
/usr/share/cockpit/ssh
/usr/share/cockpit/ssh/manifest.json
/usr/share/man/man1/cockpit-bridge.1.gz
/usr/share/polkit-1/actions/org.cockpit-project.cockpit-bridge.policy

References

Summary

In this tutorial we learn how to install cockpit-bridge on Rocky Linux 8 using yum and dnf.