How to Install or Uninstall ecb on Ubuntu 22.04

Updated: September 11, 2022

ECB is source code browser for Emacs. It is a global minor-mode which displays a couple of windows that can be used to browse directories, files and methods. It supports method parsing for Java, C, C++, Elisp etc. In this guide, I will show you ways to install ecb Ubuntu 22.04.

Prerequisites to install

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

Prerequisites to install ecb on Ubuntu 22.04

Install ecb Ubuntu 22.04

ecb 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 that you think is easy and you can follow.

Install ecb 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 ecb on your Ubuntu.

Step 1: Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install ecb Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt install ecb

Install ecb 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 -y install aptitude

After that, you can now install ecb by following these steps:

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

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install ecb Ubuntu by executing this command in the terminal.

sudo aptitude install ecb

Uninstall ecb 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 ecb.

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

sudo apt remove --auto-remove ecb

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

sudo apt autoremove --purge ecb

Ending

In this tutorial, I showed you ways to install ecb on Ubuntu 22.04 and ways to uninstall ecb too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.