How To Install novnc on Fedora 34

novnc is VNC client using HTML5 (Web Sockets, Canvas) with encryption support

Introduction

In this tutorial we learn how to install novnc on Fedora 34.

What is novnc

noVNC is both a HTML VNC client JavaScript library and an application built on top of that library. noVNC runs well in any modern browser including mobile browsers (iOS and Android).

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

Install novnc on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install novnc

Install novnc on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install novnc

How To Uninstall novnc on Fedora 34

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

sudo dnf remove novnc

novnc Package Contents on Fedora 34

/usr/bin/novnc_server
/usr/share/doc/novnc
/usr/share/doc/novnc/LICENSE.txt
/usr/share/doc/novnc/README.md
/usr/share/novnc
/usr/share/novnc/AUTHORS
/usr/share/novnc/LICENSE.txt
/usr/share/novnc/README.md
/usr/share/novnc/app
/usr/share/novnc/app/error-handler.js
/usr/share/novnc/app/images
/usr/share/novnc/app/images/alt.svg
/usr/share/novnc/app/images/clipboard.svg
/usr/share/novnc/app/images/connect.svg
/usr/share/novnc/app/images/ctrl.svg
/usr/share/novnc/app/images/ctrlaltdel.svg
/usr/share/novnc/app/images/disconnect.svg
/usr/share/novnc/app/images/drag.svg
/usr/share/novnc/app/images/error.svg
/usr/share/novnc/app/images/esc.svg
/usr/share/novnc/app/images/expander.svg
/usr/share/novnc/app/images/fullscreen.svg
/usr/share/novnc/app/images/handle.svg
/usr/share/novnc/app/images/handle_bg.svg
/usr/share/novnc/app/images/icons
/usr/share/novnc/app/images/icons/Makefile
/usr/share/novnc/app/images/icons/novnc-120x120.png
/usr/share/novnc/app/images/icons/novnc-144x144.png
/usr/share/novnc/app/images/icons/novnc-152x152.png
/usr/share/novnc/app/images/icons/novnc-16x16.png
/usr/share/novnc/app/images/icons/novnc-192x192.png
/usr/share/novnc/app/images/icons/novnc-24x24.png
/usr/share/novnc/app/images/icons/novnc-32x32.png
/usr/share/novnc/app/images/icons/novnc-48x48.png
/usr/share/novnc/app/images/icons/novnc-60x60.png
/usr/share/novnc/app/images/icons/novnc-64x64.png
/usr/share/novnc/app/images/icons/novnc-72x72.png
/usr/share/novnc/app/images/icons/novnc-76x76.png
/usr/share/novnc/app/images/icons/novnc-96x96.png
/usr/share/novnc/app/images/icons/novnc-icon-sm.svg
/usr/share/novnc/app/images/icons/novnc-icon.svg
/usr/share/novnc/app/images/info.svg
/usr/share/novnc/app/images/keyboard.svg
/usr/share/novnc/app/images/power.svg
/usr/share/novnc/app/images/settings.svg
/usr/share/novnc/app/images/tab.svg
/usr/share/novnc/app/images/toggleextrakeys.svg
/usr/share/novnc/app/images/warning.svg
/usr/share/novnc/app/images/windows.svg
/usr/share/novnc/app/locale
/usr/share/novnc/app/locale/README
/usr/share/novnc/app/locale/cs.json
/usr/share/novnc/app/locale/de.json
/usr/share/novnc/app/locale/el.json
/usr/share/novnc/app/locale/es.json
/usr/share/novnc/app/locale/ja.json
/usr/share/novnc/app/locale/ko.json
/usr/share/novnc/app/locale/nl.json
/usr/share/novnc/app/locale/pl.json
/usr/share/novnc/app/locale/ru.json
/usr/share/novnc/app/locale/sv.json
/usr/share/novnc/app/locale/tr.json
/usr/share/novnc/app/locale/zh_CN.json
/usr/share/novnc/app/locale/zh_TW.json
/usr/share/novnc/app/localization.js
/usr/share/novnc/app/sounds
/usr/share/novnc/app/sounds/CREDITS
/usr/share/novnc/app/sounds/bell.mp3
/usr/share/novnc/app/sounds/bell.oga
/usr/share/novnc/app/styles
/usr/share/novnc/app/styles/Orbitron700.ttf
/usr/share/novnc/app/styles/Orbitron700.woff
/usr/share/novnc/app/styles/base.css
/usr/share/novnc/app/ui.js
/usr/share/novnc/app/webutil.js
/usr/share/novnc/core
/usr/share/novnc/core/base64.js
/usr/share/novnc/core/decoders
/usr/share/novnc/core/decoders/copyrect.js
/usr/share/novnc/core/decoders/hextile.js
/usr/share/novnc/core/decoders/raw.js
/usr/share/novnc/core/decoders/rre.js
/usr/share/novnc/core/decoders/tight.js
/usr/share/novnc/core/decoders/tightpng.js
/usr/share/novnc/core/deflator.js
/usr/share/novnc/core/des.js
/usr/share/novnc/core/display.js
/usr/share/novnc/core/encodings.js
/usr/share/novnc/core/inflator.js
/usr/share/novnc/core/input
/usr/share/novnc/core/input/domkeytable.js
/usr/share/novnc/core/input/fixedkeys.js
/usr/share/novnc/core/input/gesturehandler.js
/usr/share/novnc/core/input/keyboard.js
/usr/share/novnc/core/input/keysym.js
/usr/share/novnc/core/input/keysymdef.js
/usr/share/novnc/core/input/util.js
/usr/share/novnc/core/input/vkeys.js
/usr/share/novnc/core/input/xtscancodes.js
/usr/share/novnc/core/rfb.js
/usr/share/novnc/core/util
/usr/share/novnc/core/util/browser.js
/usr/share/novnc/core/util/cursor.js
/usr/share/novnc/core/util/element.js
/usr/share/novnc/core/util/events.js
/usr/share/novnc/core/util/eventtarget.js
/usr/share/novnc/core/util/int.js
/usr/share/novnc/core/util/logging.js
/usr/share/novnc/core/util/polyfill.js
/usr/share/novnc/core/util/strings.js
/usr/share/novnc/core/websock.js
/usr/share/novnc/docs
/usr/share/novnc/docs/API-internal.md
/usr/share/novnc/docs/API.md
/usr/share/novnc/docs/EMBEDDING.md
/usr/share/novnc/docs/LIBRARY.md
/usr/share/novnc/docs/LICENSE.BSD-2-Clause
/usr/share/novnc/docs/LICENSE.BSD-3-Clause
/usr/share/novnc/docs/LICENSE.MPL-2.0
/usr/share/novnc/docs/LICENSE.OFL-1.1
/usr/share/novnc/docs/flash_policy.txt
/usr/share/novnc/docs/links
/usr/share/novnc/docs/notes
/usr/share/novnc/docs/rfb_notes
/usr/share/novnc/docs/rfbproto-3.3.pdf
/usr/share/novnc/docs/rfbproto-3.7.pdf
/usr/share/novnc/docs/rfbproto-3.8.pdf
/usr/share/novnc/index.html
/usr/share/novnc/karma.conf.js
/usr/share/novnc/package.json
/usr/share/novnc/po
/usr/share/novnc/po/.eslintrc
/usr/share/novnc/po/Makefile
/usr/share/novnc/po/cs.po
/usr/share/novnc/po/de.po
/usr/share/novnc/po/el.po
/usr/share/novnc/po/es.po
/usr/share/novnc/po/ja.po
/usr/share/novnc/po/ko.po
/usr/share/novnc/po/nl.po
/usr/share/novnc/po/noVNC.pot
/usr/share/novnc/po/pl.po
/usr/share/novnc/po/po2js
/usr/share/novnc/po/ru.po
/usr/share/novnc/po/sv.po
/usr/share/novnc/po/tr.po
/usr/share/novnc/po/xgettext-html
/usr/share/novnc/po/zh_CN.po
/usr/share/novnc/po/zh_TW.po
/usr/share/novnc/snap
/usr/share/novnc/snap/hooks
/usr/share/novnc/snap/hooks/configure
/usr/share/novnc/snap/local
/usr/share/novnc/snap/local/svc_wrapper.sh
/usr/share/novnc/snap/snapcraft.yaml
/usr/share/novnc/tests
/usr/share/novnc/tests/.eslintrc
/usr/share/novnc/tests/assertions.js
/usr/share/novnc/tests/fake.websocket.js
/usr/share/novnc/tests/karma-test-main.js
/usr/share/novnc/tests/playback-ui.js
/usr/share/novnc/tests/playback.js
/usr/share/novnc/tests/test.base64.js
/usr/share/novnc/tests/test.deflator.js
/usr/share/novnc/tests/test.display.js
/usr/share/novnc/tests/test.gesturehandler.js
/usr/share/novnc/tests/test.helper.js
/usr/share/novnc/tests/test.int.js
/usr/share/novnc/tests/test.keyboard.js
/usr/share/novnc/tests/test.localization.js
/usr/share/novnc/tests/test.rfb.js
/usr/share/novnc/tests/test.util.js
/usr/share/novnc/tests/test.websock.js
/usr/share/novnc/tests/test.webutil.js
/usr/share/novnc/tests/vnc_playback.html
/usr/share/novnc/utils
/usr/share/novnc/utils/.eslintrc
/usr/share/novnc/utils/README.md
/usr/share/novnc/utils/b64-to-binary.pl
/usr/share/novnc/utils/genkeysymdef.js
/usr/share/novnc/utils/launch.sh
/usr/share/novnc/utils/u2x11
/usr/share/novnc/utils/use_require.js
/usr/share/novnc/utils/use_require_helpers.js
/usr/share/novnc/utils/validate
/usr/share/novnc/vendor
/usr/share/novnc/vendor/browser-es-module-loader
/usr/share/novnc/vendor/browser-es-module-loader/README.md
/usr/share/novnc/vendor/browser-es-module-loader/dist
/usr/share/novnc/vendor/browser-es-module-loader/dist/babel-worker.js
/usr/share/novnc/vendor/browser-es-module-loader/dist/browser-es-module-loader.js
/usr/share/novnc/vendor/browser-es-module-loader/dist/browser-es-module-loader.js.map
/usr/share/novnc/vendor/browser-es-module-loader/genworker.js
/usr/share/novnc/vendor/browser-es-module-loader/rollup.config.js
/usr/share/novnc/vendor/browser-es-module-loader/src
/usr/share/novnc/vendor/browser-es-module-loader/src/babel-worker.js
/usr/share/novnc/vendor/browser-es-module-loader/src/browser-es-module-loader.js
/usr/share/novnc/vendor/pako
/usr/share/novnc/vendor/pako/LICENSE
/usr/share/novnc/vendor/pako/README.md
/usr/share/novnc/vendor/pako/lib
/usr/share/novnc/vendor/pako/lib/utils
/usr/share/novnc/vendor/pako/lib/utils/common.js
/usr/share/novnc/vendor/pako/lib/zlib
/usr/share/novnc/vendor/pako/lib/zlib/adler32.js
/usr/share/novnc/vendor/pako/lib/zlib/constants.js
/usr/share/novnc/vendor/pako/lib/zlib/crc32.js
/usr/share/novnc/vendor/pako/lib/zlib/deflate.js
/usr/share/novnc/vendor/pako/lib/zlib/gzheader.js
/usr/share/novnc/vendor/pako/lib/zlib/inffast.js
/usr/share/novnc/vendor/pako/lib/zlib/inflate.js
/usr/share/novnc/vendor/pako/lib/zlib/inftrees.js
/usr/share/novnc/vendor/pako/lib/zlib/messages.js
/usr/share/novnc/vendor/pako/lib/zlib/trees.js
/usr/share/novnc/vendor/pako/lib/zlib/zstream.js
/usr/share/novnc/vendor/promise.js
/usr/share/novnc/vnc.html
/usr/share/novnc/vnc_auto.html
/usr/share/novnc/vnc_lite.html

References

Summary

In this tutorial we learn how to install novnc on Fedora 34 using yum and dnf.