How To Install libsvmloc-dev on Ubuntu 18.04

In this tutorial we learn how to install libsvmloc-dev on Ubuntu 18.04. libsvmloc-dev is PSORTb adapted library for svm machine-learning library (dev)

Introduction

In this tutorial we learn how to install libsvmloc-dev on Ubuntu 18.04.

What is libsvmloc-dev

libsvmloc-dev is:

Libsvm is a machine-learning library which is an easy-to-use package for support vector classification, regression and one-class SVM. It supports multi-class classification, probability outputs, and parameter selection.

PSORTb was featuring a code copy plus some local additions. This library is linked against the Debian packaged libsvn and just contains the PSORTb extensions.

PSORTb enables prediction of bacterial protein subcellular localization (SCL) and provides a quick and inexpensive means for gaining insight into protein function, verifying experimental results, annotating newly sequenced bacterial genomes, detecting potential cell surface/secreted drug targets, as well as identifying biomarkers for microbes.

This library needed by PSORTb is distributed separately by upstream.

This package contains the static library which is needed to link PSORTb.

There are three methods to install libsvmloc-dev 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 libsvmloc-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libsvmloc-dev

Install libsvmloc-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsvmloc-dev

Install libsvmloc-dev 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 libsvmloc-dev using aptitude by running the following command:

sudo aptitude -y install libsvmloc-dev

How To Uninstall libsvmloc-dev on Ubuntu 18.04

To uninstall only the libsvmloc-dev package we can use the following command:

sudo apt-get remove libsvmloc-dev

Uninstall libsvmloc-dev And Its Dependencies

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

sudo apt-get -y autoremove libsvmloc-dev

Remove libsvmloc-dev Configurations and Data

To remove libsvmloc-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libsvmloc-dev

Remove libsvmloc-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsvmloc-dev

References

Summary

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