<?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 it-grossniklaus.ch</title>
    <link>https://it-grossniklaus.ch/tags/apt/</link>
    <description>Recent content in Apt on it-grossniklaus.ch</description>
    <generator>Hugo</generator>
    <language>de</language>
    <atom:link href="https://it-grossniklaus.ch/tags/apt/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Ein Paket einfrieren (apt-mark)</title>
      <link>https://it-grossniklaus.ch/pages/topics/os/linux/snippets/debian/apt-mark_hold/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://it-grossniklaus.ch/pages/topics/os/linux/snippets/debian/apt-mark_hold/</guid>
      <description>&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sudo apt-mark hold linux-image-3.2.0-4-amd64&#xA;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Installation ohne die Recommends (apt-get)</title>
      <link>https://it-grossniklaus.ch/pages/topics/os/linux/snippets/debian/apt-get_no-install_recommends/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://it-grossniklaus.ch/pages/topics/os/linux/snippets/debian/apt-get_no-install_recommends/</guid>
      <description>&lt;h3 id=&#34;nmap-als-beispiel--kein-x11-zeugs&#34;&gt;nmap als Beispiel (=&amp;gt; kein X11 Zeugs)&lt;/h3&gt;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sudo apt-get --no-install-recommends install nmap&#xA;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>mkdocs installieren</title>
      <link>https://it-grossniklaus.ch/pages/topics/os/linux/snippets/debian/install_mkdocs/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://it-grossniklaus.ch/pages/topics/os/linux/snippets/debian/install_mkdocs/</guid>
      <description>&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sudo apt-get install pip python-dev&#xA;sudo pip install mkdocs&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;wenn vorher ein Problem war, dann:&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sudo pip install -U --force-reinstall mkdocs&#xA;&lt;/pre&gt;&#xA;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Verwendung von Paketlisten (apt-get)</title>
      <link>https://it-grossniklaus.ch/pages/topics/os/linux/snippets/debian/apt-get_install_with_collection/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://it-grossniklaus.ch/pages/topics/os/linux/snippets/debian/apt-get_install_with_collection/</guid>
      <description>&lt;p&gt;Statt &lt;a href=&#34;https://wiki.debian.org/tasksel&#34;&gt;tasksel&lt;/a&gt; führe ich lieber eigene Listen. Ich nenne die dann Collections:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;000_basic.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;010_basic_sw_raid.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;100_proxy.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;200_web.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;210_web_company_1.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;220_web_company_2.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;300_db.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;400_etl.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;810_wordpress.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;820_nagios.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;So eine Collection kann auch &lt;em&gt;on-the-fly&lt;/em&gt; erstellt werden:&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;cat &gt; tmp.install.basic.txt &lt;&lt;__EOF__&#xA;bash-completion  # really cool completion&#xA;&#xA;# tools&#xA;emacs23-nox emacs23-el mc mg screen subversion unzip zip&#xA;__EOF__&#xA;&lt;/pre&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;Anwendung einer Collection (mit &lt;code&gt;sed&lt;/code&gt; als Filter)&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sudo apt-get update&#xA;sudo apt-get install $(cat tmp.install.basic.txt | sed &#39;s/#.*//&#39;)&#xA;sudo apt-get clean&#xA;&lt;/pre&gt;&#xA;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
