How To Install trilead-ssh2 on Fedora 36
Introduction
In this tutorial we learn how to install trilead-ssh2
on Fedora 36.
What is trilead-ssh2
Trilead SSH-2 for Java is a library which implements the SSH-2 protocol in pure Java (tested on J2SE 1.4.2 and 5.0). It allows one to connect to SSH servers from within Java programs. It supports SSH sessions (remote command execution and shell access), local and remote port forwarding, local stream forwarding, X11 forwarding and SCP. There are no dependencies on any JCE provider, as all crypto functionality is included.
We can use yum
or dnf
to install trilead-ssh2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install trilead-ssh2.
Install trilead-ssh2 on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install trilead-ssh2
using dnf
by running the following command:
sudo dnf -y install trilead-ssh2
Install trilead-ssh2 on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install trilead-ssh2
using yum
by running the following command:
sudo yum -y install trilead-ssh2
How To Uninstall trilead-ssh2 on Fedora 36
To uninstall only the trilead-ssh2
package we can use the following command:
sudo dnf remove trilead-ssh2
trilead-ssh2 Package Contents on Fedora 36
/usr/share/doc/trilead-ssh2
/usr/share/doc/trilead-ssh2/HISTORY.txt
/usr/share/doc/trilead-ssh2/README.txt
/usr/share/java/trilead-ssh2
/usr/share/java/trilead-ssh2.jar
/usr/share/java/trilead-ssh2/trilead-ssh2.jar
/usr/share/licenses/trilead-ssh2
/usr/share/licenses/trilead-ssh2/LICENSE.txt
/usr/share/maven-metadata/trilead-ssh2.xml
/usr/share/maven-poms/trilead-ssh2
/usr/share/maven-poms/trilead-ssh2.pom
/usr/share/maven-poms/trilead-ssh2/trilead-ssh2.pom
References
Summary
In this tutorial we learn how to install trilead-ssh2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).