From official apt!
apt download curl
dpkg -x curl** dir
Nix package manager!!
They have done a very good work on precompiled binaries with even bleding edge packages! Let's download those binaries and use those. :-)
- Install nix package manager
curl -L https://nixos.org/nix/install | sh
- Install desired packages
nix-shell -p neofetch
- Copy the installed packages to your desired location
cp /nix/store/3c6idwsrx95wbqfgha94b45cyr81ac1f-neofetch-unstable-2021-12-10/bin/neofetch ~/bin/
Binaries
Precompiled binaries
Compress to highest quality
hc(){
tar cv $1 | xz -9 > $2.tar.xz
}
hc folder file
or,
tar cv path/to/data | xz -9 > file.tar.xz
Decompress
tar -xf file.tar.xz
Copy
Now, copy the bin in $HOME/.local/bin and
copy the libs in $HOME/.local/lib (if exists or needs)
.bash_profile
export PATH=$HOME/.local/bin:$PATH
export LD_LIBRARY_PATH=$HOME/.local/lib:$LD_LIBRARY_PATH