# Am not able to install microk8 on amazon linux or red hat , the snapd package can't download

**URL:** <https://discuss.kubernetes.io/t/am-not-able-to-install-microk8-on-amazon-linux-or-red-hat-the-snapd-package-cant-download/20035>\
**Category:** microk8s\
**Tags:** podcast\
**Created:** [May 16, 2022, 8:57pm UTC](https://discuss.kubernetes.io/t/am-not-able-to-install-microk8-on-amazon-linux-or-red-hat-the-snapd-package-cant-download/20035 "2022-05-16T20:57:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndefrutitus22](https://avatars.discourse-cdn.com/v4/letter/n/f04885/32.png) [@ndefrutitus22](https://discuss.kubernetes.io/u/ndefrutitus22)\
**Post date:** [May 16, 2022, 8:57pm UTC](https://discuss.kubernetes.io/t/am-not-able-to-install-microk8-on-amazon-linux-or-red-hat-the-snapd-package-cant-download/20035/1 "2022-05-16T20:57:16Z")

</div>

Am working on a project to run a ci-cd pipeline , am using amazon linux 2 then switch to Red hat, still unable to install microk8s ,when i run : yum -y install snapd

i get the below message :

[ec2-user@ip-172-31-18-77 ~]$ yum -y install snapd  
Loaded plugins: extras\_suggestions, langpacks, priorities, update-motd  
You need to be root to perform this command.  
[ec2-user@ip-172-31-18-77 ~]$ sudo yum -y install snapd  
Loaded plugins: extras\_suggestions, langpacks, priorities, update-motd  
amzn2-core | 3.7 kB 00:00  
amzn2extra-docker | 3.0 kB 00:00  
amzn2extra-kernel-5.10 | 3.0 kB 00:00  
No package snapd available.  
Error: Nothing to do  
[ec2-user@ip-172-31-18-77 ~]$

i need a work around ,any suggestion will help

---

<div class="post-metadata">

**Author:** ![stephendotcarter](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/stephendotcarter/32/4528_2.png) [@stephendotcarter](https://discuss.kubernetes.io/u/stephendotcarter)\
**Post date:** [May 18, 2022, 9:18am UTC](https://discuss.kubernetes.io/t/am-not-able-to-install-microk8-on-amazon-linux-or-red-hat-the-snapd-package-cant-download/20035/2 "2022-05-18T09:18:27Z")

</div>

Hi @ndefrutitus22,

snapd isn’t in the default repos for Red Hat.

You need to install the EPEL repo as described here:

- [https://snapcraft.io/docs/installing-snap-on-red-hat](https://snapcraft.io/docs/installing-snap-on-red-hat)

Not sure what the steps are for Amazon Linux, but they should be similar.
