How to Install and Uninstall apticron Ubuntu 22.04

Updated: September 5, 2022

Apticron is a simple script which sends daily emails about pending package updates such as security updates, properly handling packages on hold both by dselect and aptitude. I will show you how to install apticron on Ubuntu 22.04 in this guide.

Prerequisites to install

  • Operating system: apticron needs Ubuntu 22.04 to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install apticron on Ubuntu 22.04

Install apticron Ubuntu 22.04

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

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to install apticron 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. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

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

sudo apt-get install apticron

Install apticron using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt install aptitude

After that, you can now install apticron, just 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. Opening the terminal and executing the following Linux command:

sudo apt -y update

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

sudo aptitude -y install apticron

Uninstall apticron on Ubuntu 22.04

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

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

sudo apt remove --auto-remove apticron

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

sudo apt autoremove --purge apticron

Ending

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