<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rachael Muga</title>
    <description>The latest articles on DEV Community by Rachael Muga (@rachael_muga).</description>
    <link>https://dev.to/rachael_muga</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3207272%2Fc52cd507-6eb6-42bc-8a2c-25ba003e80a5.jpeg</url>
      <title>DEV Community: Rachael Muga</title>
      <link>https://dev.to/rachael_muga</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rachael_muga"/>
    <language>en</language>
    <item>
      <title>🐦 How to Install Snap on Parrot OS (When snapd Isn't Available)</title>
      <dc:creator>Rachael Muga</dc:creator>
      <pubDate>Mon, 26 May 2025 07:50:43 +0000</pubDate>
      <link>https://dev.to/rachael_muga/how-to-install-snap-on-parrot-os-when-snapd-isnt-available-2m20</link>
      <guid>https://dev.to/rachael_muga/how-to-install-snap-on-parrot-os-when-snapd-isnt-available-2m20</guid>
      <description>&lt;p&gt;When trying to install Snap on Parrot OS, you might run into this frustrating error:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;E: Package 'snapd' has no installation candidate

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj54ablepcb3zpqor0u57.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj54ablepcb3zpqor0u57.png" alt="Image description" width="736" height="270"&gt;&lt;/a&gt;&lt;br&gt;
That's because Parrot OS, while based on Debian, doesn't include Snap support by default. Here's how to fix that and get Snap running smoothly.&lt;/p&gt;
&lt;h1&gt;
  
  
  🛠️ Step-by-Step Fix
&lt;/h1&gt;
&lt;h3&gt;
  
  
  &lt;strong&gt;1. Add Debian contrib and non-free Repositories&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Edit your sources list:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo nano /etc/apt/sources.list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Add the following lines (adjust if you're on a different Debian base; Parrot 6 is based on Debian 12 "bookworm"):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;deb http://deb.debian.org/debian bookworm main contrib non-free
deb http://deb.debian.org/debian-security bookworm-security main contrib non-free
deb http://deb.debian.org/debian bookworm-updates main contrib non-free
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;💡 In nano, press Ctrl+O to save, Enter to confirm, and Ctrl+X to exit.&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Update Your Package List
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt update
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;3. Install snapd&lt;/strong&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt install snapd -y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvijhjdfiu0s7xgm078jm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvijhjdfiu0s7xgm078jm.png" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;4. Enable Snap Services&lt;/strong&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo systemctl enable --now snapd
sudo ln -s /var/lib/snapd/snap /snap
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;5. Verify Installation&lt;/strong&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;snap version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi7nyugtywr5ianxyw4gd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi7nyugtywr5ianxyw4gd.png" alt="Image description" width="417" height="222"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;✅ Optional: Test Snap with Hello World&lt;/strong&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo snap install hello-world
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftig8xyjr574spy7hafzp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftig8xyjr574spy7hafzp.png" alt="Image description" width="730" height="101"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;🚀 You're Ready to Use Snap!&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Now you can install any snap package as usual&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;📌 Why This Happens&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Parrot OS doesn't ship with snapd or the required repos enabled. Since it's a security-focused distro, they limit packages to those they audit or support by default. But thanks to its Debian roots, you can still configure it manually.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>snapd</category>
      <category>parrotos</category>
      <category>debian</category>
    </item>
  </channel>
</rss>
