{"id":316,"date":"2023-04-10T22:55:37","date_gmt":"2023-06-02T07:15:41","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/"},"modified":"2025-07-31T22:36:23","modified_gmt":"2025-07-31T13:36:23","slug":"ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/","title":{"rendered":"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9"},"content":{"rendered":"<h3>\u306f\u3058\u3081\u306b<\/h3>\n<p>apt-key\u306f\u3001APT\u304c\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8a8d\u8a3c\u306b\u4f7f\u7528\u3059\u308b\u30ad\u30fc\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3067\u3059\u3002\u3053\u308c\u306f\u3001add-apt-repository\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3068\u5bc6\u63a5\u306b\u95a2\u9023\u3057\u3066\u304a\u308a\u3001\u30ad\u30fc\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3057\u3066\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092APT\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u4fe1\u983c\u3055\u308c\u305f\u30bd\u30fc\u30b9\u306e\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3057\u304b\u3057\u3001apt-key\u3068add-apt-repository\u3092\u4f7f\u7528\u3057\u3066\u8ffd\u52a0\u3055\u308c\u305f\u30ad\u30fc\u306f\u3001apt\u306b\u3088\u3063\u3066\u30b0\u30ed\u30fc\u30d0\u30eb\u306b\u4fe1\u983c\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30ad\u30fc\u306f\u3001\u305d\u308c\u305e\u308c\u304c\u610f\u56f3\u3055\u308c\u305f\u5358\u4e00\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8a8d\u8a3c\u306b\u9650\u5b9a\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u65b9\u6cd5\u3067\u8ffd\u52a0\u3055\u308c\u305f\u30ad\u30fc\u306f\u3001\u4ed6\u306e\u4efb\u610f\u306e\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8ffd\u52a0\u3092\u8a8d\u53ef\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u3001\u91cd\u8981\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u61f8\u5ff5\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>Ubuntu 20.10\u4ee5\u964d\u3001apt-key\u306e\u4f7f\u7528\u306f\u8fd1\u3044\u5c06\u6765\u975e\u63a8\u5968\u306b\u306a\u308b\u3068\u3044\u3046\u8b66\u544a\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u540c\u69d8\u306b\u3001add-apt-repository\u3082\u307e\u3082\u306a\u304f\u975e\u63a8\u5968\u3068\u3055\u308c\u308b\u4e88\u5b9a\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u975e\u63a8\u5968\u8b66\u544a\u306f\u3001Ubuntu 22.04\u3067\u3082apt-key\u3068add-apt-repository\u306e\u4f7f\u7528\u3092\u53b3\u5bc6\u306b\u306f\u59a8\u3052\u307e\u305b\u3093\u304c\u3001\u7121\u8996\u3059\u308b\u3053\u3068\u306f\u304a\u52e7\u3081\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u73fe\u5728\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306f\u3001apt-key\u3068add-apt-repository\u306e\u4ee3\u308f\u308a\u306bgpg\u3092\u4f7f\u7528\u3057\u3001Ubuntu\u306e\u5c06\u6765\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u3053\u308c\u304c\u552f\u4e00\u306e\u9078\u629e\u80a2\u3068\u306a\u308a\u307e\u3059\u3002apt-key\u3068add-apt-repository\u81ea\u4f53\u306f\u5e38\u306b\u88cf\u3067gpg\u3092\u547c\u3073\u51fa\u3059\u30e9\u30c3\u30d1\u30fc\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3066\u304d\u307e\u3057\u305f\u3002\u76f4\u63a5gpg\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u4e2d\u9593\u51e6\u7406\u304c\u7701\u304b\u308c\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001gpg\u30e1\u30bd\u30c3\u30c9\u306f\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306eUbuntu\u3068\u306e\u4e92\u63db\u6027\u304c\u3042\u308a\u3001apt-key\u306e\u4ee3\u66ff\u3068\u3057\u3066\u7c21\u5358\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001apt-key\u3068add-apt-repository\u306e\u4ee3\u66ff\u624b\u6cd5\u3092\u4f7f\u7528\u3057\u305f2\u3064\u306e\u624b\u9806\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\u6700\u521d\u306b\u3001apt-key\u306e\u4ee3\u308f\u308a\u306bgpg\u3092\u4f7f\u7528\u3057\u3066\u516c\u958b\u9375\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001add-apt-repository\u306e\u4ee3\u308f\u308a\u306bgpg\u3092\u4f7f\u7528\u3057\u3066\u30ad\u30fc\u30b5\u30fc\u30d0\u30fc\u3092\u4ecb\u3057\u3066\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u88dc\u8db3\u3068\u3057\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5b8c\u4e86\u3059\u308b\u305f\u3081\u306b\u306f\u3001Ubuntu 22.04 \u30b5\u30fc\u30d0\u30fc\u304c\u5fc5\u8981\u3067\u3059\u3002Ubuntu 22.04 \u306e\u521d\u671f\u30b5\u30fc\u30d0\u30fc\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30ac\u30a4\u30c9\u306b\u5f93\u3063\u3066\u3001sudo \u6a29\u9650\u3092\u6301\u3064\u975e\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u3068\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u72b6\u614b\u3067\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d71 \u2014 \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u4e3b\u8981\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u8b58\u5225<\/h2>\n<p>PGP\uff08\u30d7\u30ea\u30c6\u30a3\u30fb\u30b0\u30c3\u30c9\u30fb\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\uff09\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u7f72\u540d\u3001\u6697\u53f7\u5316\u3001\u5fa9\u53f7\u5316\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u30d7\u30ed\u30d7\u30e9\u30a4\u30a8\u30bf\u30ea\u306e\u6697\u53f7\u5316\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002PGP\u30d5\u30a1\u30a4\u30eb\u306f\u516c\u958b\u9375\u30d5\u30a1\u30a4\u30eb\u3067\u3042\u308a\u3001apt\u5185\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u59a5\u5f53\u306a\u30bd\u30fc\u30b9\u3068\u3057\u3066\u8a8d\u8a3c\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002GPG\uff08GNU\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u30ac\u30fc\u30c9\uff09\u306f\u3001PGP\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u4ee3\u66ff\u3067\u3059\u3002GPG\u30d5\u30a1\u30a4\u30eb\u306f\u901a\u5e38\u3001\u8907\u6570\u306e\u9375\u3092\u4fdd\u6301\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3067\u3042\u308b\u30ad\u30fc\u30ea\u30f3\u30b0\u3067\u3059\u3002\u3069\u3061\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u30bf\u30a4\u30d7\u3082\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u7f72\u540d\u3068\u6697\u53f7\u5316\u306b\u3088\u304f\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>GPG\u306f\u3001GPG\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3067\u3042\u308a\u3001apt\u3068\u4e00\u7dd2\u306b\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u627f\u8a8d\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057\u3001gpg\u306fGPG\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u3092\u53d7\u3051\u4ed8\u3051\u307e\u3059\u3002PGP\u30d5\u30a1\u30a4\u30eb\u3067\u3053\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u305d\u308c\u3089\u3092\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u793a\u3059\u82f1\u6587\u3092\u65e5\u672c\u8a9e\u3067\u4e00\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8a00\u3044\u63db\u3048\u307e\u3059\uff1a<\/p>\n<p>Elasticsearch\u306f\u30ad\u30fc\u5909\u63db\u306e\u5171\u901a\u30b7\u30ca\u30ea\u30aa\u3092\u63d0\u4f9b\u3057\u3001\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306e\u4f8b\u3068\u3057\u3066\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002PGP\u306e\u66f8\u5f0f\u3067\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3055\u308c\u305f\u30ad\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001.gpg\u306e\u30d5\u30a1\u30a4\u30eb\u62e1\u5f35\u5b50\u3067apt\u3068\u4e92\u63db\u6027\u306e\u3042\u308b\u5f62\u5f0f\u306b\u5909\u63db\u3057\u307e\u3059\u3002&#8211;dearmor\u30d5\u30e9\u30b0\u3092\u4f7f\u3063\u3066gpg\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3053\u308c\u3092\u884c\u3044\u307e\u3059\u3002\u6b21\u306b\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u30bd\u30fc\u30b9\u306e\u30ea\u30b9\u30c8\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u30ea\u30f3\u30af\u3092\u8ffd\u52a0\u3057\u3001\u5909\u63db\u3057\u305f\u30ad\u30fc\u3078\u306e\u76f4\u63a5\u53c2\u7167\u3092\u6dfb\u4ed8\u3057\u307e\u3059\u3002\u6700\u5f8c\u306b\u3001Elasticsearch\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ad\u30fc\u306e\u691c\u8a3c\u304c\u5fc5\u8981\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u5e38\u306b\u516c\u958b\u9375\u3068\u30ea\u30dd\u30b8\u30c8\u30ea\u306eURI\u304c\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u3001\u305d\u306e\u6b63\u78ba\u306a\u5834\u6240\u3092\u793a\u3059\u3082\u306e\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001Elasticsearch\u306e\u5834\u5408\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u306f\u3053\u308c\u3089\u306e\u8981\u7d20\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30da\u30fc\u30b8\u3067\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306fElasticsearch\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4e00\u89a7\u3067\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Key: https:\/\/artifacts.elastic.co\/GPG-KEY-elasticsearch<\/li>\n<li>Repository: https:\/\/artifacts.elastic.co\/packages\/7.x\/apt stable main<\/li>\n<\/ul>\n<p>\u6b21\u306b\u3001\u4f5c\u696d\u306bPGP\u30d5\u30a1\u30a4\u30eb\u307e\u305f\u306fGPG\u30d5\u30a1\u30a4\u30eb\u304c\u4e0e\u3048\u3089\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u65ad\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002curl\u3092\u4f7f\u7528\u3057\u3066URL\u3092\u958b\u304d\u3001\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u691c\u67fb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-fsSL<\/span> https:\/\/artifacts.elastic.co\/GPG-KEY-elasticsearch<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306e\u5185\u5bb9\u3067\u59cb\u307e\u308b\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&#8212;&#8211;BEGIN PGP PUBLIC KEY BLOCK&#8212;&#8211; . . .<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>URL\u306bGPG\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001\u6700\u521d\u306e\u884c\u306b\u306f\u5b9f\u969b\u306b\u306fPGP\u9375\u30d5\u30a1\u30a4\u30eb\u3067\u3042\u308b\u3053\u3068\u304c\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3001\u306a\u305c\u306a\u3089apt\u306fGPG\u5f62\u5f0f\u306e\u307f\u3092\u53d7\u3051\u4ed8\u3051\u308b\u304b\u3089\u3067\u3059\u3002\u5143\u3005\u3001apt-key\u306fPGP\u30d5\u30a1\u30a4\u30eb\u3092\u691c\u51fa\u3057\u3001\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067gpg\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u3067\u81ea\u52d5\u7684\u306bGPG\u306b\u5909\u63db\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u30b9\u30c6\u30c3\u30d72\u3067\u306f\u3001PGP\u304b\u3089GPG\u3078\u306e\u624b\u52d5\u5909\u63db\u3068\u3001\u5909\u63db\u304c\u4e0d\u8981\u306a\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5\u306e\u4e21\u65b9\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d72 \u2014 \u30ad\u30fc\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068apt\u306b\u5bfe\u5fdc\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3078\u306e\u5909\u63db<\/h2>\n<p>Gpg\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u30bd\u30fc\u30b9\u306e\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\u3059\u308b\u524d\u306b\u5e38\u306b\u9375\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u524d\u306eapt-key\u3067\u306f\u3001\u3053\u306e\u9806\u5e8f\u306f\u5e38\u306b\u5f37\u5236\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u4eca\u306f\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u9375\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u30bd\u30fc\u30b9\u30ea\u30b9\u30c8\u3067\u53c2\u7167\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u9375\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u660e\u3089\u304b\u306b\u65e2\u5b58\u306e\u30d1\u30b9\u3092\u53c2\u7167\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>Elasticsearch\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001PGP\u30d5\u30a1\u30a4\u30eb\u3067\u4f5c\u696d\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5f8c\u306bGPG\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u306b\u5909\u63db\u3057\u307e\u3059\u3002\u6b21\u306e\u4f8b\u3067\u306f\u3001curl\u3092\u4f7f\u7528\u3057\u3066\u30ad\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u305f\u3082\u306e\u3092gpg\u30b3\u30de\u30f3\u30c9\u306b\u30d1\u30a4\u30d7\u3067\u6e21\u3057\u307e\u3059\u3002gpg\u306f&#8211;dearmor\u30d5\u30e9\u30b0\u3092\u4f7f\u7528\u3057\u3066PGP\u30ad\u30fc\u3092GPG\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u306b\u5909\u63db\u3057\u3001-o\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u51fa\u529b\u3092\u793a\u3059\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>Ubuntu\u3067\u306f\u3001\/usr\/share\/keyrings\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u3001\u5909\u63db\u3055\u308c\u305fGPG\u30d5\u30a1\u30a4\u30eb\u306e\u63a8\u5968\u4fdd\u5b58\u5834\u6240\u3067\u3059\u3002\u306a\u305c\u306a\u3089\u3001Ubuntu\u304c\u9375\u30ea\u30f3\u30b0\u3092\u4fdd\u5b58\u3059\u308b\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5834\u6240\u3067\u3042\u308b\u304b\u3089\u3067\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u306felastic-7.x.gpg\u3067\u3059\u304c\u3001\u4efb\u610f\u306e\u540d\u524d\u3067\u3082\u69cb\u3044\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-fsSL<\/span> https:\/\/artifacts.elastic.co\/GPG-KEY-elasticsearch <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> gpg <span class=\"token parameter variable\">&#8211;dearmor<\/span> <span class=\"token parameter variable\">-o<\/span> \/usr\/share\/keyrings\/elastic-7.x.gpg<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u64cd\u4f5c\u306b\u3088\u308a\u3001PGP\u30d5\u30a1\u30a4\u30eb\u3092\u6b63\u3057\u3044GPG\u5f62\u5f0f\u306b\u5909\u63db\u3057\u3001apt\u306e\u30bd\u30fc\u30b9\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\u3059\u308b\u6e96\u5099\u304c\u6574\u3044\u307e\u3059\u3002<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\u6ce8\u610f\uff1a\u3082\u3057\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u65e2\u306bGPG\u5f62\u5f0f\u3067\u3042\u308b\u5834\u5408\u3001\u6b21\u306e\u4f8b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u63db\u305b\u305a\u306b\u76f4\u63a5 \/usr\/share\/keyrings \u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff1a<br \/>\ncurl -fsSL https:\/\/artifacts.elastic.co\/GPG-KEY-elasticsearch | sudo tee \/usr\/share\/keyrings\/elastic-7.x.gpg<\/div>\n<p>\u3053\u306e\u5834\u5408\u3001curl\u30b3\u30de\u30f3\u30c9\u306e\u51fa\u529b\u306ftee\u306b\u30d1\u30a4\u30d7\u3055\u308c\u3001\u6b63\u3057\u3044\u5834\u6240\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n<h2>\u30b9\u30c6\u30c3\u30d73 \u2014 \u30d1\u30c3\u30b1\u30fc\u30b8\u30bd\u30fc\u30b9\u306e\u30ea\u30b9\u30c8\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b<\/h2>\n<p>\u30ad\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u6b63\u3057\u3044GPG\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3067\u4fdd\u5b58\u3057\u305f\u3089\u3001\u53d6\u5f97\u3057\u305f\u30ad\u30fc\u3092\u660e\u793a\u7684\u306b\u6307\u5b9a\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3092apt\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30bd\u30fc\u30b9\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u306f\u3001apt\u304c\u30bd\u30fc\u30b9\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5\u306b\u95a2\u9023\u3057\u305f3\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002apt\u306f\u4e2d\u592e\u306esources.list\u30d5\u30a1\u30a4\u30eb\u3001sources.list.d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e.list\u30d5\u30a1\u30a4\u30eb\u3001\u304a\u3088\u3073sources.list.d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e.source\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u30bd\u30fc\u30b9\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306e3\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u306f\u6a5f\u80fd\u7684\u306a\u9055\u3044\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u3054\u81ea\u8eab\u306e\u30cb\u30fc\u30ba\u306b\u6700\u3082\u9069\u3057\u305f\u65b9\u6cd5\u3092\u691c\u8a0e\u3057\u3001\u9078\u629e\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30aa\u30d7\u30b7\u30e7\u30f31 &#8211; sources.list\u306b\u76f4\u63a5\u8ffd\u52a0\u3059\u308b<\/h3>\n<p>\u6700\u521d\u306e\u65b9\u6cd5\u306f\u3001\u30bd\u30fc\u30b9\u3092\u76f4\u63a5\/etc\/apt\/sources.list\u306b\u633f\u5165\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001Ubuntu\u306b\u4ed8\u5c5e\u3057\u3066\u3044\u308b\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30bd\u30fc\u30b9\u3092\u542b\u3080\u8907\u6570\u306e\u30bd\u30fc\u30b9\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u7de8\u96c6\u3059\u308b\u3053\u3068\u306f\u5b8c\u5168\u306b\u8a31\u5bb9\u3055\u308c\u307e\u3059\u304c\u3001\u30aa\u30d7\u30b7\u30e7\u30f32\u3068\u30aa\u30d7\u30b7\u30e7\u30f33\u306f\u3001\u7de8\u96c6\u3084\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u304c\u5bb9\u6613\u306b\u306a\u308b\u3088\u308a\u30e2\u30b8\u30e5\u30e9\u30fc\u306a\u89e3\u6c7a\u7b56\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<p>\u597d\u304d\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u3001nano \u3084 \/etc\/apt\/sources.list \u3092\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/apt\/sources.list<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u4e0b\u90e8\u306b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\/etc\/apt\/sources.list \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb<\/div>\n<pre class=\"post-pre\"><code>. . .\r\ndeb [arch=amd64,arm64 signed-by=\/usr\/share\/keyrings\/elastic-7.x.gpg] https:\/\/artifacts.elastic.co\/packages\/7.x\/apt stable main\r\n<\/code><\/pre>\n<p>\u3053\u306e\u884c\u306b\u306f\u3001\u6b21\u306e\u60c5\u5831\u304c\u30bd\u30fc\u30b9\u306b\u3064\u3044\u3066\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>deb: This specifies that the source uses a regular Debian architecture.<\/li>\n<li>arch=amd64,arm64 specifies the architectures the APT data will be downloaded to. Here it is amd64 and arm64.<\/li>\n<li>signed-by=\/usr\/share\/keyrings\/elastic-7.x.gpg: This specifies the key used to authorize this source, and here it points towards your .gpg file stored in \/usr\/share\/keyrings. This portion of the line must be included, while it previously wasn\u2019t required in the apt-key method. This addition is the most critical change in porting away from apt-key, since it ties the key to a singular repository it is allowed to authorize and fixes the original security flaw in apt-key.<\/li>\n<li>https:\/\/artifacts.elastic.co\/packages\/7.x\/apt stable main: This is the URI representing the exact location the data within the repository can be found.<\/li>\n<li>\/etc\/apt\/sources.list.d\/elastic-7.x.list: This is the location and name of the new file to be created.<\/li>\n<li>\/dev\/null: This is used when the output of a command is not necessary. Pointing tee to this location omits the output.<\/li>\n<\/ul>\n<p>\u300cCtrl+O\u300d\u3092\u62bc\u3057\u3066\u4fdd\u5b58\u3057\u3001\u6b21\u306b\u300cCtrl+X\u300d\u3092\u62bc\u3057\u3066\u7d42\u4e86\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30aa\u30d7\u30b7\u30e7\u30f32- sources.list.d\u30d5\u30a9\u30eb\u30c0\u306b\u65b0\u3057\u3044.list\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3002<\/h3>\n<p>\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u4ee3\u308f\u308a\u306bsources.list.d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306b\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002apt\u306f\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068sources.list\u306e\u4e21\u65b9\u3092\u89e3\u6790\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8ffd\u52a0\u3092\u884c\u3044\u307e\u3059\u3002\u3053\u306e\u65b9\u6cd5\u306b\u3088\u308a\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8ffd\u52a0\u3092\u500b\u5225\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u7269\u7406\u7684\u306b\u5206\u96e2\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5f8c\u3067\u3053\u306e\u8ffd\u52a0\u3092\u524a\u9664\u3057\u305f\u308a\u7de8\u96c6\u3057\u305f\u308a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u3001\u4e2d\u592e\u306esources.list\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u8ffd\u52a0\u3092\u5225\u3005\u306b\u4fdd\u6301\u3059\u308b\u3053\u3068\u3067\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u304c\u5bb9\u6613\u306b\u306a\u308a\u3001sources.list\u3092\u7de8\u96c6\u3059\u308b\u3053\u3068\u306b\u3088\u308b\u4ed6\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e\u5f71\u97ff\u304c\u5c11\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001\u30a8\u30b3\u30fc\u30b3\u30de\u30f3\u30c9\u3092\u30c6\u30a3\u30fc\u30b3\u30de\u30f3\u30c9\u306b\u30d1\u30a4\u30d7\u3057\u3066\u3053\u306e\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u9069\u5207\u306a\u884c\u3092\u633f\u5165\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u306felastic-7.x.list\u3067\u3059\u304c\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u3067\u4e00\u610f\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u3042\u308c\u3070\u3069\u306e\u540d\u524d\u3067\u3082\u69cb\u3044\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#8220;deb [arch=amd64,arm64 signed-by=\/usr\/share\/keyrings\/elastic-7.x.gpg] https:\/\/artifacts.elastic.co\/packages\/7.x\/apt stable main&#8221;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/apt\/sources.list.d\/<mark>elastic-7.x.list<\/mark> <span class=\"token operator\">&gt;<\/span> \/dev\/null<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u624b\u52d5\u3067\u4f5c\u6210\u3057\u3001\u9069\u5207\u306a\u884c\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u633f\u5165\u3059\u308b\u306e\u3068\u540c\u3058\u3067\u3059\u3002<\/p>\n<h3>\u30aa\u30d7\u30b7\u30e7\u30f33\uff1asources.list.d\u5185\u306b.sources\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3002<\/h3>\n<p>\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u65b9\u6cd5\u3067\u306f\u3001.list\u30d5\u30a1\u30a4\u30eb\u306e\u4ee3\u308f\u308a\u306b.sources\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002\u3053\u306e\u65b9\u6cd5\u306f\u6bd4\u8f03\u7684\u65b0\u3057\u304f\u3001deb . . . \u5ba3\u8a00\u3068\u6bd4\u3079\u3066\u66d6\u6627\u3055\u304c\u5c11\u306a\u3044deb822\u306e\u8907\u6570\u884c\u5f62\u5f0f\u3092\u4f7f\u7528\u3057\u307e\u3059\u304c\u3001\u6a5f\u80fd\u7684\u306b\u306f\u540c\u3058\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/apt\/sources.list.d\/elastic-7.x.sources<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>deb822\u5f62\u5f0f\u3092\u4f7f\u7528\u3057\u3066\u3001\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\/etc\/apt\/sources.list.d\/elastic-7.x.sources\u306e\u65e5\u672c\u8a9e\u3067\u306e\u629c\u7c8b:<br \/>\n\u300c\/etc\/apt\/sources.list.d\/elastic-7.x.sources\u300d\u306e\u30d5\u30a1\u30a4\u30eb<\/div>\n<pre class=\"post-pre\"><code>Types: deb\r\nArchitectures: amd64 arm64\r\nSigned-By: \/usr\/share\/keyrings\/elastic-7.x.gpg\r\nURIs: https:\/\/artifacts.elastic.co\/packages\/7.x\/apt\r\nSuites: stable\r\nComponents: main\r\n<\/code><\/pre>\n<p>\u30c6\u30ad\u30b9\u30c8\u3092\u633f\u5165\u3057\u305f\u5f8c\u3001\u4fdd\u5b58\u3057\u3066\u7d42\u4e86\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3053\u308c\u306f\u4e00\u884c\u5f62\u5f0f\u3068\u540c\u69d8\u3067\u3042\u308a\u3001\u4e00\u884c\u305a\u3064\u6bd4\u8f03\u3057\u3066\u307f\u308b\u3068\u3001\u4e21\u8005\u306e\u60c5\u5831\u306f\u540c\u3058\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u304c\u3001\u305f\u3060\u3057\u3001\u7570\u306a\u308b\u5f62\u5f0f\u3067\u7d44\u7e54\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u6ce8\u610f\u3059\u3079\u304d\u70b9\u3068\u3057\u3066\u306f\u3001\u3053\u306e\u5f62\u5f0f\u3067\u306f\u8907\u6570\u306e\u5f15\u6570\uff08\u305f\u3068\u3048\u3070amd64\u3001arm64\u306a\u3069\uff09\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u3001\u30b3\u30f3\u30de\u3067\u306f\u306a\u304f\u30b9\u30da\u30fc\u30b9\u304c\u4f7f\u7528\u3055\u308c\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u30c6\u30b9\u30c8\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d74 \u2014 \u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>main sources.list\u30d5\u30a1\u30a4\u30eb\u3068\u3001sources.list.d\u5185\u306e\u3059\u3079\u3066\u306e.list\u304a\u3088\u3073.sources\u30d5\u30a1\u30a4\u30eb\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001apt\u3092\u66f4\u65b0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002apt\u3092\u66f4\u65b0\u305b\u305a\u306bapt install\u3092\u547c\u3073\u51fa\u3059\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5931\u6557\u3059\u308b\u304b\u3001apt\u304b\u3089\u306e\u53e4\u3044\u30c7\u30d5\u30a9\u30eb\u30c8\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> elasticsearch<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u624b\u9806\u3067\u306f\u3001apt-key \u30e1\u30bd\u30c3\u30c9\u3068\u6bd4\u3079\u3066\u4f55\u3082\u5909\u308f\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u307e\u3059\u3002<\/p>\n<h2>\u8ffd\u52a0\u4e8b\u9805 &#8211; \u30ad\u30fc\u30b5\u30fc\u30d0\u30fc\u3092\u5229\u7528\u3057\u3066\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b<\/h2>\n<p>\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u516c\u958b\u9375\u3067\u306f\u306a\u304f\u30ad\u30fc\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u3063\u3066\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306bgpg\u3092\u4f7f\u3046\u65b9\u6cd5\u306b\u3064\u3044\u3066\u7c21\u5358\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\u30d7\u30ed\u30bb\u30b9\u306f\u516c\u958b\u9375\u306e\u65b9\u6cd5\u3068\u307b\u307c\u540c\u3058\u3067\u3059\u304c\u3001gpg\u306e\u547c\u3073\u51fa\u3057\u65b9\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>add-apt-repository\u306fapt-key\u306b\u5bfe\u5fdc\u3057\u305f\u30ad\u30fc\u30b5\u30fc\u30d0\u30fc\u30d9\u30fc\u30b9\u306e\u6a5f\u80fd\u3067\u3059\u304c\u3001\u4e21\u8005\u3068\u3082\u975e\u63a8\u5968\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u30b7\u30ca\u30ea\u30aa\u3067\u306f\u3001\u7570\u306a\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u4f7f\u308f\u308c\u307e\u3059\u3002\u9375\u3068\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u4ee3\u308f\u308a\u306b\u3001\u30ad\u30fc\u30b5\u30fc\u30d0\u30fc\u306eURL\u3068\u30ad\u30fcID\u304c\u4e0e\u3048\u3089\u308c\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001\u4f55\u3082\u5909\u63db\u305b\u305a\u306b\u30ad\u30fc\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u9069\u5207\u306a.gpg\u5f62\u5f0f\u306b\u76f4\u63a5\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002add-apt-repository\u306f\u9593\u3082\u306a\u304f\u975e\u63a8\u5968\u306b\u306a\u308b\u305f\u3081\u3001\u65e2\u5b58\u306e\u30ad\u30fc\u30ea\u30f3\u30b0\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3068\u3044\u3046\u30c7\u30d5\u30a9\u30eb\u30c8\u306egpg\u306e\u52d5\u4f5c\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u3066\u3001\u4ee3\u308f\u308a\u306bgpg\u3092\u4f7f\u7528\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p>\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3042\u308bR\u3092\u4f8b\u306b\u6319\u3052\u308c\u3070\u3001\u4ee5\u4e0b\u306b\u793a\u3059\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u516c\u5f0f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30b5\u30a4\u30c8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3067\u3082\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Keyserver: keyserver.ubuntu.com<\/li>\n<li>Key ID: E298A3A825C0D65DFD57CBB651716619E084DAB9<\/li>\n<li>Repository: https:\/\/cloud.r-project.org\/bin\/linux\/ubuntu jammy-cran40\/<\/li>\n<\/ul>\n<p>\u6700\u521d\u306b\u3001gpg\u3092\u4f7f\u7528\u3057\u3066\u30ad\u30fc\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u76f4\u63a5\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306e\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306b\u4f9d\u5b58\u3059\u308b\u305f\u3081\u3001\u3053\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30b3\u30de\u30f3\u30c9\u304c\u5b8c\u4e86\u3059\u308b\u307e\u3067\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u5834\u5408\u304c\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> gpg <span class=\"token parameter variable\">&#8211;homedir<\/span> \/tmp &#8211;no-default-keyring <span class=\"token parameter variable\">&#8211;keyring<\/span> \/usr\/share\/keyrings\/R.gpg <span class=\"token parameter variable\">&#8211;keyserver<\/span> keyserver.ubuntu.com &#8211;recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u306f\u3001\u516c\u958b\u9375\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3068\u306f\u7570\u306a\u308b\u6b21\u306e\u30d5\u30e9\u30b0\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>&#8211;no-default-keyring combined with &#8211;keyring allows outputting to a new file instead of importing into an existing keyring, which is the default behavior of gpg in this scenario.<\/li>\n<li>&#8211;keyserver combined with &#8211;recv-keys provides the specific key and location you\u2019re downloading from.<\/li>\n<li>&#8211;homedir is used to overwrite the gpg default location for creating temporary files. gpgneeds to create these files to complete the command, otherwise gpg will attempt to write to \/root which causes a permission error. Instead, this command places the temporary files in the appropriate \/tmp directory.<\/li>\n<\/ul>\n<p>\u6b21\u306b\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3092.list\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30a8\u30b3\u30fc\u30b3\u30de\u30f3\u30c9\u3092\u30d1\u30a4\u30d7\u3057\u3066\u30c6\u30a3\u30fc\u30b3\u30de\u30f3\u30c9\u306b\u3088\u3063\u3066\u516c\u958b\u9375\u3092\u4f7f\u7528\u3057\u3066\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u3068\u304d\u3068\u307e\u3063\u305f\u304f\u540c\u3058\u65b9\u6cd5\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#8220;deb [arch=amd64 signed-by=\/usr\/share\/keyrings\/R.gpg] https:\/\/cloud.r-project.org\/bin\/linux\/ubuntu jammy-cran40\/&#8221;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/apt\/sources.list.d\/R.list <span class=\"token operator\">&gt;<\/span> \/dev\/null<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306b\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30ea\u30b9\u30c8\u3092\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>(Next, update your list of repositories.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> r-base<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u516c\u958b\u9375\u3068\u30ad\u30fc\u30b5\u30fc\u30d0\u30fc\u306e\u9593\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306bGPG\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u306f\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001GPG\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306b\u9055\u3044\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u516c\u958b\u9375\u307e\u305f\u306f\u30ad\u30fc\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3057\u3066\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u3001gpg\u3092\u4f7f\u7528\u3057\u3066\u4e2d\u9593\u3068\u3057\u3066apt-key\u3084add-apt-repository\u3092\u4f7f\u308f\u305a\u306b\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u65b9\u6cd5\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001apt-key\u3084add-apt-repository\u304c\u5ec3\u6b62\u4e88\u5b9a\u3067\u5c06\u6765\u306eUbuntu\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u524a\u9664\u3055\u308c\u308b\u53ef\u80fd\u6027\u306b\u5bfe\u5fdc\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002gpg\u3092\u4f7f\u7528\u3057\u3066\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u610f\u56f3\u3057\u305f\u901a\u308a\u306b\u30ad\u30fc\u304c\u4e00\u3064\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u627f\u8a8d\u306b\u306e\u307f\u4f7f\u7528\u3055\u308c\u308b\u3053\u3068\u304c\u4fdd\u8a3c\u3055\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b apt-key\u306f\u3001APT\u304c\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8a8d\u8a3c\u306b\u4f7f\u7528\u3059\u308b\u30ad\u30fc\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3067\u3059\u3002\u3053\u308c\u306f\u3001add-apt-repository\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3068\u5bc6\u63a5\u306b\u95a2\u9023\u3057\u3066\u304a\u308a\u3001\u30ad\u30fc\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3057\u3066\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,26],"class_list":["post-316","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-linux","tag-26"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9\" \/>\n<meta property=\"og:description\" content=\"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-02T07:15:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T13:36:23+00:00\" \/>\n<meta name=\"author\" content=\"\u7dbe\u4e43, \u4e00\u5e0c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7dbe\u4e43, \u4e00\u5e0c\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"23\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/\",\"name\":\"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-06-02T07:15:41+00:00\",\"dateModified\":\"2025-07-31T13:36:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff\"},\"description\":\"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff\",\"name\":\"\u7dbe\u4e43, \u4e00\u5e0c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g\",\"caption\":\"\u7dbe\u4e43, \u4e00\u5e0c\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/ayanokazuki\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9 - Blog - Silicon Cloud","description":"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\/","og_locale":"ja_JP","og_type":"article","og_title":"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9","og_description":"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-06-02T07:15:41+00:00","article_modified_time":"2025-07-31T13:36:23+00:00","author":"\u7dbe\u4e43, \u4e00\u5e0c","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u7dbe\u4e43, \u4e00\u5e0c","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"23\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/","name":"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-06-02T07:15:41+00:00","dateModified":"2025-07-31T13:36:23+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff"},"description":"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Ubuntu 22.04\u3067\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306egpg\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066apt-key\u3068add-apt-repository\u306e\u975e\u63a8\u5968\u5316\u306e\u6271\u3044\u65b9"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/601389077b7f4e4ad6115428e3b73bff","name":"\u7dbe\u4e43, \u4e00\u5e0c","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2228fe98b71141214fb24fb1b5ae44f99bdfa0602bbd89b351f2acd49ece862d?s=96&d=mm&r=g","caption":"\u7dbe\u4e43, \u4e00\u5e0c"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/ayanokazuki\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e5%a4%96%e9%83%a8%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%aegpg%e3%81%ae%e4%bd%bf%e7%94%a8%e3%81%ab\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=316"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/316\/revisions"}],"predecessor-version":[{"id":39036,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/316\/revisions\/39036"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}