How To Install scotch_gtst on Kali Linux
In this guide, we’ll discuss How To Install scotch_gtst on Kali Linux.
Also, we will demonstrate how to uninstall and update
scotch_gtst
.
One-liner install command
For those in a hurry, here's a one-line installation command:
sudo apt-get update && sudo apt -y install scotch
But if you are interested in the detailed steps with descriptions, the following information is for you.
What is scotch_gtst
and what are
the ways to install it?
Short description: programs and libraries for graph, mesh and hypergraph partitioning
Before beginning this tutorial, you will need access to a server or computer running Kali Linux. This guide was written specifically with a server running Kali Linux in mind, although it should also work on older, supported versions of the operating system.
Also, make sure you are running a regular, non-root user with sudo privileges configured on your server. When you have an account available, log in as your non-root user to begin.
There are several ways to install scotch_gtst on Kali Linux. You can use (links are clickable):
In the following sections, we will describe each method in detail. You can choose one of them or refer to the recommended one.
Install scotch_gtst using apt-get
First, update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt-get
database,
You can install scotch_gtst using apt
by running the
following command:
sudo apt -y install scotch
Install scotch_gtst using apt
Because scotch_gtst is available in Kali Linux’s default repositories, it is possible to install it from these repositories using the apt packaging system.
To begin, update apt database with apt
using the following command.
sudo apt update
After updating apt
database,
You can install scotch_gtst using apt
by running the
following command:
sudo apt -y install scotch
Install scotch_gtst 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 Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude update
After updating aptitude
database,
You can install scotch_gtst by running the following command:
sudo aptitude -y install scotch
How to upgrade (update) a single package scotch_gtst using apt-get?
First, you will need to update packages index. Run update
command as
usual:
sudo apt-get update
Next, to upgrade only the scotch_gtst, e.g. single package, you should use the following format with the apt-get command/apt command:
sudo apt-get --only-upgrade install scotch
Note that this command will not install any new packages! If you wish to install the
package if it doesn't exist you may leave out --only-upgrade
part.
It's Good to Know:
sudo apt-get install scotch
This will upgrade the package even if is already installed.
How To Uninstall scotch_gtst from Kali Linux
To uninstall only the scotch_gtst
package you can execute
the
following command:
sudo apt-get remove scotch
Uninstall scotch_gtst and all its dependencies
To uninstall scotch_gtst and its dependencies that are no longer needed by Kali Linux, you can use the command below:
sudo apt-get -y autoremove scotch
Remove scotch_gtst with all configurations and data
To remove scotch_gtst configuration and data
from your system you can run the following purge
command:
sudo apt-get -y purge scotch
Remove scotch_gtst completely (configurations, data and all of its dependencies)
And lastly, you can run the next command to remove absolutely everything related to scotch_gtst package, e.g.: configurations, data and all of its dependencies. Just use this command:
sudo apt-get -y autoremove --purge scotch
Extra info and code examples
Its purpose is to apply graph theory, with a divide and conquer approach, to scientific computing problems such as graph and mesh partitioning, static mapping, and sparse matrix ordering, in application domains ranging from structural mechanics to operating systems or bio-chemistry. The SCOTCH distribution is a set of programs and libraries which implement the static mapping and sparse matrix reordering algorithms developed within the SCOTCH project. SCOTCH has many interesting features: o Its capabilities can be used through a set of stand-alone programs as well as through the libSCOTCH library, which offers both C and Fortran interfaces. o It provides algorithms to partition graph structures, as well as mesh structures defined as node-element bipartite graphs and which can also represent hypergraphs. o It can map any weighted source graph onto any weighted target graph. The source and target graphs may have any topology, and their vertices and edges may be weighted. Moreover, both source and target graphs may be disconnected. This feature allows for the mapping of programs onto disconnected subparts of a parallel architecture made up of heterogeneous processors and communication links. o It computes amalgamated block orderings of sparse matrices, for efficient solving using BLAS routines. o Its running time is linear in the number of edges of the source graph, and logarithmic in the number of vertices of the target graph for mapping computations. o It can handle indifferently graph and mesh data structures created within C or Fortran programs, with array indices starting from 0 or 1. o It offers extended support for adaptive graphs and meshes through the handling of disjoint edge arrays. o It is dynamically parametrizable thanks to strategy strings that are interpreted at run-time. o It uses system memory efficiently, to process large graphs and meshes without incurring out-of-memory faults; o It is highly modular and documented. Since it has been released under the CeCILL-C free/libre software license, it can be used as a testbed for the easy and quick development and testing of new partitioning and ordering methods. o It can be easily interfaced to other programs. The programs comprising the SCOTCH project have been designed to run in command-line mode without any interactive prompting, so that they can be called easily from other programs by means of system() or popen() calls, or piped together on a single command line. Moreover, vertex labeling capabilities allow for easy renumbering of vertices. o It provides many tools to build, check, and display graphs, meshes and matrix patterns. o It is written in C and uses the POSIX interface, which makes it highly portable. PT-SCOTCH uses the MPI interface, and optionally the POSIX threads.
- Maintainer: Debian Science Maintainers
- Sources url: http://www.labri.fr/perso/pelegrin/scotch/
- Section/Category: math
Conclusion
You now have a full guide on how to install scotch_gtst
using apt, apt-get and aptitude tools.
Also, we showed how to update as a single package and different ways to uninstall
the scotch_gtst from Kali Linux.