Comments (1)
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)
- Pretty print regression for json logs HOT 4
- stdin and adb logcat -v time issues HOT 4
- 0.12.2 "top" mode navigation is broken HOT 1
- Custom theme location does not seem to work? HOT 4
- Enable native Caddy JSON log file format HOT 2
- Can it be built without Rust, disabling related module? HOT 2
- Cursor mode selection does not select expected lines HOT 1
- Feature request: hide/show "discovered fields"
- Customizable hidden fields separate so you can replace vertical ellipsis
- support for multiple JSON line-formats and switching between them HOT 1
- Add time filters to the Filters configuration panel
- Timezone ignored if miliseconds is absent HOT 3
- highlight log content using data parser
- A line with three quotes crashes lnav HOT 1
- Globbing (* wildcard) stop working on macos in remote HOT 1
- With enable-word-wrap found matches are below the fold
- env_logger format is not detected HOT 2
- Esc key doesn't abort HOT 2
- Crash with a specific regex pattern
- Crash when regex without body is used HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lnav.