Ways to Install or Uninstall sysnews on Ubuntu 22.04

Updated: September 8, 2022

The news command keeps you informed of news concerning the system. Each news item is contained in a separate file in the /var/lib/sysnews directory. Anyone having write permission to this directory can create a news file. In this guide, I will show you ways to install sysnews Ubuntu 22.04.

Requirements to install

  • Operating system: sysnews needs Ubuntu 22.04 to work
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install sysnews on Ubuntu 22.04

Install sysnews Ubuntu 22.04

sysnews is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install sysnews 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 instructions to install sysnews on your Ubuntu 22.04.

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

sudo apt-get -y update

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

sudo apt-get -y install sysnews

Install sysnews using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get install aptitude

After installing aptitude, you can now install sysnews 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 update

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

sudo aptitude install sysnews

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

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

sudo apt remove --auto-remove sysnews

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

sudo apt autoremove --purge sysnews

Summary

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