Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

386
Visualizações
How to install zless in alpine linux?

I am running a docker container from, alpine-linux image. It contains zcat but not zless and zgrep. How to install it in the container?

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Assuming a fresh image, update the package index:

apk update

Then add the gzip package, containing zless, zgrep etc.:

apk add gzip

See the package contents here: https://pkgs.alpinelinux.org/contents?branch=v3.5&name=gzip&arch=aarch64&repo=main

If you're wondering why zcat is included but not the other tools, even though zcat is in the gzip package, it's included as part of another package:

/ # apk info --who-owns $(which zcat)
/bin/zcat symlink target is owned by busybox-1.25.1-r0
about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda