How To Install libnvgraph10 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libnvgraph10
on Ubuntu 20.04.
What is libnvgraph10
libnvgraph10 is:
The NVIDIA Graph Analytics library (nvGRAPH) comprises of parallel algorithms for high performance analytics on graphs with up to 2 billion edges. nvGRAPH makes it possible to build interactive and high throughput graph analytics applications.
nvGRAPH supports three widely-used algorithms:
- [Page Rank] is most famously used in search engines, and also used in social network analysis, recommendation systems, and for novel uses in natural science when studying the relationship between proteins and in ecological networks.
- [Single Source Shortest Path] is used to identify the fastest path from A to B through a road network, and can also be used for a optimizing a wide range of other logistics problems.
- [Single Source Widest Path] is used in domains like IP traffic routing and traffic-sensitive path planning.
In addition, the nvGRAPH semi-ring SPMV operations can be used to build a wide range of innovative graph traversal algorithms.
nvGRAPH accelerates analysis of large graphs by making efficient use of the massive parallelism available in NVIDIA Tesla GPUs. The size of a graph in memory is dominated by the number of edges. An M40 with 24 GB can support a graph of up to 2 billion edges.
There are three methods to install libnvgraph10
on Ubuntu 20.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 libnvgraph10 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libnvgraph10
using apt-get
by running the following command:
sudo apt-get -y install libnvgraph10
Install libnvgraph10 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libnvgraph10
using apt
by running the following command:
sudo apt -y install libnvgraph10
Install libnvgraph10 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 libnvgraph10
using aptitude
by running the following command:
sudo aptitude -y install libnvgraph10
How To Uninstall libnvgraph10 on Ubuntu 20.04
To uninstall only the libnvgraph10
package we can use the following command:
sudo apt-get remove libnvgraph10
Uninstall libnvgraph10 And Its Dependencies
To uninstall libnvgraph10
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libnvgraph10
Remove libnvgraph10 Configurations and Data
To remove libnvgraph10
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libnvgraph10
Remove libnvgraph10 configuration, data, and all of its dependencies
We can use the following command to remove libnvgraph10
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libnvgraph10
References
Summary
In this tutorial we learn how to install libnvgraph10
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.