{"id":5188,"date":"2021-03-23T09:21:07","date_gmt":"2021-03-23T00:21:07","guid":{"rendered":"https:\/\/kumapress.com\/?p=5188"},"modified":"2021-03-23T09:21:16","modified_gmt":"2021-03-23T00:21:16","slug":"centos7-3%e3%81%abgit2%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/kumapress.com\/?p=5188","title":{"rendered":"CentOS7.3\u306bgit2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"\n<p><span style=\"font-size: 14pt;\">2021\u5e74\u306e\u59cb\u3081\u306b\u300cCentOS Linux\u300d\u306e\u3001\u5e74\u5185\u3067\u306e\u958b\u767a\u7d42\u4e86\u304c\u30a2\u30ca\u30a6\u30f3\u30b9\u3055\u308c\u307e\u3057\u305f\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u304f\u307e\u30d7\u30ec\u30b9\u3067\u306f\u3001\u305d\u306e\u6b86\u3069\u3092CentOS7\u3067\u69cb\u7bc9\u3057\u3066\u3044\u307e\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u203bCentOS\uff18\u3078\u306e\u79fb\u884c\u306f\u3069\u3046\u3057\u305f\u3082\u306e\u304b\u3068\u691c\u8a0e\u3092\u3057\u3066\u3044\u305f\u3068\u3053\u308d\u3067\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u4e00\u5fdc\u30012024\u5e746\u670830\u65e5\u307e\u3067\u306e\u30b5\u30dd\u30fc\u30c8\u304c\u767a\u8868\u306f\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3081\u3063\u3061\u3083\u56f0\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u306e\u306f\u78ba\u304b\u3067\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">RedHat\u3068\u3057\u3066\u306f\u3001\u500b\u4eba\u958b\u767a\u8005\u306b\u306f16\u30b7\u30b9\u30c6\u30e0\u307e\u3067RHEL\u306e\u5229\u7528\u3092\u8a31\u53ef\u3059\u308b\u3068\u304b\u306a\u3063\u3066\u307e\u3059\u304c\u3001\u300c\u500b\u4eba\u958b\u767a\u8005\u300d\u3063\u3066\u306e\u304c\u3064\u304d\u307e\u3068\u3044\u307e\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u3082\u3046\u4e00\u3064\u306e\u52d5\u304d\u3068\u3057\u3066\u3001RHEL\u306e\u30ea\u30ea\u30fc\u30b9\u5f8c\u306b\u30ea\u30ea\u30fc\u30b9\u3092\u884c\u3046\u3053\u3068\u3068\u3057\u3066\u300cRocky Linux\u300d\u3063\u3066\u306e\u304c\u767a\u8868\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u540c\u3058\u304f\u300cCloud Linux\u300d\u3063\u3066\u306e\u3082\u767a\u8868\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u3061\u3089\u306fCentOS8\u30d9\u30fc\u30b9\u306e\u3088\u3046\u3067\u3059\u306d\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u203b\u3053\u306e\u8fba\u306e\u8a18\u4e8b\u306f<a href=\"https:\/\/cloud.watch.impress.co.jp\/docs\/column\/infostand\/1303659-3.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u300cCentOS Linux\u300d\u7d42\u4e86\u3078\u3000\u958b\u767a\u8005\u306e\u52d5\u63fa\u3068\u6551\u6e08\u306e\u52d5\u304d\u300d<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u304f\u307e\u30d7\u30ec\u30b9\u3067\u306f\u300cRockey Linux\u300d\u306b\u671f\u5f85\u3063\u3066\u611f\u3058\u3067\u3059(^^)<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Git2\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046<\/h2>\n\n\n\n<p><span style=\"font-size: 14pt;\">\u3055\u3066\u3001\u672c\u984c\u306e(^^;<\/span><br \/><span style=\"font-size: 14pt;\">CentOS7.3\u74b0\u5883\u306bGit2\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u6a19\u6e96\u3067\u306fgit1.8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3044\u3001 git all \u306a\u3093\u3066\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u306a\u3044\u72b6\u614b\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u624b\u9806\u3092\u8abf\u3079\u3066\u3044\u305f\u3089\u3001\u3060\u3044\u305f\u3044\u304c<\/span><br \/><span style=\"font-size: 14pt;\"># yum -y install https:\/\/centos7.iuscommunity.org\/ius-release.rpm<\/span><br \/><span style=\"font-size: 14pt;\">\u3068\u3057\u3066\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3088\u3046\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001centos7.iuscommunity.org\u3063\u3066\u30b5\u30a4\u30c8\u304c\u7121\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u305d\u3053\u3067\u3001<a href=\"https:\/\/ius.io\/setup\" target=\"_blank\" rel=\"noopener noreferrer\">ius\u30b5\u30a4\u30c8<\/a>\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u624b\u9806\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/span><br \/><br \/><span style=\"font-size: 14pt;\">$ sudo yum install \\<\/span><br \/><span style=\"font-size: 14pt;\">https:\/\/repo.ius.io\/ius-release-el7.rpm \\<\/span><br \/><span style=\"font-size: 14pt;\">https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-7.noarch.rpm<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3053\u308c\u3092\u30b9\u30bf\u30fc\u30c8\u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/span><br \/><br \/><span style=\"font-size: 14pt;\">$ yum search git2<\/span><br \/><span style=\"font-size: 14pt;\">libgit2-devel.x86_64 : Development files for libgit2<\/span><br \/><span style=\"font-size: 14pt;\">libgit2-glib-devel.x86_64 : Development files for libgit2-glib<\/span><br \/><span style=\"font-size: 14pt;\">python-pygit2.x86_64 : Python bindings for libgit2<\/span><br \/><span style=\"font-size: 14pt;\">python-pygit2-doc.noarch : Documentation for python-pygit2<\/span><br \/><span style=\"font-size: 14pt;\">git222.x86_64 : Fast Version Control System<\/span><br \/><span style=\"font-size: 14pt;\">git222-all.noarch : Meta-package to pull in all git tools<\/span><br \/><span style=\"font-size: 14pt;\">git222-core.x86_64 : Core package of git with minimal functionality<\/span><br \/><span style=\"font-size: 14pt;\">git222-core-doc.noarch : Documentation files for git-core<\/span><br \/><span style=\"font-size: 14pt;\">git222-cvs.noarch : Git tools for importing CVS repositories<\/span><br \/><span style=\"font-size: 14pt;\">git222-daemon.x86_64 : Git protocol daemon<\/span><br \/><span style=\"font-size: 14pt;\">git222-email.noarch : Git tools for sending patches via email<\/span><br \/><span style=\"font-size: 14pt;\">git222-gitk.noarch : Git repository browser<\/span><br \/><span style=\"font-size: 14pt;\">git222-gitweb.noarch : Simple web interface to git repositories<\/span><br \/><span style=\"font-size: 14pt;\">git222-gui.noarch : Graphical interface to Git<\/span><br \/><span style=\"font-size: 14pt;\">git222-instaweb.noarch : Repository browser in gitweb<\/span><br \/><span style=\"font-size: 14pt;\">git222-p4.noarch : Git tools for working with Perforce depots<\/span><br \/><span style=\"font-size: 14pt;\">git222-perl-Git.noarch : Perl interface to Git<\/span><br \/><span style=\"font-size: 14pt;\">git222-perl-Git-SVN.noarch : Perl interface to Git::SVN<\/span><br \/><span style=\"font-size: 14pt;\">git222-subtree.x86_64 : Git tools to merge and split repositories<\/span><br \/><span style=\"font-size: 14pt;\">git222-svn.noarch : Git tools for interacting with Subversion repositories<\/span><br \/><span style=\"font-size: 14pt;\">git224.x86_64 : Fast Version Control System<\/span><br \/><span style=\"font-size: 14pt;\">git224-all.noarch : Meta-package to pull in all git tools<\/span><br \/><span style=\"font-size: 14pt;\">git224-core.x86_64 : Core package of git with minimal functionality<\/span><br \/><span style=\"font-size: 14pt;\">git224-core-doc.noarch : Documentation files for git-core<\/span><br \/><span style=\"font-size: 14pt;\">git224-cvs.noarch : Git tools for importing CVS repositories<\/span><br \/><span style=\"font-size: 14pt;\">git224-daemon.x86_64 : Git protocol daemon<\/span><br \/><span style=\"font-size: 14pt;\">git224-email.noarch : Git tools for sending patches via email<\/span><br \/><span style=\"font-size: 14pt;\">git224-gitk.noarch : Git repository browser<\/span><br \/><span style=\"font-size: 14pt;\">git224-gitweb.noarch : Simple web interface to git repositories<\/span><br \/><span style=\"font-size: 14pt;\">git224-gui.noarch : Graphical interface to Git<\/span><br \/><span style=\"font-size: 14pt;\">git224-instaweb.noarch : Repository browser in gitweb<\/span><br \/><span style=\"font-size: 14pt;\">git224-p4.noarch : Git tools for working with Perforce depots<\/span><br \/><span style=\"font-size: 14pt;\">git224-perl-Git.noarch : Perl interface to Git<\/span><br \/><span style=\"font-size: 14pt;\">git224-perl-Git-SVN.noarch : Perl interface to Git::SVN<\/span><br \/><span style=\"font-size: 14pt;\">git224-subtree.x86_64 : Git tools to merge and split repositories<\/span><br \/><span style=\"font-size: 14pt;\">git224-svn.noarch : Git tools for interacting with Subversion repositories<\/span><br \/><span style=\"font-size: 14pt;\">git2cl.noarch : Converts git logs to GNU style ChangeLog format<\/span><br \/><span style=\"font-size: 14pt;\">libgit2.x86_64 : C implementation of the Git core methods as a library with a solid API<\/span><br \/><span style=\"font-size: 14pt;\">libgit2-glib.x86_64 : Git library for GLib<\/span><br \/><br \/><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Git2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059<\/h2>\n\n\n\n<p><span style=\"font-size: 14pt;\">\u3055\u3066\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u3042\u3001\u4eca\u56de\u306e\u74b0\u5883\u306fgit\u306f\u5165\u3063\u3066\u3044\u306a\u3044\u74b0\u5883\u3067\u3059\u3002<\/span><br \/><span style=\"font-size: 14pt;\">\u4e8b\u524d\u306b\u5165\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u4e0b\u8a18\u306a\u611f\u3058\u3067remove\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/span><br \/><br \/><span style=\"font-size: 14pt;\">$ sudo yum remove git git-\\*<\/span><br \/><br \/><span style=\"font-size: 14pt;\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/span><br \/><br \/><span style=\"font-size: 14pt;\">$ sudo yum install git224<\/span><br \/><span style=\"font-size: 14pt;\">$ git &#8211;version<\/span><br \/><span style=\"font-size: 14pt;\">git version 2.24.4<\/span><br \/><br \/>\u306f\u3044\u3001\u3053\u308c\u3067\u5b8c\u4e86\u3067\u3059(^^)<\/p>\n\n\n<aside class=\"row veu_insertAds after\"><div class=\"col-md-6\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u7b2c 1 \u9762 - 2\uff08www.kumapress.com\uff09 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-5987681888830890\"\r\n     data-ad-slot=\"5379270693\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div><div class=\"col-md-6\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u7b2c 1 \u9762 - 1\uff08www.kumapress.com\uff09 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-5987681888830890\"\r\n     data-ad-slot=\"7353370294\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div><\/aside>","protected":false},"excerpt":{"rendered":"<p>2021\u5e74\u306e\u59cb\u3081\u306b\u300cCentOS Linux\u300d\u306e\u3001\u5e74\u5185\u3067\u306e\u958b\u767a\u7d42\u4e86\u304c\u30a2\u30ca\u30a6\u30f3\u30b9\u3055\u308c\u307e\u3057\u305f\u3002\u304f\u307e\u30d7\u30ec\u30b9\u3067\u306f\u3001\u305d\u306e\u6b86\u3069\u3092CentOS7\u3067\u69cb\u7bc9\u3057\u3066\u3044\u307e\u3059\u3002\u203bCentOS\uff18\u3078\u306e\u79fb\u884c\u306f\u3069\u3046\u3057\u305f\u3082\u306e\u304b\u3068\u691c\u8a0e\u3092\u3057\u3066\u3044\u305f\u3068\u3053\u308d\u3067\u3059\u3002\u4e00\u5fdc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"","footnotes":""},"categories":[126],"tags":[157,178],"class_list":["post-5188","post","type-post","status-publish","format-standard","hentry","category-blog-memo","tag-git","tag-github"],"_links":{"self":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/5188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5188"}],"version-history":[{"count":5,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/5188\/revisions"}],"predecessor-version":[{"id":5193,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/5188\/revisions\/5193"}],"wp:attachment":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}