Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lnav PPA or simply a statically compiled .deb for Ubuntu would be helpful (or: document static bin existence in Download instructions) #1199

Open
ylluminate opened this issue Oct 23, 2023 · 1 comment
Labels
enhancement Feature Request

Comments

@ylluminate
Copy link

Currently the Snap installation method is not "friendly" to LXC situations insomuch that Span is not natively supported and requires some additional finagling that breaks backup functionality for some scenarios, such as with Proxomox. It's also not readily viable to find a recent Debian release to support Ubuntu 22.04. It might be good to just ship a statically compiled .deb that can be easily installed... Or support a PPA with it therein.

Installing a compilation environment on LXCs, while feasible, isn't necessarily compelling to do a one-off compilation for various reasons as well.

@ylluminate ylluminate added the enhancement Feature Request label Oct 23, 2023
@ylluminate ylluminate changed the title PPA for Ubuntu would be helpful lnav PPA for Ubuntu would be helpful Oct 23, 2023
@ylluminate ylluminate changed the title lnav PPA for Ubuntu would be helpful lnav PPA or simply a statically compiled .deb for Ubuntu would be helpful Oct 23, 2023
@ylluminate
Copy link
Author

ylluminate commented Oct 23, 2023

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.

@ylluminate ylluminate changed the title lnav PPA or simply a statically compiled .deb for Ubuntu would be helpful lnav PPA or simply a statically compiled .deb for Ubuntu would be helpful (or: document static bin existence in Download instructions) Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant