# Fresh install on debian 9 - where is the bynary?

**URL:** <https://discuss.elastic.co/t/fresh-install-on-debian-9-where-is-the-bynary/171323>\
**Category:** Logstash\
**Created:** [March 7, 2019, 2:22pm UTC](https://discuss.elastic.co/t/fresh-install-on-debian-9-where-is-the-bynary/171323 "2019-03-07T14:22:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![realtebo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/realtebo/32/47241_2.png) [@realtebo](https://discuss.elastic.co/u/realtebo)\
**Post date:** [March 7, 2019, 2:22pm UTC](https://discuss.elastic.co/t/fresh-install-on-debian-9-where-is-the-bynary/171323/1 "2019-03-07T14:22:14Z")

</div>

I succesfully installed logstash on a debian 9 using apt following the official doc..

I am able to see logstash.service loaded and running using `sudo systemctl status logstash.service`

Now I must execute `bin/logstash` but obiously I got `command not found`.

**EDIT : I found `/usr/share/logstash/bin` so I tried**

```auto
cd /usr/share/logstash
bin/logstash -e 'input { stdin { } } output { stdout {} }'

```

And it works.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 4, 2019, 2:34pm UTC](https://discuss.elastic.co/t/fresh-install-on-debian-9-where-is-the-bynary/171323/2 "2019-04-04T14:34:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
