Chapter 2. Installing FindBugs™
Prev |  | Next

# Chapter 2. Installing FindBugs™

This chapter explains how to install FindBugs.

## 1. Extracting the Distribution

The easiest way to install FindBugs is to download a binary distribution. Binary distributions are available in gzipped tar format and zip format. Once you have downloaded a binary distribution, extract it into a directory of your choice.

Extracting a gzipped tar format distribution:

    $ gunzip -c findbugs-3.1.0-dev-20260221-UNKNOWN.tar.gz | tar xvf -

Extracting a zip format distribution:

    C:\Software>unzip findbugs-3.1.0-dev-20260221-UNKNOWN.zip

Usually, extracting a binary distribution will create a directory ending in `findbugs-3.1.0-dev-20260221-UNKNOWN`. For example, if you extracted the binary distribution from the `C:\Software` directory, then the FindBugs software will be extracted into the directory `C:\Software\findbugs-3.1.0-dev-20260221-UNKNOWN`. This directory is the FindBugs home directory. We'll refer to it as `$FINDBUGS_HOME` (or `%FINDBUGS_HOME%` for Windows) throughout this manual.

Prev |  | Next
Chapter 1. Introduction | Home | Chapter 3. Building FindBugs™ from Source