stefanhaustein / TerminalImageViewer

Small C++ program to display images in a (modern) terminal using RGB ANSI codes and unicode block graphics characters
Other
1.56k stars 111 forks source link

Port tiv to the Conda Forge? #127

Open erzakiev opened 1 year ago

erzakiev commented 1 year ago

Is your feature request related to a problem? Please describe.

Hello, for some folks who use a shared computation cluster on which sudo isn't permitted nor module system isn't implemented for one reason or another but who have access to conda environments (like me) the only solution is to manually compile the source code and add the folder with the compiled program to the PATH variable

Describe the solution you'd like

A one-line installation like conda install -c conda-forge tiv

Describe alternatives you've considered

Manual compilation

Additional context

No response

erzakiev commented 1 year ago

PS: thanks for the awesome tool!!! <-how rude of me for not acknowledging this in the first place

aaronliu0130 commented 1 year ago

What advantages does the Conda forge provide over Homebrew, a way more popular package manager that doesn’t need sudo?

erzakiev commented 1 year ago

homebrew is MacOS specific, this request is for Linux-based remote servers for which there is no homebrew available

aaronliu0130 commented 1 year ago

Homebrew is not macOS specific. Even before Homebrew 3.0, something called Linuxbrew's been around for a long time. See https://docs.brew.sh/Homebrew-on-Linux .

erzakiev commented 1 year ago

just checked and homebrew installation requires sudo priviliges which i don't have on our shared cluster

aaronliu0130 commented 1 year ago

It's not required, it's only recommended. The only missing features for an install without sudo are lack of precompiled binary packages and lack of community support, the former of which I doubt the Conda Forge supports.


I'll try to create a Conda Forge recipe, though I don't think this is the best package manager for this task, especially when manual compilation is trivial.