Jump to content
The Unraid Annual Cyber Weekend Sale is here 🔥 ×

Install new CLI tool: pixz


JokesOnYou77

Recommended Posts

Posted

I've installed the Nerdpack plugin but it's missing a command I'd like to have:

 

 

I've seen other posts suggesting that UNRAID isn't a "full" linux distribution and I'm guessing that means I need to download and compile from source, and I'm comfortable with exploring that if that's the route to go.  But if there's a better/recommended way I'd like to try that first.

 

To address questions I assume will come.  Yes, I know xz is included, and I know xz now supports blocked archives and parallelism.  It's just not the same as the ease of use of the random access to files provided by the index with pixz (try it for yourself and you'll see what I'm talking about).  And I also saw that pigz is in Nerdpack, which is a nice substitute but still not the same.  I'm sure I could make do with alternatives, but as I explore UNRAID during my trial period I want to see what I can and can't do to the system (with the help of the community). 

Posted

First step would probably be to go to the Nerdpack thread and request the addition of pixz.

 

A less popular option, but one I always recommend because I think it should be more popular, would be to attempt to run it in docker. Normally I would suggest looking on docker hub for a pixz container, but I only see one available and it doesnt have a docker file listed. The your next best bet would be building your own docker image with pixz. Plenty of tutorials online of how to do it properly with a dockerfile, an easy start however would be to pull an alpine base image, run a console container, install pixz and then commit the image. Using pixz in unraid then should be as easy as running something like 

docker run --rm -v $(pwd):/mnt/:rw --workdir=/mnt/ yourimagename:tag pixz arguments

Thats a relatively long command, but you could wrap it in a simple bash script or use an alias. I do something very similar with the crazymax/7zip container which I have script wrapped and aliased to "extract"

Posted (edited)

Packaging as Docker container is a great idea, I do that at work to make executables.  If pixz didn't need pthreads I'd even be tempted to use scratch as the base image.  

 

I'll start with a petition to Nerdpack though.  

 

For future reference: 

 

Edited by JokesOnYou77
  • 1 year later...
Posted
On 4/26/2021 at 1:57 AM, JokesOnYou77 said:

I've installed the Nerdpack plugin but it's missing a command I'd like to have:

 

 

I've seen other posts suggesting that UNRAID isn't a "full" linux distribution and I'm guessing that means I need to download and compile from source, and I'm comfortable with exploring that if that's the route to go.  But if there's a better/recommended way I'd like to try that first.

 

To address questions I assume will come.  Yes, I know xz is included, and I know xz now supports blocked archives and parallelism.  It's just not the same as the ease of use of the random access to files provided by the index with pixz (try it for yourself and you'll see what I'm talking about).  And I also saw that pigz is in Nerdpack, which is a nice substitute but still not the same.  I'm sure I could make do with alternatives, but as I explore UNRAID during my trial period I want to see what I can and can't do to the system (with the help of the community). 

I vote for this. 

Posted
1 hour ago, Etherion said:

I vote for this. 

 

On 4/26/2021 at 2:25 PM, JokesOnYou77 said:

start with a petition to Nerdpack

NerdPack deprecated in 6.11 and no longer maintained in any case. New plugin Nerdtools

 

On 4/26/2021 at 2:25 PM, JokesOnYou77 said:

For future reference:

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...