Which build/version/package to install?

Ever opened a github repo release page and got overwhelmed by the different download options? Which is for you?
Well we are going to address the above issue.

Which version to download?

Which package to download

Linux-x86_64 vs Linux-aarch64:- These are based on CPU architecture. Where x86_64 is based on intel architecture and aarch64 is based on arm architecture( which is really popular for mobile phones).
To know which one is suitable for you, run uname -m command in your wsl.
In majority of systems it will show x86_64, for them, you can install the linux-x86_64 release or linux64( sometimes used instead of linux-x86_64).
For some systems it will show aarch64.

brew

brew is a package manager like apt. Check out what if a package manager under the section “Apt” from here. Check out official brew webpage
What is the difference between brew and apt? You may ask.
Well, the main difference is that brew has most recent version of any application when compared to apt. So using brew makes much more sense than using apt.

Installation

Run the following commands to install brew.

sudo apt-get install build-essential procps curl file git

sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"

test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

If you don’t have any frameworks on wsl, use

echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.bashrc

If you have ohmyzsh! as your framework for wsl, use

echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.zshrc

If you have any other framework installed, use its .config address in the place of .zshrc file or contact secuRIT Core on telegram.

Credits: secuRIT Core :)

Edit this page