# Cannot install Mattermost on latest Ubuntu (19.04)

**URL:** <https://forum.mattermost.com/t/cannot-install-mattermost-on-latest-ubuntu-19-04/7443>\
**Category:** Troubleshooting\
**Created:** [June 10, 2019, 10:35am UTC](https://forum.mattermost.com/t/cannot-install-mattermost-on-latest-ubuntu-19-04/7443 "2019-06-10T10:35:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikkilocke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nikkilocke/32/2962_2.png) [@nikkilocke](https://forum.mattermost.com/u/nikkilocke)\
**Post date:** [June 10, 2019, 10:35am UTC](https://forum.mattermost.com/t/cannot-install-mattermost-on-latest-ubuntu-19-04/7443/1 "2019-06-10T10:35:10Z")

</div>

#### Summary

Cannot install Mattermost on latest Ubuntu (19.04) because cannot install docker

#### Steps to reproduce

On Ubuntu 19.04, follow exactly the Mattermost installation instructions at [https://developers.mattermost.com/contribute/server/developer-setup/](https://developers.mattermost.com/contribute/server/developer-setup/)

```
root@ubuntu:/root# curl -fsSL https://get.docker.com -o get-docker.sh
root@ubuntu:/root# sh get-docker.sh
# Executing docker install script, commit: 2f4ae48
+ sh -c apt-get update -qq >/dev/null
+ sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key output should not be parsed (stdout is not a terminal)
+ sh -c echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get update -qq >/dev/null
+ [-n]
+ sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
E: Package 'docker-ce' has no installation candidate
root@ubuntu:/root# usermod -aG docker $(whoami)
usermod: group 'docker' does not exist

```

#### Expected behavior

Install continues without error messages

#### Observed behavior

See above.

Is it necessary to install docker to compile or run Mattermost?

---

<div class="post-metadata">

**Author:** ![JtheBAB](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jthebab/32/2702_2.png) [@JtheBAB](https://forum.mattermost.com/u/JtheBAB)\
**Post date:** [June 10, 2019, 2:27pm UTC](https://forum.mattermost.com/t/cannot-install-mattermost-on-latest-ubuntu-19-04/7443/2 "2019-06-10T14:27:51Z")

</div>

@nikkilocke

Do you want to develop something with Mattermost or do you want to use the product as it is?

If you want to use it you don’t need Docket if you don’t want.

Just follow this:

[https://docs.mattermost.com/install/install-ubuntu-1804.html](https://docs.mattermost.com/install/install-ubuntu-1804.html)

---

<div class="post-metadata">

**Author:** ![nikkilocke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nikkilocke/32/2962_2.png) [@nikkilocke](https://forum.mattermost.com/u/nikkilocke)\
**Post date:** [June 11, 2019, 12:02pm UTC](https://forum.mattermost.com/t/cannot-install-mattermost-on-latest-ubuntu-19-04/7443/3 "2019-06-11T12:02:19Z")

</div>

I want to test out Mattermost with a view to importing loads of messages from a Basecamp system that we are considering scrapping.

I may also want to add new login facilities (in a fork), so we can use a single login for Mattermost, Discourse and a number of other servers we have in house.

---

<div class="post-metadata">

**Author:** ![nikkilocke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nikkilocke/32/2962_2.png) [@nikkilocke](https://forum.mattermost.com/u/nikkilocke)\
**Post date:** [June 11, 2019, 2:26pm UTC](https://forum.mattermost.com/t/cannot-install-mattermost-on-latest-ubuntu-19-04/7443/4 "2019-06-11T14:26:31Z")

</div>

Just a note of thanks - I followed those directions, and I have Mattermost installed and running.

---

<div class="post-metadata">

**Author:** ![nikkilocke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nikkilocke/32/2962_2.png) [@nikkilocke](https://forum.mattermost.com/u/nikkilocke)\
**Post date:** [June 11, 2019, 2:27pm UTC](https://forum.mattermost.com/t/cannot-install-mattermost-on-latest-ubuntu-19-04/7443/5 "2019-06-11T14:27:40Z")

</div>

Just a note of thanks, I followed those directions, and Mattermost is installed and running.
