If you prefer to try it before installing, here's the snippet for your convenience.
docker run -w / -it --rm ubuntu sh -uec ' apt-get update -y apt-get install -y wget tar vim less wget https://github.com/sayanarijit/xplr/releases/latest/download/xplr-linux.tar.gz tar -xzvf xplr-linux.tar.gz ./xplr '
You can install xplr using one of the following ways. Each has their own advantages and limitations.
For example, the Direct Download, From crates.io, and Build From Source methods allow the users to install the latest possible version of xplr, but they have one common drawback - the user will need to keep an eye on the releases, and manually upgrade xplr when a new version is available.
One way to keep an eye on the releases is to watch the repository.
xplr can be installed from one of the following community maintained repositories:
nix-env -f https://github.com/NixOS/nixpkgs/tarball/master -iA xplr
(same for Manjaro Linux)
sudo pacman -S xplr
paru -S xplr-git
# Add the following line in /etc/apk/repositories: # https://dl-cdn.alpinelinux.org/alpine/edge/testing apk add xplr bash less
Make sure you have the latest version of GNU core utilities installed.
sudo port selfupdate sudo port install xplr
brew install xplr
brew install --head xplr
pkg install xplr
cd /usr/ports/misc/xplr make install clean
pkgin install xplr
cd /usr/pkgsrc/sysutils/xplr make install
One can directly download the standalone binary from the releases.
Currently, the following options are available for direct download:
platform="linux" # or "macos" / "linux-musl" # Download wget https://github.com/sayanarijit/xplr/releases/latest/download/xplr-$platform.tar.gz # Extract tar xzvf xplr-$platform.tar.gz # Place in $PATH sudo mv xplr /usr/local/bin/
cargo install --locked --force xplr
# Clone the repository git clone https://github.com/sayanarijit/xplr.git cd xplr # Build cargo build --locked --release --bin xplr # Place in $PATH sudo cp target/release/xplr /usr/local/bin/
pkg install rust make binutils cargo install --locked xplr # Run ~/.cargo/bin/xplr
Please note that xplr isn't heavily tested on Termux, hence things might need a little tweaking and fixing for a smooth user experience.