Skip to content

Latest commit

 

History

History
630 lines (410 loc) · 7.81 KB

DEPENDENCIES.md

File metadata and controls

630 lines (410 loc) · 7.81 KB

Dependencies

Important

All the "From source" and "From download" instructions assume that $HOME/.local/bin is on your $PATH This will be set by the .bashrc in the bash package, but run export PATH="$PATH:$HOME/.local/bin" until you've installed that package

git

Verify

git -v

Guide

See here

Brief

apt-get update
apt-get install -y git

curl

Verify

curl -v

Guide

See here

Brief

apt-get update
apt-get install -y curl

tar

Verify

tar --version

Guide

See here

Brief

Should already be on your system.

xz

Verify

xz -V

Guide

See here

Depends on

  • make - from download
  • curl - from download
  • tar - from download

Brief

Likely already installed on your system.

apt-get update
apt-get install xz-utils

From download

mkdir -p $HOME/build/xz
cd $HOME/build
curl -L https://github.com/tukaani-project/xz/releases/download/v5.6.0/xz-5.6.0.tar.gz -o xz.tar.gz
tar -xzvf xz.tar.gz -C xz --strip 1
rm xz.tar.gz
cd xz
./configure --prefix $HOME/.local
make install

gcc

Verify

gcc --version

Guide

See here

Brief

Most likely already on your system.

apt-get update
apt-get install -y gcc

make

Verify

make -v

Guide

See here

Brief

apt-get update
apt-get install -y make

autoconf

Verify

autoconf --version

Guide

See here

Brief

apt-get update
apt-get install -y autoconf

automake

Verify

automake --version

Guide

See here

Brief

apt-get update
apt-get install -y automake

makeinfo

Verify

makeinfo -V

Guide

See here

Brief

apt-get update
apt-get install -y texinfo

perl

Verify

perl -v

Guide

See here

Brief

Should already be on your system.

stow

Verify

stow -V

Guide

See here

Depends on

From download

mkdir -p $HOME/build/stow
cd $HOME/build
curl https://ftp.gnu.org/gnu/stow/stow-latest.tar.gz -o stow.tar.gz
tar -xzvf stow.tar.gz -C stow --strip 1
rm stow.tar.gz
cd stow
./configure --prefix $HOME/.local
make install

From source

mkdir -p $HOME/build
git clone --depth=1 https://git.savannah.gnu.org/git/stow.git $HOME/build/stow
cd $HOME/build/stow
autoconf
aclocal && automake --add-missing
./configure --prefix $HOME/.local
make install

nvim

Verify

nvim -v

Guide

See here

Depends on

From download

mkdir -p $HOME/build/nvim
cd $HOME/build
curl -L https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz -o nvim.tar.gz
tar -xzvf nvim.tar.gz -C $HOME/.local --strip 1
rm nvim.tar.gz

From source

mkdir -p $HOME/build
git clone --depth=1 https://github.com/neovim/neovim $HOME/build/nvim
cd $HOME/build/nvim
make CMAKE_BUILD_TYPE=Release CMAKE_INSTALL_PREFIX=$HOME/.local install

python

Verify

python3 -V

Guide

See here

Depends on

  • gcc - from download
  • make - from download
  • curl - from download
  • xz - from download

Brief

apt-get update
apt-get install python3

From download

mkdir -p $HOME/build/python3
cd $HOME/build
curl -L https://www.python.org/ftp/python/3.12.2/Python-3.12.2.tar.xz -o python3.tar.xz
tar -xvf python3.tar.xz -C python3 --strip 1
rm python3.tar.xz
cd python3
./configure --prefix $HOME/.local
make install

cmake

Verify

cmake -version

Guide

See here

Brief

apt-get update
apt-get install cmake

node

Also includes

  • npm

Verify

node -v

Guide

See here

Depends on

Via version manager

nvm install lts/iron # or some other version
nvm use lts/iron
# optionally:
# nvm alias default lts/iron

nvm

Verify

nvm -v

Guide

See here

From source

if [ -z $NVM_DIR ]; then
  export NVM_DIR="$HOME/.nvm"
fi
git clone https://github.com/nvm-sh/nvm.git $NVM_DIR
cd $NVM_DIR
git checkout $(git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1))
source $HOME/.bashrc

delta

Verify

delta -v

Guide

See here

Depends on

  • cargo - via cargo
  • curl - from download
  • tar - from download

Via cargo

cargo install git-delta

From download

mkdir -p $HOME/build/delta
cd $HOME/build
curl -L https://github.com/dandavison/delta/releases/download/0.15.0/delta-0.15.0-x86_64-unknown-linux-gnu.tar.gz -o delta.tar.gz
tar -xzvf delta.tar.gz -C delta --strip 1
rm delta.tar.gz
mkdir -p $HOME/.local/bin
install delta/delta $HOME/.local/bin

cargo

Also includes

  • rustup - via rustup
  • rustc - via rustup

Verify

cargo -v

Guide

See here

Depends on

Via rustup

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

bat

Verify

bat --version

Guide

See here

Depends on

Via cargo

cargo install bat

eza

Verify

eza -v

Guide

See here

Depends on

Via cargo

cargo install eza

rg

Verify

rg --version

Guide

See here

Depends on

Via cargo

cargo install ripgrep

tldr

Verify

tldr -v

Guide

See here

Depends on

Via npm

npm i -g tldr

fzf

Verify

fzf --version

Guide

See here

Depends on

  • git - from source

From source

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

zoxide

Verify

zoxide -V

Guide

See here

Depends on

Via cargo

cargo install zoxide --locked

pnpm

Verify

pnpm -v

Guide

See here

Depends on

Via npm

npm i -g pnpm