Ways to Install and Uninstall crun Ubuntu 22.04

Updated: September 5, 2022

Fast and low-memory footprint OCI Container Runtime fully written in C. In this guide, I will show you ways to install crun Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 is needed for crun to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install crun on Ubuntu 22.04

Install crun Ubuntu 22.04

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

Install crun 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 get crun on your Ubuntu 22.04.

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

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. You can now install crun Ubuntu by executing this command in the terminal.

sudo apt install crun

Install crun using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt-get install aptitude

After installing, you can now install crun, just following these steps:

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

sudo apt-get update

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

sudo aptitude -y install crun

Uninstall crun on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a crun.

You can uninstall crun on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove crun

To uninstall crun and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge crun


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