# Debian package availability

**URL:** <https://discourse.crowdsec.net/t/debian-package-availability/116>\
**Category:** Uncategorized\
**Created:** [February 9, 2021, 3:42pm UTC](https://discourse.crowdsec.net/t/debian-package-availability/116 "2021-02-09T15:42:09Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaa](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/kaa/32/17_2.png) [@kaa](https://discourse.crowdsec.net/u/kaa)\
**Post date:** [February 9, 2021, 3:42pm UTC](https://discourse.crowdsec.net/t/debian-package-availability/116/1 "2021-02-09T15:42:09Z")

</div>

We have now debian repositories available. To use it:

```auto
wget -qO - https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/crowdsec.asc |sudo apt-key add - && sudo apt-add-repository "https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/<suite> <suite> main"
sudo apt-get update
sudo apt-get install crowdsec

```

suite can be one of bullseye, sid, buster, stretch, bionic, focal and xenial. Architectures are amd64, arm64 and i386. Some of suite may not exist in some architecture due to some build issues. If your distribution or architecture is not available please get in touch, so we can add it.

Next goal will be to add debian armhf and raspbian.

repositories and packages should be considered as, your feedback will be greatly appreciated and issue will be taken care of swiftly.

Please keep in mind, packages provided by these repositories are not official debian ones and don’t strictly follow debian packages guidelines. On the other hand, crowdsec landed in official debian testing repositories. Our package will be kept in sync with upstream release cycle more often.

---

<div class="post-metadata">

**Author:** ![thibault](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/thibault/32/2_2.png) [@thibault](https://discourse.crowdsec.net/u/thibault)\
**Post date:** [February 9, 2021, 4:11pm UTC](https://discourse.crowdsec.net/t/debian-package-availability/116/2 "2021-02-09T16:11:31Z")

</div>



---

<div class="post-metadata">

**Author:** ![Sich](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/sich/32/16_2.png) [@Sich](https://discourse.crowdsec.net/u/Sich)\
**Post date:** [February 9, 2021, 4:41pm UTC](https://discourse.crowdsec.net/t/debian-package-availability/116/3 "2021-02-09T16:41:53Z")

</div>

> [@kaa](#):
>
> `https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/crowdsec.asc`

`NoSuchKey` The specified key does not exist. crowdsec.asc D997A4EF91F2C55F WiHLhWasC0zMxw3I2h/mLmYoe46pgpsf2DlFTNVj3m5BSINITD7uiSSs4Fju82Zssmkg+gaIapM=

Did I miss something ? 🙂

Btw did I need to remove the previous installed version before trying to install the repos version ?

---

<div class="post-metadata">

**Author:** ![kaa](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/kaa/32/17_2.png) [@kaa](https://discourse.crowdsec.net/u/kaa)\
**Post date:** [February 9, 2021, 5:32pm UTC](https://discourse.crowdsec.net/t/debian-package-availability/116/4 "2021-02-09T17:32:25Z")

</div>

Fixed. Sorry, and thanks for the feedback !

It should work without reinstalling, and configuration shouldn’t be erased by the package, but still, package are beta for now. Thanks !

---

<div class="post-metadata">

**Author:** ![kaa](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/kaa/32/17_2.png) [@kaa](https://discourse.crowdsec.net/u/kaa)\
**Post date:** [February 10, 2021, 8:26am UTC](https://discourse.crowdsec.net/t/debian-package-availability/116/5 "2021-02-10T08:26:24Z")

</div>

We spotted a new issue :

```auto
[02/10/21:10:34:58][ERR] crowdsec_wizard: Unknown argument -n.

```

This being worked on right now.

Thanks

---

<div class="post-metadata">

**Author:** ![thibault](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/thibault/32/2_2.png) [@thibault](https://discourse.crowdsec.net/u/thibault)\
**Post date:** [February 11, 2021, 8:31am UTC](https://discourse.crowdsec.net/t/debian-package-availability/116/6 "2021-02-11T08:31:45Z")

</div>

version 1.0.7 was uploaded to the repositories and should be functional now 🙂

---

<div class="post-metadata">

**Author:** ![Symbian001](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Symbian001](https://discourse.crowdsec.net/u/Symbian001)\
**Post date:** [February 11, 2021, 4:39pm UTC](https://discourse.crowdsec.net/t/debian-package-availability/116/7 "2021-02-11T16:39:30Z")

</div>

E: The repository ‘[https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/](https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/) focal Release’ does not have a Release file.  
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.  
N: See apt-secure(8) manpage for repository creation and user configuration details.

Ubuntu sever 20.04.2

---

<div class="post-metadata">

**Author:** ![kaa](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/kaa/32/17_2.png) [@kaa](https://discourse.crowdsec.net/u/kaa)\
**Post date:** [February 13, 2021, 9:45am UTC](https://discourse.crowdsec.net/t/debian-package-availability/116/8 "2021-02-13T09:45:48Z")

</div>

Hi,

Can you show me the relevant part of your sources.list ? Is your architecture amd64 ?

Thanks for your feedback, user experience is very appreciated !

---

<div class="post-metadata">

**Author:** ![kaa](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/kaa/32/17_2.png) [@kaa](https://discourse.crowdsec.net/u/kaa)\
**Post date:** [February 15, 2021, 10:43am UTC](https://discourse.crowdsec.net/t/debian-package-availability/116/9 "2021-02-15T10:43:04Z")

</div>

To be sure, with focal, your sources.list file pertinent line should look like this:

`deb https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/focal focal main`

Regards,

---

<div class="post-metadata">

**Author:** ![Sich](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/sich/32/16_2.png) [@Sich](https://discourse.crowdsec.net/u/Sich)\
**Post date:** [February 17, 2021, 12:48pm UTC](https://discourse.crowdsec.net/t/debian-package-availability/116/10 "2021-02-17T12:48:38Z")

</div>

You should add $sudo apt install software-properties-common before doing the apt-add-repository command.  
This program is not installed by default on Debian.

---

<div class="post-metadata">

**Author:** ![ovizii](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/ovizii/32/23_2.png) [@ovizii](https://discourse.crowdsec.net/u/ovizii)\
**Post date:** [April 2, 2021, 9:08pm UTC](https://discourse.crowdsec.net/t/debian-package-availability/116/11 "2021-04-02T21:08:00Z")

</div>

The official docs over here: [Install Crowdsec - Crowdsec](https://doc.crowdsec.net/Crowdsec/v1/getting_started/installation/) look different:

`wget -qO - https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/crowdsec.asc |sudo apt-key add - && echo "deb https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/$(lsb_release -cs) $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/crowdsec.list > /dev/null`

the problem is, that on my Debian Buster, there is no command “lsb\_release” - at least its not installed by default I think.

also, I’d be curious if I can install a version from the repository over a manually installed one.

---

<div class="post-metadata">

**Author:** ![kaa](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/kaa/32/17_2.png) [@kaa](https://discourse.crowdsec.net/u/kaa)\
**Post date:** [April 6, 2021, 8:27am UTC](https://discourse.crowdsec.net/t/debian-package-availability/116/12 "2021-04-06T08:27:20Z")

</div>

lsb\_release seems to be part of lsb-release package. Thus if you do an apt-get install lsb-release, you should be able to follow the documentation.

But this is kind of weird, not having this installed by default. We’ll have this investigated, and maybe the documentation updated.
