# WSL Installation Step by step?

**URL:** <https://forum.commonvisionblox.com/t/wsl-installation-step-by-step/1911>\
**Category:** Python API\
**Tags:** setup\
**Created:** [February 10, 2023, 2:06pm UTC](https://forum.commonvisionblox.com/t/wsl-installation-step-by-step/1911 "2023-02-10T14:06:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dyna](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@Dyna](https://forum.commonvisionblox.com/u/Dyna)\
**Post date:** [February 10, 2023, 2:06pm UTC](https://forum.commonvisionblox.com/t/wsl-installation-step-by-step/1911/1 "2023-02-10T14:06:03Z")

</div>

Hi,

I’m trying to run CVB 13.04.005 on WSL (Ubuntu 20.04 x64) using python 3.9, but having some issues:

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/commonvisionblox/original/2X/7/7532fee05f7ead45b8ac052dd96b5deaa52fd9f1.png)

I installed CVB with the following script:

```auto
#!/bin/bash

# Install packages required for CVB
sudo apt update --fix-missing
sudo apt upgrade -y
sudo apt-get install -y wget unzip
sudo apt-get install -y build-essential cmake libgtest-dev libice6 libsm6 libfontconfig1 libfreetype6 libxext-dev
sudo apt-get install -y libgtk-3-dev libglade2-0 libglade2-dev libpcap0.8 libcap2

# Obtain common vision blox (CVB) package and unzip it
CVB_VERSION=13.04.005
CVB_ZIP=cvb-${CVB_VERSION}-ubu2004-x86_64.zip

sudo wget https://ftp.commonvisionblox.com/webdavs/forum/setups/cvb/linux-x86_64/${CVB_ZIP}
sudo unzip -o ${CVB_ZIP} -d /cvb
sudo rm ${CVB_ZIP} || true

# Install CVB
RUN chmod +x /cvb/install_cvb.sh && /cvb/install_cvb.sh && ldconfig

# Start CVB
./src/python/drivers/line_scanner/opt/scripts/start_cvb.sh

```

CVB services I start with this script:

```auto
#!/bin/bash

CVB_VERSION=13.04.005

# Start CVB
/opt/cvb-${CVB_VERSION}/bin/siLogSvc -s
/opt/cvb-${CVB_VERSION}/bin/cvmgmtd
/opt/cvb-${CVB_VERSION}/bin/siGevSvc -s
. /etc/profile.d/cvb_environment.sh

```

What am I doing wrong? I tried to solve this by replacing the CVB site-package **init**.py file (as recommended in other topics on this forum but without success. Additional tips on how to use CVB with WSL would also be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![s-woe](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/s-woe/32/572_2.png) [@s-woe](https://forum.commonvisionblox.com/u/s-woe)\
**Post date:** [February 10, 2023, 2:17pm UTC](https://forum.commonvisionblox.com/t/wsl-installation-step-by-step/1911/2 "2023-02-10T14:17:01Z")

</div>

Hi @Dyna  
install\_cvb.sh installs everything you need. Remove the RUN before chmod +x /cvb/install\_cvb.sh && /cvb/install\_cvb.sh  
There shouldn’t be a need for the start\_cvb.sh script…

Furthermore, use the most recent version, if you have the choice…

---

<div class="post-metadata">

**Author:** ![Dyna](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@Dyna](https://forum.commonvisionblox.com/u/Dyna)\
**Post date:** [February 13, 2023, 8:09pm UTC](https://forum.commonvisionblox.com/t/wsl-installation-step-by-step/1911/3 "2023-02-13T20:09:41Z")

</div>

Thank you for your help @s-woe !  
Updating to the most recent version (14.00.002) did the trick
