Skip to content

Installation

Fernando Mercês edited this page Jan 12, 2021 · 3 revisions

Downloading and running pre-compiled binaries

Windows

Go to releases page, download the latest pev-x.xx-win.zip package, extract it and double click the run.bat script.

Linux

Packages exist for most Linux flavors like Debian, Ubuntu, Arch, Kali, etc. Commands like these should generally work:

apt install pev
yum install pev

macOS

There is a brew formula too!

brew install pev

Compiling from the sources

If a pre-compiled package is not available to your operating system, you may need to compile pev from the sources. First you need to get the source code. Keep in mind that pev repository includes a submodule (libpe). Therefore you have to use the --recursive option from git clone:

git clone --recursive https://github.com/merces/pev.git

How to build on Linux

cd pev
make

NOTE: You may need to install OpenSSL using your package manager. Examples:

apt install libssl-dev
yum install openssl-devel

How to build on macOS

cd pev
CFLAGS="-I/usr/local/opt/openssl/include/" LDFLAGS="-L/usr/local/opt/openssl/lib/" make

NOTE: You may need to install OpenSSL and PCRE via Homebrew:

brew update
brew install openssl

How to build on Windows (via Cygwin)

cd pev
make
make zip

NOTE: The following packages must be installed along with your Cygwin:

  • gcc-core
  • binutils
  • make
  • zip
  • openssl-devel
  • git (just to clone the repository)