|
¼Ö¶ó¸®½º´Â °ÅÀÇ ¸ðµç ¿ÀÆÛ·¹ÀÌÆÃÀÌ ÆÐijÁöÈ µÇ¾î ÀÖ´Ù±¸ ÇÏ¿©µµ °ú¾ðÀÌ ¾Æ´Õ¸Þ´Ù.
ÆÐijÁö ÆÄÀÏÀº binaries,configure file,document ÆÄÀϵîÀ¸·Î ±¸¼º µÇ¾î ÀÖ½À´Ï´Ù.
¿ì¸®°¡ sunfreeware.com ¿¡¼ ÆÐijÁö¸¦ ½±°Ô ¾òÀ»¼ö ÀÖµíÀÌ ¼Ö¶ó¸®½º ÆÐijÁö´Â ¸®´ª½ºÀÇ
rpm°ú ¸¶Âù°¡Áö·Î ¼Ö¶ó¸®½º¿¡ À¯¿ëÇÏ°Ô »ç¿ë µË´Ï´Ù.
±×¶ó¹È °¡·«ÇÏ°Ô ÆÐijÁö °ü·Ã ¸í·É¾î¿Í »ç¿ë¹ýÀ» ¼Ò°³ Çϰͽ¿´Ù..
1. pkgchk : ¸»±×´ë·Î ÆÐijÁö¸¦ äũ ÇÕ´Ï´Ù.
ex)
# pkgchk -l -p /usr/bin/mkdir ----> -l Àº ¸®½ºÆ®¸¦ ¸»Çϸç -p´Â À§Ä¡¸¦ ÀǹÌÇÏ´Â ¿É¼Ç ÀÔ´Ï´Ù.
Pathname: /usr/bin/mkdir
Type: regular file
Expected mode: 0555
Expected owner: bin
Expected group: bin
Expected file size (bytes): 10264
Expected sum(1) of contents: 4598
Expected last modification: 10¿ù 06 16:42:34 1998
Referenced by the following packages:
SUNWcsu
Current status: installed
À§¿Í °°Àº °á°ú¸¦ º¸¿© ÁÝ´Ï´Ù. ±×¹Û¿¡µµ ¸¹Àº ¿É¼ÇÀÌ Àִµ¥ manpage¸¦ ÂüÁ¶ Çϼ¼¿µ...
2. pkginfo : ÀνºÅç µÇ¾î ÀÖ´Â ÆÐijÁö ¸®½ºÆ®¸¦ º¸¿© ÁÝ´Ï´Ù.
ex)
# pkginfo
system AUBtocsin Auburn Univ. Engineering tocsin network scan detector
system FJSVhea SunOS Header Files for FUJITSU platform specific
system FJSVvplr Fujitsu platform specific symlinks (Root)
system FJSVvplu Fujitsu platform specific symlinks (user)
application FSFgzip gzip
application GLIB glib
application GNUbash bash
tools GNUgzip GNU gzip
tools GNUrcs GNU rcs and diffutils
application GNUwget wget
application GTK+ gtk+
system INTACT INTACT Change Detection System
application IZzip zip
application JSparm parm V5.0b2 - Performance Analysis Report Maker
application LWperl perl
application MHmpg123 mpg123
system MRsnort Marty Roesch's Snort (/usr/local)
utility NRMXkstat NRM Xkstat 0.90 SPARC Solaris 7
application NSCPcom Netscape Communicator
tools PARCdaily DailyCronJob
application PPkde KDE Desktop (PatriotSoft Packages)
application PPqtgif QT (PatriotSoft Packages)
...
3. pkgadd : ÆÐijÁö¸¦ Add ÇÕ´Ï´Ù.
ex)
# pkgadd -d ntop-1.1-sol7-sparc-local
´ÙÀ½°ú °°Àº ÆÐÅ°Áö¸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.
1 SMCntop ntop
(sparc) 1.1
ó¸®ÇÒ ÆÐÅ°Áö(µé)¸¦ ¼±ÅÃÇϽʽÿÀ.(¶Ç´Â ¸ðµç ÆÐÅ°Áö¸¦
ó¸®ÇÏ·Á¸é'all'À» ÀÔ·ÂÇϽʽÿÀ.) (default: all) [?,??,q]:all
4. pkgrm : ÆÐijÁö¸¦ Áö¿ó´Ï´Ù.
ex)
# pkgrm SMCntop ---> ÀÌ·¸°Ô Çϸé SMCntop¸¸ Áö¿öÁö°ÚÁÒ.
ÇöÀç ¼³Ä¡µÇ¾î ÀÖ´Â ÆÐÅ°Áö´Â ´ÙÀ½°ú °°½À´Ï´Ù:
SMCntop ntop
(sparc) 1.1
ÀÌ ÆÐÅ°Áö¸¦ Á¦°ÅÇÏ°Ú½À´Ï±î? y
# pkgrm ----> ÆÐijÁö ¸®½ºÆ®¸¦ ¿°ÅÇÏ¿© ÁֹǷΠ¼±ÅÃÇÏ¿© Áö¿ï¼ö ÀÖ½À´Ï´Ù.
5. pkgproto : prototype file ÀÇ ÇüŸ¦ º¸¿© ÁÝ´Ï´Ù.
ex)
# cd /usr/local/apache
# find . -print | pkgproto > prototype ----> ÇüŸ¦ prototype ÆÄÀÏ¿¡ ÀúÀå ÇÕ´Ï´Ù.
d none bin 0755 root other
f none bin/httpd 0755 root other
f none bin/ab 0755 root other
f none bin/apachectl 0755 root other
f none bin/htpasswd 0755 root other
f none bin/htdigest 0755 root other
f none bin/dbmmanage 0755 root other
f none bin/logresolve 0755 root other
f none bin/rotatelogs 0755 root other
f none bin/apxs 0755 root other
d none libexec 0755 root other
d none man 0755 root other
d none man/man1 0755 root other
f none man/man1/htpasswd.1 0644 root other
f none man/man1/htdigest.1 0644 root other
f none man/man1/dbmmanage.1 0644 root other
d none man/man8 0755 root other
f none man/man8/httpd.8 0644 root other
f none man/man8/ab.8 0644 root other
f none man/man8/apachectl.8 0644 root other
f none man/man8/logresolve.8 0644 root other
f none man/man8/rotatelogs.8 0644 root other
f none man/man8/apxs.8 0644 root other
....
¿©±×¼ f´Â ÆÄÀÏÀ» ÀǹÌÇϸç d´Â µð·ºÅ͸®¸¦ ÀǹÌÇÕ´Ï´Ù. À§¿¡¼ º¸µíÀÌ ÆÛ¹Ì¼Ç ÄÚµå¿Í À¯Àú ±×·ìµµ
¾Ë¼ö ÀÖ½À´Ï´Ù...³¡³» ÁÝ´Ï´Ù¿µ ^^;
|