<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://shiyoka.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://shiyoka.com/feed.php">
        <title>ClownWiki - centos:yum</title>
        <description></description>
        <link>https://shiyoka.com/</link>
        <image rdf:resource="https://shiyoka.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-08T14:31:48+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=centos:yum:downloadonly&amp;rev=1739713983&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=centos:yum:group_command&amp;rev=1739713983&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=centos:yum:history&amp;rev=1739713983&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=centos:yum:howtouse&amp;rev=1739713983&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=centos:yum:quick_repo&amp;rev=1739713983&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=centos:yum:repository&amp;rev=1739713983&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=centos:yum:update_upgrade&amp;rev=1739713983&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=centos:yum:yum_epel_error&amp;rev=1739713983&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=centos:yum:yum_error&amp;rev=1739713983&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://shiyoka.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>ClownWiki</title>
        <link>https://shiyoka.com/</link>
        <url>https://shiyoka.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://shiyoka.com/doku.php?id=centos:yum:downloadonly&amp;rev=1739713983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>downloadonly</title>
        <link>https://shiyoka.com/doku.php?id=centos:yum:downloadonly&amp;rev=1739713983&amp;do=diff</link>
        <description>ダウンロードのみ

--downloadonly


# yum -y install yum-downloadonly



# yum install --downloadonly nginx
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.fairway.ne.jp
 * epel: ftp.kddilabs.jp
 * extras: mirror.fairway.ne.jp
 * rpmforge: mirror.fairway.ne.jp
 * updates: centos.tt.co.kr
Setting up Install Process
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package nginx.x86_64 0:1.4.1-1.el6.ngx will be installed
--&gt; Finished Dependency…</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=centos:yum:group_command&amp;rev=1739713983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>group_command</title>
        <link>https://shiyoka.com/doku.php?id=centos:yum:group_command&amp;rev=1739713983&amp;do=diff</link>
        <description>グループコマンド

グループの一覧を表示


# yum grouplist


グループの単位のインストール


# yum groupinstall &quot;グループ名&quot;


グループの単位の削除


# yum groupremove &quot;グループ名&quot;


グループ単位のアップデート</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=centos:yum:history&amp;rev=1739713983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>history</title>
        <link>https://shiyoka.com/doku.php?id=centos:yum:history&amp;rev=1739713983&amp;do=diff</link>
        <description>yumの実行履歴

実行履歴のリストを表示する


# yum history
Loaded plugins: fastestmirror, priorities, security
ID     | Login user               | Date and time    | Action(s)      | Altered
-------------------------------------------------------------------------------
    43 | root &lt;root&gt;              | 2013-08-02 18:33 | Install        |    1   
    42 | root &lt;root&gt;              | 2013-08-02 18:33 | Install        |    1   
    41 | root &lt;root&gt;              | 2013-08-02 18:33 | I, U           |    5   
    40 |…</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=centos:yum:howtouse&amp;rev=1739713983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>howtouse</title>
        <link>https://shiyoka.com/doku.php?id=centos:yum:howtouse&amp;rev=1739713983&amp;do=diff</link>
        <description>yum のヘルプ


# yum --help
Loaded plugins: fastestmirror
Usage: yum [options] COMMAND

List of Commands:

check          Check for problems in the rpmdb
check-update   Check for available package updates
clean          Remove cached data
deplist        List a package&#039;s dependencies
distribution-synchronization Synchronize installed packages to the latest available versions
downgrade      downgrade a package
erase          Remove a package or packages from your system
groupinfo      Display details …</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=centos:yum:quick_repo&amp;rev=1739713983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>quick_repo</title>
        <link>https://shiyoka.com/doku.php?id=centos:yum:quick_repo&amp;rev=1739713983&amp;do=diff</link>
        <description>主要repoの一発インストール

CentOS 5.x（rpmforgeは一発無理）


rpm -Uvh http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=centos:yum:repository&amp;rev=1739713983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>repository</title>
        <link>https://shiyoka.com/doku.php?id=centos:yum:repository&amp;rev=1739713983&amp;do=diff</link>
        <description>repository

サードパーティのパッケージ提供元の情報を登録しておくことで、標準では提供されていない新しいVerのパッケージ（アプリケーション）をインストールすることが可能。

主要repoの一発インストール</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=centos:yum:update_upgrade&amp;rev=1739713983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>update_upgrade</title>
        <link>https://shiyoka.com/doku.php?id=centos:yum:update_upgrade&amp;rev=1739713983&amp;do=diff</link>
        <description>update と upgrade の違い

結論

同じ。

yum upgrade は yum update --obsoletes のことだが、obsoletes オプションは標準では true なので、yum update でも yum update --obsoletes になる。

man yum


       upgrade
             Is  the  same as the update command with the --obsoletes flag set. See update for
             more details.</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=centos:yum:yum_epel_error&amp;rev=1739713983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>yum_epel_error</title>
        <link>https://shiyoka.com/doku.php?id=centos:yum:yum_epel_error&amp;rev=1739713983&amp;do=diff</link>
        <description>EPELレポにつながらない

CentOS6.xでyumでパッケージをインストールしようとすると、epelにつながらない。


# yum --enablerepo=remi install mysql-server mysql
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=centos:yum:yum_error&amp;rev=1739713983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>yum_error</title>
        <link>https://shiyoka.com/doku.php?id=centos:yum:yum_error&amp;rev=1739713983&amp;do=diff</link>
        <description>yumに失敗する

ネットワークの確認


# nslookup yahoo.co.jp
Server:         192.168.26.2
Address:        192.168.26.2#53

Non-authoritative answer:
Name:   yahoo.co.jp
Address: 124.83.187.140
Name:   yahoo.co.jp
Address: 203.216.243.240</description>
    </item>
</rdf:RDF>
