From 52e7fae07e2bd9cafb4af1da4fa491054adbf619 Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Mon, 7 Aug 2017 14:33:30 +1000 Subject: [PATCH] improve compilation instructions for debian/ubuntu --- COMPILING.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/COMPILING.txt b/COMPILING.txt index bd5bef1c..6b45fa5a 100644 --- a/COMPILING.txt +++ b/COMPILING.txt @@ -135,13 +135,21 @@ Tested on OSX 10.10 Yosemite = Linux = ============ -1 - Download +On Debian 9 and Ubuntu 17.04 (zesty), install these packages: + + apt install build-essential gcc-arm-none-eabi libncurses5-dev libreadline-dev libusb-dev libqt4-dev + +Other distributions: + +1 - Download devkitarm A precompiled DevKitARM cross compiler tool chain package can be found at http://sourceforge.net/projects/devkitpro/files/devkitARM Select the one you need (32bit or 64bit) and unpack to a convinient place, eg $HOME/proxmark3/. It will create a devkitARM/ subdirectory. +2 - Install development dependencies + You will also need a general compiling environment on your computer for the client and the libusb headers. In most distributions you will get all you need with the lsb-package (Linux Standard Base). In debian/ubuntu you simply @@ -150,7 +158,7 @@ call `aptitude install lsb libusb-dev libreadline-dev libreadline6`. For the graphical plot view, you might need the qtlibs (debian/ubuntu: libqt4-dev), too. -2 - Set Environment +3 - Set Environment export DEVKITPRO=$HOME/proxmark3/ export DEVKITARM=$DEVKITPRO/devkitARM