How To Install since on Ubuntu 18.04

In this tutorial we learn how to install since on Ubuntu 18.04. since is tail(1) work-alike that saves and uses state information

Introduction

In this tutorial we learn how to install since on Ubuntu 18.04.

What is since

since is:

since is a tail(1) work-alike that remembers how much of a file you have viewed and displays only what’s new when you next view that file. Ideal for viewing log files (it’ll only show what’s new in the file since the last time it was run).

There are three methods to install since on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install since Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install since using apt-get by running the following command:

sudo apt-get -y install since

Install since Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install since using apt by running the following command:

sudo apt -y install since

Install since Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install since using aptitude by running the following command:

sudo aptitude -y install since

How To Uninstall since on Ubuntu 18.04

To uninstall only the since package we can use the following command:

sudo apt-get remove since

Uninstall since And Its Dependencies

To uninstall since and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove since

Remove since Configurations and Data

To remove since configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge since

Remove since configuration, data, and all of its dependencies

We can use the following command to remove since configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge since

References

Summary

In this tutorial we learn how to install since package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.