Cisco-Talos / cvdupdate

ClamAV Private Database Mirror Updater Tool
Apache License 2.0
93 stars 35 forks source link

Describe dependencies and provide ways of installing that doesn't need pip #44

Closed hcgrove closed 2 years ago

hcgrove commented 2 years ago

This seems like a project that is very usable in larger installations, like ours. I guess we're not the only place that would like to setup our own mirror, but can't run pip on the server we would like to run it on.

Now I need to find out how to install this on our relevant server.

hcgrove commented 2 years ago

It seems someone has done much of the work for me: https://packages.ubuntu.com/jammy/clamav-cvdupdate (unfortunately the server I would like to set this up on, runs the focal version of ubuntu)

micahsnyder commented 2 years ago

The dependencies list is in setup.py: https://github.com/Cisco-Talos/cvdupdate/blob/main/setup.py#L23-L30

If you need, you can download the "built distribution" files from https://pypi.org/project/cvdupdate/#files and manually install them, for all of the dependencies and then for CVDUpdate. Will this work for you?

hcgrove commented 2 years ago

I found that list of dependencies, but it is far from being an obvious place for that.

It's hard to find a link to pypi.org, especially if you don't know it. I guess those files might help, but it's probably easier to backport the linked ubuntu package.

micahsnyder commented 2 years ago

I found that list of dependencies, but it is far from being an obvious place for that.

Fair point. I've been using Python too long and I take it for granted.

We can add the list of dependencies to the readme and mention the pypi link as well, for reference if pip cannot be used to install the packages.