VowpalWabbit / vowpal_wabbit

Vowpal Wabbit is a machine learning system which pushes the frontier of machine learning with techniques such as online, hashing, allreduce, reductions, learning2search, active, and interactive learning.
https://vowpalwabbit.org
Other
8.49k stars 1.93k forks source link

Ubuntu 16 apt-get install does not register vw-* commands #2656

Open wmelton opened 4 years ago

wmelton commented 4 years ago

Describe the bug

Using sudo apt-get install vowpal-wabbit the suite of vw-* commands (like vw-hypersearch) are not being registered within the CLI

To Reproduce

Steps to reproduce the behavior:

  1. run sudo apt-get update
  2. run sudo apt-get install vowpal-wabbit 3 run vw-hypersearch {args}
  3. error: bash: vw-hypersearch: command not found

Expected behavior

Expected vw-hypersearch to run

Observed Behavior

error message: bash: vw-hypersearch: command not found

Environment

16.04.7 LTS (Xenial Xerus) Using CLI version of VW installed via apt-get

jackgerrits commented 4 years ago

The apt package for VW seems to be maintained by @yarikoptic. Yaroslav do you know if this is expected?

yarikoptic commented 4 years ago

Not clear which version of vw we are talking about -- could be some elderly one which did not have vw-hypersearch?

clarification: I maintain nothing directly in Ubuntu (despite it possibly claiming that I do, but most likely it is Ubuntu MOTUs to contact)... Anything I fix would go into Debian (and NeuroDebian) where I maintain some backports. But even there I became a "lazy" one since not actively using vw myself -- we have only 8.6.1.dfsg1-1 in debian from 2018 ATM: https://packages.debian.org/sid/vowpal-wabbit . I will seek help on co-maintaining it or "orphan" (so someone else could take over) in Debian.

jackgerrits commented 4 years ago

Gotcha, makes sense. Do you think it makes more sense for us to maintain a PPA? Or should we stick with the OS released repos? (sorry if I am referring to the wrong name)

If you'd like perhaps we can explore transferring ownership of the Debian package so that we can maintain it?

yarikoptic commented 4 years ago

I have sent out request to debian-science team meanwhile.

If you would like to maintain it -- would be great, it is not rocket science BUT for "proper" packaging does need some debian-packaging-knowhow. All packaging materials (and it seems there are some commits past the last version I uploaded) are in debian branch of https://github.com/yarikoptic/vowpal_wabbit/tree/debian/debian .

PPA -- up to you! might be of benefit but also of burden.

jackgerrits commented 4 years ago

Would it make sense to discontinue the in OS repo and just maintain a PPA?

That way we could update out of band of OS releases? Or is this just a headache of compatibility?

yarikoptic commented 4 years ago

you can do whatever you would like todo ;-) Debian/Ubuntu releases would have a "stable" (back when released) version of vw, which might be not a bleeding edge now but should be worth something I hope, so users could enjoy a stable OS with its wide range of offered packages (without enabling a swarm of PPAs etc for various endeavors). Security and very critical bug fixes could (well -- security ones "should/must") be uploaded even to released debians.

jackgerrits commented 3 years ago

@wmelton, we will probably not have the bandwidth to work on apt packages for VW for quite some time.

My recommendation would be to follow the build instructions for Ubuntu here: https://github.com/VowpalWabbit/vowpal_wabbit/wiki/Dependencies#ubuntu