389-dsgw software package provides 389 Directory Server Gateway, you can install in your Debian 9 (Stretch) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install 389-dsgw
389-dsgw is installed in your system.
Make ensure the 389-dsgw package were installed using the commands given below,
$ sudo dpkg-query -l | grep 389-dsgw *
You will get with 389-dsgw package name, version, architecture and description in a table
| Distro | Debian 9 stretch |
| Section | Network |
| Package | 389-dsgw |
| Version | 1.1.11-2+b2 [amd64, arm64, arm |
| Description | 389 Directory Server Gateway |
| Sub Section | Net |