How to Install or Uninstall initz Ubuntu 22.04

Updated: August 29, 2022

Initz handles the switching of various startup initialization files of emacsen provided for various environment. According to the environment (maybe emacs version, OS type or OS versions) Initz reads appropriate init files provided by the user in several directories, one for one environment. In this tutorial, I will show you ways to install initz Ubuntu 22.04.

Prerequisites

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install initz on Ubuntu 22.04

Install initz Ubuntu 22.04

initz 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 initz using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these steps to install initz 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 fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get -y update

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

sudo apt -y install initz

Install initz using Aptitude

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

sudo apt-get -y install aptitude

After that, you can now install initz, just following these steps:

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 the system, you can install initz Ubuntu by executing this command in the terminal.

sudo aptitude install initz

Uninstall initz on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a initz, can be easily uninstalled by anyone.

This command can be used to uninstall initz from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove initz

You can also execute this command if you want to uninstall initz and remove its data and dependencies:

sudo apt autoremove --purge initz

Conclusion

In this guide, I showed you ways to install initz on Ubuntu 22.04 and some ways to uninstall initz too. Please contact me if you require any assistance. I’d be delighted to respond.