How to Uninstall and Install novnc on Ubuntu 22.04

Updated: October 8, 2022

noVNC is a HTML5 VNC (WebSockets, Canvas) with encryption (wss://) support client that runs well in any modern browser including mobile browsers (iPhone/iPad and Android). More than 16 companies/projects have integrated noVNC into their products including Ganeti Web Manager, OpenStack, and OpenNebula. In this guide, I will show you ways to install novnc Ubuntu 22.04.

Prerequisites to install

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install novnc on Ubuntu 22.04

Install novnc Ubuntu 22.04

novnc is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install novnc using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install novnc on your Ubuntu.

Step 1: Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install novnc Ubuntu by executing this command in the terminal.

sudo apt-get -y install novnc

Install novnc using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt -y install aptitude

Then, you can now install novnc by following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install novnc Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude -y install novnc

Uninstall novnc on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just novnc.

If you installed novnc using APT or Aptitude, you could uninstall novnc on Ubuntu by following this step:

sudo apt remove --auto-remove novnc

If you want to uninstall novnc and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge novnc


In this guide, I showed you ways to install novnc on Ubuntu 22.04 and ways to uninstall novnc too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.