<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apt on HiDa</title><link>https://www.0niu.cn/tags/apt/</link><description>Recent content in Apt on HiDa</description><generator>Hugo -- gohugo.io</generator><language>zh</language><lastBuildDate>Fri, 11 May 2018 22:55:50 +0800</lastBuildDate><atom:link href="https://www.0niu.cn/tags/apt/index.xml" rel="self" type="application/rss+xml"/><item><title>Apt remove 通配符</title><link>https://www.0niu.cn/posts/apt-remove-wildcard/</link><pubDate>Fri, 11 May 2018 22:55:50 +0800</pubDate><guid>https://www.0niu.cn/posts/apt-remove-wildcard/</guid><description>&lt;p>Apt remove 无法使用通配符*，需要使用正则表达式&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>sudo apt remove &lt;span style="color:#e6db74">&amp;#39;^firefox-locale-.*&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>删除firefox语言包&lt;/p></description><content>&lt;p>Apt remove 无法使用通配符*，需要使用正则表达式&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>sudo apt remove &lt;span style="color:#e6db74">&amp;#39;^firefox-locale-.*&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>删除firefox语言包&lt;/p></content></item></channel></rss>