ScratchABit icon indicating copy to clipboard operation
ScratchABit copied to clipboard

Capstone installation issues on Debian

Open thesourcerer8 opened this issue 6 years ago • 2 comments

On Debian based systems, "apt-get install libcapstone-dev" is needed to install the capstone library before installing the python module with pip3 can work.

thesourcerer8 avatar Jan 23 '18 10:01 thesourcerer8

My Ubuntu 16.04 system:

pfalcon@x230:~$ dpkg -l | grep capstone
pfalcon@x230:~$ pip3 install --no-cache-dir --user capstone
Collecting capstone
  Downloading capstone-3.0.4.tar.gz (3.2MB)
    100% |████████████████████████████████| 3.2MB 955kB/s 
Installing collected packages: capstone
  Running setup.py install for capstone ... done
Successfully installed capstone-3.0.4
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

pfalcon avatar Jan 23 '18 18:01 pfalcon

As https://github.com/pfalcon/ScratchABit/issues/30#issuecomment-359879871 shows, it's very easy to mix up things. So to be able to understand and resolve issues, it's important to know:

  1. The exact commands you ran, copy-pasted verbatim.
  2. The exact output, again copied verbatim.

(And that's just for starters, because you or me may have finicky things in the environment).

pfalcon avatar Jan 23 '18 18:01 pfalcon