Install suricata-update v1.2.1

How do you install suricata-update v1.2.1 without building from source?

`python3 -m pip install --upgrade suricata-update`
`pip install --upgrade suricata-update` 

Only install version 1.1.0.

Hi James, right now, pip installing v1.1.0 is the expected behavior, because v1.2.1 hasn’t been updated to pip yet (suricata-update · PyPI).

If one wants to have v1.2.1, the only way would be through manual installation. From my end, when I installed Suricata, I used the step described here (Bug #3235: Makefile:936: recipe for target 'install-rules' failed - Suricata - Open Information Security Foundation) and manually added suricata-update, which later on got installed during Suricata building process.

So I’d say you could either wait a bit for it to get to pip, or, from your Suricata directory, perform:

$ cd suricata-update
$ curl -L | tar zxvf - --strip-components=1

then re-run ./configure, make, make install.
Or, since everything else is already installed, you could also go to suricata-update dir and run
python install

I hope some of these solutions work out for you! :slight_smile:

I had issues getting the upload to work on PyPI, I’ll look into that again soon. For now, you can do a standalone install with pip by using the URL on GitHub:

pip install
1 Like

Thanks, this was exactly what I needed.