<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>savakan</author_name>
  <author_url>https://blog.hatena.ne.jp/savakan/</author_url>
  <blog_title>しょぼんメモリ （´・ω・｀）</blog_title>
  <blog_url>https://shobon.hatenablog.com/</blog_url>
  <categories>
    <anon>AlmaLinux8</anon>
    <anon>CentOS8</anon>
    <anon>Rocky Linux8</anon>
  </categories>
  <description>この記事には改訂版あり shobon.hatenablog.com以上、2022/5/4 追記。 長いので結論を先に。 # dnf remove --oldinstallonly （最新の世代だけ残す） または # dnf remove $(dnf repoquery --installonly --latest-limit=-2) （最新の2世代だけ残す） なぜ上記のようになるかは、以下の通り。CentOS 7 までは、 # package-cleanup --oldkernels --count=2 などとして古いカーネルを削除できた。CentOS 8で同じようにやっても、package-…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshobon.hatenablog.com%2Fentry%2F2021%2F07%2F09%2F220900&quot; title=&quot;CentOS 8 で古いカーネルを削除する方法 - しょぼんメモリ （´・ω・｀）&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-07-09 22:09:00</published>
  <title>CentOS 8 で古いカーネルを削除する方法</title>
  <type>rich</type>
  <url>https://shobon.hatenablog.com/entry/2021/07/09/220900</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
