# How to install Antelope on Windows using WSL/WSL2

> Installation of Antelope binaries on Windows system using WSL (windows subsystem for Linux)

Canonical: https://help.blockzhub.io/articles/how-to-install-antelope-on-windows-using-wslwsl2

WSL2 is a new version of the Windows Subsystem for Linux (WSL). Windows Subsystem for Linux (WSL) allow developers to install Linux distributions (such as Ubuntu, OpenSUSE, Kali, Debian, Arch Linux, etc) and use Linux applications, utilities, and Bash command-line tools directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup. Its primary goals are to increase file system performance and add full system call compatibility.

This new architecture changes how these Linux binaries interact with Windows and your computer's hardware but provides the same user experience as WSL 1 (the widely available version).

Linux distributions can run either the WSL or WSL2 architecture. Each distribution can be upgraded or downgraded at any time, and you can run WSL and WSL2 distributions side by side. WSL2 uses an entirely new architecture that benefits from running an actual Linux kernel. ([Source](https://docs.microsoft.com/en-us/windows/wsl/about))

**Prerequisites**

To install WSL2 on Windows 10 you need:

* Windows 10 May 2020 (2004), Windows 10 May 2019 (1903), or Windows 10 November 2019 (1909) or later
* A computer with Hyper-V Virtualization support

**Installation of WSL**

To install WSL2 on Windows 10 you need to open PowerShell or Windows Command Prompt in **administrator** mode**,** enter the following command:

```
wsl --install
```

The downloading process will start.

![](https://s3.amazonaws.com/blockzhub-help-center-public-images/articles/4db23584-9e01-4576-8612-a325f7a70c82/4d4216b3ddd9.png)

Once installation is finished, you need to reboot your system. *Changes will not be effective until the system is rebooted.*

After the download process, the Ubuntu 20.04 LTS terminal will appear. You need to enter the user username and password (you will need to remember these credentials for future use):

![](https://s3.amazonaws.com/blockzhub-help-center-public-images/articles/4db23584-9e01-4576-8612-a325f7a70c82/80e94e3cd507.png)

Now we are using the "Linux" terminal under the Windows system.

The following suggested step is to update the system using the followingcommand:

```
sudo apt update
```

![](https://s3.amazonaws.com/blockzhub-help-center-public-images/articles/4db23584-9e01-4576-8612-a325f7a70c82/d8c0eb8972d1.png)

`sudo apt upgrade` will download additional updates for libraries and apps installed in the WSL system.

![](https://s3.amazonaws.com/blockzhub-help-center-public-images/articles/4db23584-9e01-4576-8612-a325f7a70c82/fb88d8e5d2ff.png)

Now that the system is installed and updated, we can install the Antelope binaries.

I will install the official Antelope binaries from the AntelopeIO/leap repository for this example. The official document about installing Antelope on Linux is available [here](https://github.com/AntelopeIO/leap#binary-installation):

The first step is to install the dependencies required to build:

**Install dependencies:**

```
sudo apt-get update  
sudo apt-get install -y \  
        build-essential \  
        cmake \  
        curl \  
        git \  
        libboost-all-dev \  
        libcurl4-openssl-dev \  
        libgmp-dev \  
        libssl-dev \  
        llvm-11-dev \  
        python3-numpy
```

![](https://s3.amazonaws.com/blockzhub-help-center-public-images/articles/4db23584-9e01-4576-8612-a325f7a70c82/006dec73f0b5.png)

The next step is to clone the AntelopeIO/leap repository and navigate to the folder.

I'm going to use  `/leap`  as my folder path for installation using the following commands.

```
git clone --recursive https://github.com/AntelopeIO/leap.git
```

`cd leap`  to navigate to the leap directory folder.

![](https://s3.amazonaws.com/blockzhub-help-center-public-images/articles/4db23584-9e01-4576-8612-a325f7a70c82/b71fbe668d26.png)

![](https://s3.amazonaws.com/blockzhub-help-center-public-images/articles/4db23584-9e01-4576-8612-a325f7a70c82/dd5969d64077.png)

You can use the  `clear`  command to clear the current working directory.

After the download process, we install the package with the command

`sudo apt install ./eosio_2.1.0-1-ubuntu-20.04_amd64.deb`

![](https://s3.amazonaws.com/blockzhub-help-center-public-images/articles/4db23584-9e01-4576-8612-a325f7a70c82/572ddf9ed5ca.png)

The EOSIO v2.1 is now installed.

We can try to execute the `cleos` command. Cleos is a command-line tool that interfaces with the REST API exposed by "nodeos". Developers can also use `cleos` to deploy and test EOSIO smart contracts.

![](https://s3.amazonaws.com/blockzhub-help-center-public-images/articles/4db23584-9e01-4576-8612-a325f7a70c82/02f00aabc974.png)

Example: "how to get account information from eos mainnet for the account eosio."

The command used is `cleos --url=https://eos.greymass.com get account eosio`

In this example, we are using the EOS mainnet. The endpoint is specified using attribute `--url`. If we want to use some "test" network, we can change it to **localhost** or **jungle testnet**. Here is the [list of available endpoints](https://monitor.jungletestnet.io/#apiendpoints):

![](https://s3.amazonaws.com/blockzhub-help-center-public-images/articles/4db23584-9e01-4576-8612-a325f7a70c82/0f8e5b62975b.png)

---

Author: Peter Valencic

Editor: Randall Roland, Markus Hinrichs

Translation: -

Sources & References:

* [WSL Documentation](https://docs.microsoft.com/en-us/windows/wsl/about)
* [EOSIO Install Documentation](https://developers.eos.io/manuals/eos/latest/install/install-prebuilt-binaries)
* [Endpoints on Jungle TestNet](https://monitor.jungletestnet.io/#apiendpoints)
