Ways to Uninstall or Install initscripts Ubuntu 22.04

Updated: September 6, 2022

The scripts in this package initialize a standard Debian system at boot time and shut it down at halt or reboot time. In this tutorial, I will show you how to install initscripts on Ubuntu 22.04.

Software Requirement

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

Prerequisites to install initscripts on Ubuntu 22.04

Install initscripts Ubuntu 22.04

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

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install initscripts on your Ubuntu 22.04.

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. Launch the terminal and enter 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 initscripts Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt-get -y install initscripts

Install initscripts 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. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt-get install aptitude

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

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

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. You can now install initscripts Ubuntu by executing this command in the terminal.

sudo aptitude install initscripts

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

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

sudo apt remove --auto-remove initscripts

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

sudo apt autoremove --purge initscripts


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