Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide binary for linux #34

Open
thenbe opened this issue Jan 14, 2023 · 4 comments
Open

Provide binary for linux #34

thenbe opened this issue Jan 14, 2023 · 4 comments

Comments

@thenbe
Copy link

thenbe commented Jan 14, 2023

It'd be great to have a way to try out this package without going through the ruby toolchain.

This package looks interesting, but I couldn't find a way to try it out. I've never worked with ruby/gems before, and I ran into some file permission issues trying to set that all up. Having the package available through a cross-platform package manger would certainly be convenient, but a simple binary on github would be very useful at the moment; especially for us non-ruby folk.

Relevant:

@kojix2
Copy link
Member

kojix2 commented Jan 17, 2023

Your suggestion is very interesting.

Let me tell you why YouPlot is implemented in Ruby. The reason is because Julia language enthusiast @mrkn recognized the value of UnicodePlot.jl and ported it to Ruby. Julia is not a general-purpose language and is not well-suited for creating command-line tools, so Ruby was used for building YouPlot.

Before creating YouPlot, I did some research to see if there were any similar tools out there. But to my surprise, I couldn't find anything similar. So I decided to create YouPlot myself. The idea behind it is simple, anyone could have thought of it.

What is really amazing about this project is not YouPlot but UnicodePlot. There are countless libraries that display charts in terminals, but most of them are not designed primarily for data analysis like UnicodePlot is. And if we can port UnicodePlot, we can easily create YouPlot binaries in any language.

@kojix2
Copy link
Member

kojix2 commented Jan 17, 2023

I think Ruby is a scripting language like Python or Perl, so it is difficult to provide programs as binaries...

@mrkn
Copy link
Member

mrkn commented Jan 17, 2023

Instead of providing a single binary for Linux, providing a small docker image can be a reasonable way to reduce installation difficulty.

@jpmc
Copy link

jpmc commented Feb 10, 2023

As per #33 being completed recently, you should now be able to use brew install youplot to get the binary and dependencies installed without needing Docker or installing gems yourself.

brew being a package manager for Mac and Linux: https://brew.sh/

https://formulae.brew.sh/formula/youplot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants