# Installation Openzwave 1.6 for dev environment (WSL and Ubuntu)

**URL:** <https://community.gladysassistant.com/t/installation-openzwave-1-6-pour-environement-dev-wsl-et-ubuntu/7176>\
**Category:** Tutoriels\
**Tags:** tutoriel\
**Created:** [April 11, 2022, 2:07pm UTC](https://community.gladysassistant.com/t/installation-openzwave-1-6-pour-environement-dev-wsl-et-ubuntu/7176 "2022-04-11T14:07:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [April 11, 2022, 2:07pm UTC](https://community.gladysassistant.com/t/installation-openzwave-1-6-pour-environement-dev-wsl-et-ubuntu/7176/1 "2022-04-11T14:07:56Z")

</div>

Small tutorial for devs on Ubuntu or WSL, I rebuilt my dev env under WSL and had issues with openzwave

To remind, this is a system dependency for zwave integration.

1. Download Openzwave 1.6

```bash
wget http://old.openzwave.com/downloads/openzwave-1.6.1914.tar.gz

```

1. Extract

```bash
tar zxvf openzwave-1.6.1914.tar.gz

```

1. Move to the extracted folder

```bash
cd openzwave-1.6.1914

```

1. Patch (the latest versions no longer build on Ubuntu, Debian, etc…)

```bash
wget https://gist.githubusercontent.com/VonOx/9229c8815edc2ece33fdff7bcc15bc25/raw/225b66516829853d3c368f51234f4c09bb5b1361/ozw1914.patch && patch -p1 < ozw1914.patch

```

1. Build and install

```bash
make && sudo make install

```

1. Modify the environment

```bash
sudo sed -i '$a LD_LIBRARY_PATH=/usr/local/lib64' /etc/environment
sudo ldconfig

```

After that, the installation of npm packages will work (and eslint as well)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [April 11, 2022, 3:15pm UTC](https://community.gladysassistant.com/t/installation-openzwave-1-6-pour-environement-dev-wsl-et-ubuntu/7176/2 "2022-04-11T15:15:35Z")

</div>

I moved this topic to «&nbsp;tutorials&nbsp;», wouldn’t this tutorial deserve to be in the WSL site documentation?

> **[Mettre en place un environnement de développement sous Windows | Gladys...](https://gladysassistant.com/fr/docs/dev/setup-development-environment-windows/)**
>
> Vous trouverez ici les instructions pour mettre en place un environnement de développemment Gladys 4 sur Windows.

I also hope we’ll soon get rid of this completely obsolete dependency! ^^

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [April 11, 2022, 3:18pm UTC](https://community.gladysassistant.com/t/installation-openzwave-1-6-pour-environement-dev-wsl-et-ubuntu/7176/3 "2022-04-11T15:18:15Z")

</div>

I wondered about that too, but the patch is supposed to be temporary 😕  
But nothing is moving on the repo (It’s an issue from 2021 that put me on the track)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [April 11, 2022, 3:22pm UTC](https://community.gladysassistant.com/t/installation-openzwave-1-6-pour-environement-dev-wsl-et-ubuntu/7176/4 "2022-04-11T15:22:25Z")

</div>

Oh I see… well don’t worry then, I really hope one day we’ll remove this dependency ^^

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [April 11, 2022, 3:23pm UTC](https://community.gladysassistant.com/t/installation-openzwave-1-6-pour-environement-dev-wsl-et-ubuntu/7176/5 "2022-04-11T15:23:53Z")

</div>

![Pas Faux GIFs | Tenor](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/564162ec1a023c180cec4197bd45ff7c960a584c.gif)
