News for hackers. Stuff that matters.
Re:Jqjq: Jq Implementation of Jq by foob on Friday November 25, 2022 @09:44AM (#33742796)
Jokes aside, this is a actually a pretty common scenario for some people, and I wrote a tool called Exodus to solve it [1]. Exodus makes it trivial to relocate Linux binaries like jq from your local machine [1]. You can simply run

  exodus jq | ssh my-server
locally, and then immediately have access to jq on the server. I personally find it very useful when working with servers or containers that have limited package repositories or where I don't have root access.

[1] - https://github.com/intoli/exodus

Re:Jqjq: Jq Implementation of Jq by fwsgonzo on Friday November 25, 2022 @10:26AM (#33743197)
That is very cool, and it's going to help me alot on old RHELs I think. Looks like it was actually very complicated to make!
Re:Jqjq: Jq Implementation of Jq by andai on Friday November 25, 2022 @10:10AM (#33743032)
>Exodus handles bundling all of the binary's dependencies, compiling a statically linked wrapper for the executable that invokes the relocated linker directly, and installing the bundle in ~/.exodus/ on the remote machine.

That's really neat.

Re:Jqjq: Jq Implementation of Jq by efrecon on Friday November 25, 2022 @09:56AM (#33742912)
Ooh. Thank you for Exodus! It is fantastic!
Re:Jqjq: Jq Implementation of Jq by metadat on Friday November 25, 2022 @11:41AM (#33744124)
Discussed 11 months ago:

Exodus – relocation of Linux binaries–and all of their deps–without containers

https://news.ycombinator.com/item?id=29446297

(307 points, 65 comments)