Giter VIP home page Giter VIP logo

Comments (1)

ylluminate avatar ylluminate commented on June 12, 2024

It appears that from poking around that maybe downloading the musl precompiled binary from https://github.com/tstack/lnav/releases/ may work... It doesn't seem that there is clear documentation indicating this, but I attempted the following which seemed to work on Ubuntu 22.04 (LXC):

mkdir ~/downloads
wget https://github.com/tstack/lnav/releases/download/v0.11.2/lnav-0.11.2-x86_64-linux-musl.zip
cd ~/downloads/
apt install unzip
unzip lnav-0.11.2-x86_64-linux-musl.zip
sudo cp lnav-0.11.2/lnav /usr/local/bin
 $ which lnav
/usr/local/bin/lnav
 $ lnav --help
usage: lnav [options] [logfile1 logfile2 ...]

A log file viewer for the terminal that indexes log messages to
make it easier to navigate through files quickly.

Key Bindings
...
Version: lnav 0.11.2

It might be useful to document this more clearly somehow or put this in the downloads references on the main site to be clear to folks that they can get a static binary version to use in such cases and avoid headaches with Snap and .debs.

A 32mb well placed static binary is far better than Snap AND fighting dependency hell AND installing compilation support libraries in the hundreds of megs realm that may be simply a one-off situation.

from lnav.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.