±âº»ÀûÀÎ
yum »ç¿ë¹ý
yum˼ gnupg,
python, rpm, rpm-python ÆÐÅ°Áö¿¡ ÀÇÁ¸¼ºÀ» °®´Â´Ù. ±× ÆÐÅ°ÁöµéÀÌ »ç¿ëÇÒ ¼ö ÀÖ´ÂÁö ¿©ºÎ¸¦ ´ÙÀ½°ú °°ÀÌ Ã¼Å©ÇÑ´Ù.
# rpm –q gnupg python rpm rpm-python |
ÀÌ ÆÐÅ°ÁöµéÀÌ ÀνºÅçµÇ¾î ÀÖÁö ¾Ê´Ù¸é ÀÌ ÆÐÅ°Áö¸¦ °³º°ÀûÀ¸·Î ¼³Ä¡ÇØ¾ß ÇÑ´Ù.
rpmÀ» 4.0.4 ÀÌ»óÀ¸·Î ¼³Ä¡ ¾÷±×·¹À̵åÇÑ´Ù.
# rpm -Uvh
http://download.fedoralegacy.org/redhat/7.2/updates/i386/rpm-4.0.4-7x.i386.rpm |
¼³Ä¡µÇÁö ¾ÊÀº ´Ù¸¥ ÆÐÅ°ÁöµéÀ» ¼³Ä¡ÇÑ´Ù. (·¡µåÇÞ 7.2°ú 7.3¿¡ ´ëÇÑ ÆÐÅ°Áö¼³Ä¡)
# # rpm -ivh
http://download.fedoralegacy.org/redhat/7.2/updates/i386/gnupg-1.0.7-13.i386.rpm
|
# rpm -ivh
http://download.fedoralegacy.org/redhat/7.3/updates/i386/gnupg-1.0.7-13.i386.rpm
|
- ½Ã½ºÅÛ
root °èÁ¤À» ÀÌ¿ëÇÏ¿©
yumÀ» ¼³Ä¡
# rpm
-ivh
http://download.fedoralegacy.org/redhat/7.3/legacy-utils/i386/yum-1.0.3-6.0.7.x.legacy.noarch.rpm |
* Redhat 9.0À» »ç¿ëÇÒ °æ¿ì ¾Æ·¡¿¡¼ ´Ù¿îÀ» ¹Þ¾Æ »ç¿ëÇÒ ¼ö ÀÖ´Ù.
- http://download.fedora.us/fedora/redhat/9/i386/RPMS.stable/apt-0.5.5cnc6-0.fdr.8.rh90.i386.rpm
- http://download.fedora.us/fedora/redhat/9/i386/RPMS.stable/yum-2.0.3-0.fdr.1.rh90.noarch.rpm
- /etc/yum.conf
ÆÄÀÏ ¾È¿¡ ´ÙÀ½°ú °°ÀÌ ÀûÇôÀÖ´ÂÁö È®ÀÎÇÑ´Ù.
[base]
name=Red Hat Linux $releasever base
baseurl=http://download.fedoralegacy.org/redhat/$releasever/os/$basearch
[updates]
name=Red Hat Linux $releasever updates
baseurl=http://download.fedoralegacy.org/redhat/$releasever/updates/$basearch
[legacy-utils]
name=Fedora Legacy utilities for Red Hat Linux $releasever
baseurl=http://download.fedoralegacy.org/redhat/$releasever/legacy-utils/$basearch
|
- ´ÙÀ½°ú °°ÀÌ--import ¿É¼ÇÀ» ÀÌ¿ëÇÏ¿© ÆÛºí¸¯ Å°¸¦ ¿¼è°í¸®¿¡ µî·ÏÇÑ´Ù.
GPG-KEY ¸¦ µî·ÏÇØÁÖÁö ¾ÊÀ¸¸é ÆÐÅ°Áö ¼³Ä¡¸¦ °ÅºÎÇÑ´Ù.
# gpg --import
/usr/share/doc/yum-1.0.3/*GPG-KEY |
3. ±âº» ÆÐÅ°Áö ¾÷µ¥ÀÌÆ®
# yum
update |
4. ÀÚµ¿¾÷µ¥ÀÌÆ®¸¦ ¼³Á¤ÇÏ°í ½Í´Ù¸é ½Ã½ºÅÛ root °èÁ¤À» ÀÌ¿ëÇÏ¿© ´ÙÀ½¸í·ÉÀ» ÅëÇØ ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.
# chkconfig
yum on |
±×·± ÈÄ yumÀº cronÀÇ /etc/cron.daily/yum.cron ÆÄÀÏÀ» ÅëÇÏ¿© ½Ã½ºÅÛÀ» Á¤±âÀûÀ¸·Î ¾÷µ¥ÀÌÆ® ÇÒ ¼ö ÀÖ´Ù.
¡Ø ±× ¿Ü ÀϹÝÀûÀÎ ¿É¼Ç
¡Ý yum list <ÆÐÅ°Áö¸í>
- ½Ã½ºÅÛ¿¡ ÀÌ¹Ì ÀνºÅçÀÌ µÇ¾ú´ÂÁö,
»ç¿ëÇÒ ¼ö ÀÖ´Â ÆÐÅ°ÁöÀÎÁö È®ÀÎÇØÁØ´Ù.
¡Ý yum check-update OR yum list updates
- See if there are updated packages
available.
¡Ý yum update
- Update all installed packages that have a
newer version available.
¡Ý yum install <ÆÐÅ°Áö¸í>
- ÆÐÅ°Áö °³º° ¼³Ä¡
¿¹) gcc¸¦ ¼³Ä¡ ¼³Ä¡ÇÏ°íÀÚ ÇÑ´Ù¸é
# yum install gcc |
¡Ý yum remove <ÆÐÅ°Áö¸í>
- ÆÐÅ°Áö »èÁ¦
¡Ý yum info <ÆÐÅ°Áö ¸í>
- ÆÐÅ°Áö¿¡ ´ëÇÑ ±âº» Á¤º¸¸¦ Ãâ·Â
¡Ý yum search <word>
Search all known packages entries
(descriptions etc) for <word>.
¡Ý
ÆÐÅ°Áö °ËÁõ
´ÙÀ½ ¸í·ÉÀ» ÅëÇØ °³°³ÀÇ ÆÐÅ°Áö¸¦ °ËÁõÇÒ ¼ö ÀÖ´Ù.
# rpm --checksig -v <filename>
|
´ÙÀ½Àº º¯°æµÇ°Å³ª ¿Ã¹Ù¸£Áö ¾ÊÀº °³°³ÀÇ ÆÐÅ°Áö¸¦ °ËÁõÇϱâ À§ÇØ »ç¿ëÇÏ´Â ¸í·É¾îÀÌ´Ù.
# sha1sum <filename>
|