How To Install libshiro-java on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libshiro-java
on Ubuntu 20.04.
What is libshiro-java
libshiro-java is:
Apache Shiro is a powerful and flexible open-source security framework that cleanly handles authentication, authorization, enterprise session management, single sign-on and cryptography services.
Package: libshiro-java Architecture: all Version: 1.3.2-4 Priority: optional Section: universe/java Source: shiro Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Java Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 829 Depends: libcommons-beanutils-java, libslf4j-java Suggests: libaspectj-java, libcommons-cli-java, libehcache-java, libquartz-java, libspring-context-java, libtaglibs-standard-spec-java Filename: pool/universe/s/shiro/libshiro-java_1.3.2-4_all.deb Size: 555056 MD5sum: f06223013df64c6b6bb420299aa4b8ee SHA1: d1da3a689b1081aa460651a5767d4f8478610b1d SHA256: 9dfa623a992f7b686f67bf710cc65dd41b82b7a8443d614a283b1ffb66501541 Homepage: http://shiro.apache.org Description-en: Apache Shiro - Java Security Framework Apache Shiro is a powerful and flexible open-source security framework that cleanly handles authentication, authorization, enterprise session management, single sign-on and cryptography services.
There are three methods to install libshiro-java
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 libshiro-java Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libshiro-java
using apt-get
by running the following command:
sudo apt-get -y install libshiro-java
Install libshiro-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libshiro-java
using apt
by running the following command:
sudo apt -y install libshiro-java
Install libshiro-java 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 libshiro-java
using aptitude
by running the following command:
sudo aptitude -y install libshiro-java
How To Uninstall libshiro-java on Ubuntu 20.04
To uninstall only the libshiro-java
package we can use the following command:
sudo apt-get remove libshiro-java
Uninstall libshiro-java And Its Dependencies
To uninstall libshiro-java
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libshiro-java
Remove libshiro-java Configurations and Data
To remove libshiro-java
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libshiro-java
Remove libshiro-java configuration, data, and all of its dependencies
We can use the following command to remove libshiro-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libshiro-java
References
Summary
In this tutorial we learn how to install libshiro-java
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.