How To Install libtree-simple-visitorfactory-perl on Kali Linux
Introduction
In this tutorial we learn how to install libtree-simple-visitorfactory-perl on Kali Linux.
What is libtree-simple-visitorfactory-perl
libtree-simple-visitorfactory-perl is:
The Tree::Simple::VisitorFactory module contains a number of visitor objects which can perform various tasks on Tree::Simple objects.
The following visitors are included:
- PathToRoot: find the path back to the tree’s root node
- FindByPath: find the node specified by a path
- FindByUID: find the node with the same UID
- FindByNodeValue: find the node with the same node value
- BreadthFirstTraversal: implements a breadth-first traversal
- PostOrderTraversal: implements a post-order traversal
- PreOrderTraversal: implements a pre-order traversal
- LoadDirectoryTree: load a directory tree into a Tree::Simple hierarchy
- CreateDirectoryTree: create a set of directories and files from a Tree::Simple hierarchy
- FromNestedArray: create a Tree::Simple hierarchy from nested arrays
- ToNestedArray: create a nested array construct from a Tree::Simple hierarchy
- Tree::Simple::Visitor::VariableDepthClone: clone parts of Tree hierarchies
- FromNestedHash: create a Tree::Simple hierarchy from nested hashes
- ToNestedHash: create a nested hash construct from a Tree::Simple hierarchy
- LoadClassHierarchy: create a Tree::Simple hierarchy which models the classes inheritance hierarchy
- GetAllDescendents: return all the descendents recursively on down the hierarchy
- Sort: implements a multi-level sort of a Tree::Simple hierarchy
There are three methods to install libtree-simple-visitorfactory-perl on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libtree-simple-visitorfactory-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libtree-simple-visitorfactory-perl using apt-get by running the following command:
sudo apt-get -y install libtree-simple-visitorfactory-perlInstall libtree-simple-visitorfactory-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libtree-simple-visitorfactory-perl using apt by running the following command:
sudo apt -y install libtree-simple-visitorfactory-perlInstall libtree-simple-visitorfactory-perl Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install libtree-simple-visitorfactory-perl using aptitude by running the following command:
sudo aptitude -y install libtree-simple-visitorfactory-perlHow To Uninstall libtree-simple-visitorfactory-perl on Kali Linux
To uninstall only the libtree-simple-visitorfactory-perl package we can use the following command:
sudo apt-get remove libtree-simple-visitorfactory-perlUninstall libtree-simple-visitorfactory-perl And Its Dependencies
To uninstall libtree-simple-visitorfactory-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libtree-simple-visitorfactory-perlRemove libtree-simple-visitorfactory-perl Configurations and Data
To remove libtree-simple-visitorfactory-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libtree-simple-visitorfactory-perlRemove libtree-simple-visitorfactory-perl configuration, data, and all of its dependencies
We can use the following command to remove libtree-simple-visitorfactory-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtree-simple-visitorfactory-perlDependencies
libtree-simple-visitorfactory-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libtree-simple-visitorfactory-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.