Skip to content

Install

epinna edited this page Sep 20, 2014 · 5 revisions

Installation

Clone the repository using a git client, or download the latest snapshot here.

Linux

The following example runs on a Debian/Ubuntu derived Linux environments with Python version >= 2.7.10.

# Make sure that the python package manager and yaml libraries are installed
$ sudo apt-get install -y g++ python2.7 python-pip libyaml-dev python-dev libncurses5-dev
# Install requirements from within the weevely3/ folder
$ cd weevely3/
$ sudo pip install -r requirements.txt --upgrade

OS X

The following example runs on OS X with the Macports packaging system.

$ sudo port install python27 py27-pip
$ sudo port select --set pip pip27
$ sudo port select --set python python27
# Ideally, at this point you should install editline library (http://thrysoee.dk/editline/)
# to have a working line completion in terminal. See issue #7 for more info.
# Install requirements from within the weevely3/ folder
$ cd weevely3/
$ sudo pip install -r requirements.txt --upgrade

Windows

The following example runs on Microsoft Windows 7 with Python version 2.7, and likely on other Windows version. First of all, install Python 2.7 and pip package manager using ez_setup.py as explained in this guide.

# Enter in a folder which allows to call pip.exe usually C:\Python27\Scripts\ with no %PATH% set and
# install the following requirements
> pip install prettytable Mako PyYAML python-dateutil pyreadline PySocks --upgrade