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`
or 
`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 https://github.com/OISF/suricata-update/archive/master.tar.gz | 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 setup.py 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 https://github.com/OISF/suricata-update/archive/1.2.1.zip
1 Like

Thanks, this was exactly what I needed.