Skip to content

Building

DFRC edited this page Jul 5, 2021 · 47 revisions

Supported OS

CentOS

Git

To retrieve the source from the repository make sure to install: git

On a Redhat-based system it can be installed by running:

yum install git

Installed

To build carpe using the RedHat package tools make sure you have the following packages installed:

  • Python 3.7.x is required.
  • Python 3.7.x must be registered in the system environment variable.
yum install python python-devel
yum groupinstall "Development Tools"

Install Carpe

Git clone:

git clone https://github.com/dfrc-korea/carpe.git

Modify build.sh:

  • Change python -m venv ./venv to python3 -m venv ./venv
cd carpe
vi build.sh

To build carpe:

./build.sh

To confirm use following commands to carpe installation correctly:

cd carpe/cli
../venv/bin/python carpe.py --info

Windows

Python

To build CARPE, The Python 3.7.x is required.

The Python 3.7.x must be registered in the system environment variable.

Git

On Windows download git from: http://git-scm.com/download/win

To get the source Using git run:

git clone https://github.com/dfrc-korea/carpe.git

Visual Studio Community 2019

Download from: https://visualstudio.microsoft.com/ko/vs/features/cplusplus/

And, install "Desktop development with C++"

Install Carpe

To run Carpe, We must change Powershell Execution Policy.

Execute Powershell as administrator:

Set-ExecutionPolicy Unrestricted

And enter

A

Installing the Requirements Library to Run Carpe in PowerShell:

.\build.ps1
Clone this wiki locally