<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>Cleanup - Tag - Gene.Tech</title>
        <link>https://geneliu.itaghome.win/tags/cleanup/</link>
        <description>Cleanup - Tag - Gene.Tech</description>
        <generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>gene.liu@live.com (Gene Liu)</managingEditor>
            <webMaster>gene.liu@live.com (Gene Liu)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Wed, 27 Jan 2021 00:00:00 &#43;0000</lastBuildDate><atom:link href="https://geneliu.itaghome.win/tags/cleanup/" rel="self" type="application/rss+xml" /><item>
    <title>Example of Reset/Cleanup Debian/Ubuntu Packages</title>
    <link>https://geneliu.itaghome.win/2021-1-27-remove-deb/</link>
    <pubDate>Wed, 27 Jan 2021 00:00:00 &#43;0000</pubDate>
    <author>gene.liu@live.com (Gene Liu)</author>
    <guid>https://geneliu.itaghome.win/2021-1-27-remove-deb/</guid>
    <description><![CDATA[<h3 id="installation-via-deb-package">Installation via .deb Package</h3>
<p>Add the Rancher Desktop repository and install Rancher Desktop with:</p>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">curl https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/Release.key <span class="p">|</span> sudo apt-key add -
</span></span><span class="line"><span class="cl">sudo add-apt-repository <span class="s1">&#39;deb https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/ ./&#39;</span>
</span></span><span class="line"><span class="cl">sudo apt update
</span></span><span class="line"><span class="cl">sudo apt install rancher-desktop</span></span></code></pre></div></div>
<h3 id="uninstalling-deb-package">Uninstalling .deb Package</h3>
<p>You can remove the package, repository, and key with:</p>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">sudo apt remove --autoremove rancher-desktop
</span></span><span class="line"><span class="cl">sudo add-apt-repository -r <span class="s1">&#39;deb https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/ ./&#39;</span>
</span></span><span class="line"><span class="cl">sudo apt-key del &lt;keyid&gt;</span></span></code></pre></div></div>
<p>Where <code>keyid</code> is the line above the one containing <code>isv:Rancher:stable</code> when you run <code>apt-key list</code>. So if I have the following block for the Rancher Desktop Key:</p>]]></description>
</item>
</channel>
</rss>
