How To Install socnetv on Ubuntu 18.04

In this tutorial we learn how to install socnetv on Ubuntu 18.04. socnetv is Social Network Analysis and Visualisation application

Introduction

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

What is socnetv

socnetv is:

SocNetV is a graphical application designed to be an easy tool for Social Networks Analysis and Visualisation (not to be confused with social networking, as in online communities). With SocNetV, one can load and visualise networks of various formats (GraphViz, GraphML, Adjacency, Pajek, UCINET, etc), or visually create and modify a network/graph in a point and click fashion.

SocNetV can also compute network statistics and properties (such as distances, centralities, diameter) and apply some layout algorithms for more meaningful visualisation of your networks. Furthermore, SocNetV can create simple random networks (lattice, same degree, etc).

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

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

sudo apt-get update

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

sudo apt-get -y install socnetv

Install socnetv Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install socnetv

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

sudo aptitude -y install socnetv

How To Uninstall socnetv on Ubuntu 18.04

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

sudo apt-get remove socnetv

Uninstall socnetv And Its Dependencies

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

sudo apt-get -y autoremove socnetv

Remove socnetv Configurations and Data

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

sudo apt-get -y purge socnetv

Remove socnetv configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge socnetv

References

Summary

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