Ways to Uninstall or Install cli-spinner on Ubuntu 22.04

Updated: October 20, 2022

Simple spinner for the commandline while your CLI application is working. The cli-spinner binary isn’t really functional, it’s a commandline example. If you to want use a spinner library in your software, please, install golang-github-odeke-em-cli-spinner-dev package. I will show you how to install cli-spinner on Ubuntu 22.04 in this tutorial.

Prerequisites to install

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install cli-spinner on Ubuntu 22.04

Install cli-spinner Ubuntu 22.04

cli-spinner 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 cli-spinner using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these steps to get cli-spinner on your Ubuntu.

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt update

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

sudo apt-get install cli-spinner

Install cli-spinner using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get install aptitude

After that, you can now install cli-spinner by following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

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

sudo aptitude -y install cli-spinner

Uninstall cli-spinner on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

You can uninstall cli-spinner Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove cli-spinner

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

sudo apt autoremove --purge cli-spinner

Summary

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