How To Install libjs-angularjs-smart-table on Ubuntu 18.04

In this tutorial we learn how to install libjs-angularjs-smart-table on Ubuntu 18.04. libjs-angularjs-smart-table is table module for angular js

Introduction

In this tutorial we learn how to install libjs-angularjs-smart-table on Ubuntu 18.04.

What is libjs-angularjs-smart-table

libjs-angularjs-smart-table is:

Smart table is a table module for angular js. It allows one to quickly compose a table in a declarative way including sorting, filtering, row selection pagination. It is lightweight (around 3kb minified) and has no other dependencies than Angular itself.

There are three methods to install libjs-angularjs-smart-table 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 libjs-angularjs-smart-table Using apt-get

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

sudo apt-get update

After updating apt database, We can install libjs-angularjs-smart-table using apt-get by running the following command:

sudo apt-get -y install libjs-angularjs-smart-table

Install libjs-angularjs-smart-table Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libjs-angularjs-smart-table using apt by running the following command:

sudo apt -y install libjs-angularjs-smart-table

Install libjs-angularjs-smart-table 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 libjs-angularjs-smart-table using aptitude by running the following command:

sudo aptitude -y install libjs-angularjs-smart-table

How To Uninstall libjs-angularjs-smart-table on Ubuntu 18.04

To uninstall only the libjs-angularjs-smart-table package we can use the following command:

sudo apt-get remove libjs-angularjs-smart-table

Uninstall libjs-angularjs-smart-table And Its Dependencies

To uninstall libjs-angularjs-smart-table and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libjs-angularjs-smart-table

Remove libjs-angularjs-smart-table Configurations and Data

To remove libjs-angularjs-smart-table configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libjs-angularjs-smart-table

Remove libjs-angularjs-smart-table configuration, data, and all of its dependencies

We can use the following command to remove libjs-angularjs-smart-table configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libjs-angularjs-smart-table

References

Summary

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