How To Install procyon-decompiler on Debian 9

In this tutorial we learn how to install procyon-decompiler on Debian 9. procyon-decompiler is Procyon Java Decompiler

Introduction

In this tutorial we learn how to install procyon-decompiler on Debian 9.

What is procyon-decompiler

procyon-decompiler is:

Procyon is a Java decompiler handling language enhancements from Java 5 and beyond that most other decompilers don’t. It also excels in areas where others fall short. Procyon in particular does well with:

  • Enum declarations
  • Enum and String switch statements
  • Local classes (both anonymous and named)
  • Annotations
  • Java 8 Lambdas and method references

There are three methods to install procyon-decompiler on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install procyon-decompiler Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install procyon-decompiler using apt-get by running the following command:

sudo apt-get -y install procyon-decompiler

Install procyon-decompiler Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install procyon-decompiler using apt by running the following command:

sudo apt -y install procyon-decompiler

Install procyon-decompiler 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install procyon-decompiler using aptitude by running the following command:

sudo aptitude -y install procyon-decompiler

How To Uninstall procyon-decompiler on Debian 9

To uninstall only the procyon-decompiler package we can use the following command:

sudo apt-get remove procyon-decompiler

Uninstall procyon-decompiler And Its Dependencies

To uninstall procyon-decompiler and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove procyon-decompiler

Remove procyon-decompiler Configurations and Data

To remove procyon-decompiler configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge procyon-decompiler

Remove procyon-decompiler configuration, data, and all of its dependencies

We can use the following command to remove procyon-decompiler configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge procyon-decompiler

Dependencies

procyon-decompiler have the following dependencies:

References

Summary

In this tutorial we learn how to install procyon-decompiler package on Debian 9 using different package management tools: apt, apt-get and aptitude.