¼ÒÇÁÆ®¿þ¾î Ãß°¡ / »èÁ¦Çϱâ... ¼Ö¶ó¸®½º¿¡´Â ¼ÒÇÁÆ®¿þ¾î°¡ ÆÐÅ°Áö ÇüÅ·ΠµÇ¾î ÀÖ½À´Ï´Ù.. ±×·¸±â ¶§¹®¿¡ ¼ÒÇÁÆ®¿þ¾î Ãß°¡/»èÁ¦¸¦ À§Çؼ­´Â ÆÐÅ°Áö °ü·Ã ¸í·É¾î¸¦ ¾Ë¾Æ¾ß °ÙÁÒ.. Áö±ÝºÎÅÍ ±× ¸í·É¾îµéÀ» Â÷·Ê·Î ¾Ë¾Æº¸±¸ ¿¹¸¦ º¸°Ú½À´Ï´Ù.. ¸ÕÀú ¼³Ä¡µÈ ÆÐÅ°Áö¿¡ Á¤º¸¸¦ º¸´Â °ÍºÎÅÍÇÏ°Ú½À´Ï´Ù..°ü·Ã ¸í·É¾î´Â pkginfoÀÔ´Ï´Ù.. ¿É¼ÇÀº...º°°Å ¾ø½À´Ï´Ù..-l ¿É¼ÇÀ» ÁÖ¸é ¸ðµç ¼³Ä¡µÈ ÆÐÅ°Áö¿¡ ´ëÇÑ Á¤º¸¸¦ º¸¿©ÁÝ´Ï´Ù.... ÆÄÀÌÇÁ¸¦ ÀÌ¿ëÇؼ­ ¿©·¯°¡Áö·Î º¼ ¼ö ÀÖ½À´Ï´Ù.. ¸¸¾à ´Ù¸¥ ¹Ìµð¾î(cdrom µî) ¿¡ ÀÖ´Â ÆÐÅ°Áö¸¦ º¼·Á¸é ÇØ´ç °æ·Î¸¦ Àû¾îÁÖ¸é µË´Ï´Ù.. ========================================================================================================================== # pkginfo | more system AMImega MEGA Family SCSI Host Bus Adapter system CADP160 Adaptec Ultra160 SCSI Host Adapter Driver system CPQcnft Compaq NetFlex Family NIC system CPQncr Compaq Family SCSI HBA system CPQsmii Compaq SMART-2/E Family of Array Controller system HPFC Agilent Fibre Channel HBA Driver system MADGFmt Madge Token Ring Family of NIC system MYLXflp Buslogic FlashPoint Ultra PCI SCSI system NCRos86r NCR Platform Support, OS Functionality (Root) application NSCPcom Netscape Communicator application NSCPkocom Korean (EUC) Netscape Communicator application NSCPkpcom Korean (Common) Netscape Communicator system SK98sol SysKonnect SK-NET Gigabit Ethernet Adapter SK-98xx < Áß°£ »ý·« > # pkginfo | more system AMImega MEGA Family SCSI Host Bus Adapter system CADP160 Adaptec Ultra160 SCSI Host Adapter Driver system CPQcnft Compaq NetFlex Family NIC system CPQncr Compaq Family SCSI HBA system CPQsmii Compaq SMART-2/E Family of Array Controller system HPFC Agilent Fibre Channel HBA Driver system MADGFmt Madge Token Ring Family of NIC system MYLXflp Buslogic FlashPoint Ultra PCI SCSI system NCRos86r NCR Platform Support, OS Functionality (Root) application NSCPcom Netscape Communicator application NSCPkocom Korean (EUC) Netscape Communicator application NSCPkpcom Korean (Common) Netscape Communicator system SK98sol SysKonnect SK-NET Gigabit Ethernet Adapter SK-98xx system SKfp SysKonnect PCI-FDDI Host Adapter system SUNW1251f Russian 1251 fonts ALE SUNW5xmft Chinese/Taiwan BIG5 X Windows Platform minimum required Fonts Package < Áß°£ »ý·« > # pkginfo | wc -l 439 ========================================================================================================================== ÆÐÅ°Áö¸¦ Ãß°¡ÇÏ·Á¸é pkgadd ¸í·É¾î¸¦ »ç¿ëÇÕ´Ï´Ù... »ç¿ë¹ýÀº ´ÙÀ½°ú °°½À´Ï´Ù.. pkgadd [ -d device | pathname] pkg_name ÆÐÅ°Áö Çϳª¸¦ ´Ù¿î¹Þ¾Æ¼­ ¼³Ä¡ÇØ º¾½Ã´Ù.. GNU gcc´Â C, C++, Objective C, Fortran 77 ÄÄÆÄÀÏ·¯¸¦ °¡Áö°í ÀÖ½À´Ï´Ù..ÀÌ°ÍÀ» ´ÙÀ½ URLÀ» ÅëÇؼ­ ´Ù¿î·Îµå ÇÕ´Ï´Ù.. ftp://www.solarisschool.com/pub/packages/intel/sol8/Development_Lnaguages/gcc-2.95.2-sol8-intel-loc.gz ´Ù¿îÀ» ¹Þ¾ÒÀ¸¸é...¾ÐÃàÀ» Ç®°í....(gunzip gcc-2.95.2-sol8-intel-local.gz) ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.. ========================================================================================================================== # pkgadd -d /export/home/oracle/gcc-2.95.2-sol8-intel-local ´ÙÀ½°ú °°Àº ÆÐÅ°Áö¸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. 1 EB2Igcc gcc (i386) 2.95.2 ó¸®ÇÒ ÆÐÅ°Áö(µé)¸¦ ¼±ÅÃÇϽʽÿÀ.(¶Ç´Â ¸ðµç ÆÐÅ°Áö¸¦ ó¸®ÇÏ·Á¸é'all'À» ÀÔ·ÂÇϽʽÿÀ.) (default: all) [?,??,q]: <---- ¿£Å͸¦ Ä¡¸é µË´Ï´Ù.. ÆÐÅ°Áö ¿¹ (À»)¸¦ ¿¡¼­ ó¸® Áß gcc (i386) 2.95.2 . . . . . . . . This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. µð·ºÅ丮 (À»)¸¦ ÆÐÅ°ÁöÀÇ ±âº» µð·ºÅ丮·Î »ç¿ë ## ÆÐÅ°Áö Á¤º¸ ó¸® Áß ## ½Ã½ºÅÛ Á¤º¸ ó¸® Áß ## µð½ºÅ© °ø°£ ¿ä±¸ °ËÁõ Áß ## ÀÌ¹Ì ¼³Ä¡µÇ¾î ÀÖ´Â ÆÐÅ°Áö¿ÍÀÇ Ãæµ¹ ¿©ºÎ¸¦ È®ÀÎÇÏ°í ÀÖ½À´Ï´Ù. ´ÙÀ½ÀÇ ÆÄÀÏÀÌ ÀÌ¹Ì ½Ã½ºÅÛ¿¡ ¼³Ä¡µÇ¾î ÀÖÀ¸¸ç ´Ù¸¥ ÆÐÅ°Áö¿¡ ÀÇÇØ »ç¿ëµÇ°í ÀÖ½À´Ï´Ù: * /usr/local/bin <¼Ó¼º º¯°æ¸¸> * - ¾î¶² ÆÐÅ°Áö¿¡µµ ¼ÓÇÏÁö ¾Ê´Â ÆÄÀÏ°ú Ãæµ¹ Ãæµ¹ÇÏ´Â ÆÄÀÏÀ» ¼³Ä¡ÇÏ°Ú½À´Ï±î? yes <-------------------±â³É yes ÀÔ·ÂÇÕ´Ï´Ù.. . . . . . . . . . . /usr/local/pkgdoc/EB2Igcc/COPYING.LIB /usr/local/pkgdoc/EB2Igcc/DOWNLOAD /usr/local/pkgdoc/EB2Igcc/FAQ /usr/local/pkgdoc/EB2Igcc/FINALINSTALL /usr/local/pkgdoc/EB2Igcc/INDEX /usr/local/pkgdoc/EB2Igcc/MAINTAINERS /usr/local/pkgdoc/EB2Igcc/README /usr/local/pkgdoc/EB2Igcc/SPECIFIC /usr/local/pkgdoc/EB2Igcc/TEST /usr/local/pkgdoc/EB2Igcc/build.html /usr/local/pkgdoc/EB2Igcc/configure.html /usr/local/pkgdoc/EB2Igcc/dec-osf-shlibstdc++.patch /usr/local/pkgdoc/EB2Igcc/download.html /usr/local/pkgdoc/EB2Igcc/finalinstall.html /usr/local/pkgdoc/EB2Igcc/index.html /usr/local/pkgdoc/EB2Igcc/sco_osr5_g77.patch /usr/local/pkgdoc/EB2Igcc/specific.html /usr/local/pkgdoc/EB2Igcc/test.html [ Ŭ·¡½º °ËÁõ ] (ÀÌ)°¡ ¼º°øÀûÀ¸·Î ¼³Ä¡µÇ¾ú½À´Ï´Ù. # ========================================================================================================================== Áö´ë·Î ½ÇÇàµÇ¾ú´ÂÁö ½ÇÇè... ========================================================================================================================== # exit yasicom% cd yasicom% pwd /export/home/yasi yasicom% vi .cshrc # @(#)cshrc 1.11 89/11/29 SMI stty erase ^H umask 022 set path=(/usr/local/bin /bin /usr/bin /usr/ucb /etc .) <--------- /usr/local/binÀ» Ãß°¡Çϰųª....ÀÌ °æ·Î¸¦ /binÀ̳ª /usr/bin¿¡ º¹»çÇÕ´Ï´Ù.. if ( $?prompt ) then set history=32 endif ~ ~ ~ ~ ~ ~ ~ ~ :wq -- ¿©±â±îÁö ÇÑÈÄ¿¡..ÀçºÎÆÃÇϰųª..ÀçÁ¢¼ÓÇغ¸¼¼¿ä... SunOS 5.8 login: yasi Password: Last login: Sat Dec 1 01:00:52 from 192.168.0.1 Sun Microsystems Inc. SunOS 5.8 Generic February 2000 mail: Invalid permissions on /var/mail/yasi yasicom% which gcc /usr/local/bin/gcc yasicom% cat sample.c #include main() { printf ("Hellow~!"); } yasicom% gcc sample.c yasicom% ls a.out file2 if1.csh repeat.csh sample.c sh_script while.csh ex.csh foreach.csh if2.csh sample script.csh switch.csh -- sampleÀ̶ó´Â ½ÇÇàÈ­ÀÏÀÌ ¸¸µé¾î Á³À¸¸ç... yasicom% a.out -- ÄÄÆÄÀÏÀ» Çϸé a.outÆÄÀÏÀÌ ¸¸µé¾îÁö¸ç..ÄÄÆÄÀÏ ÇÒ¶§¸¶´Ù °ãÃľ²±â°¡ µË´Ï´Ù.. -- ±×·¯¹Ç·Î mv ¸í·ÉÀ¸·Î À̸§À» ¹Ù²Ù¾îÁָ鼭 ÇÏ¸é µÈ´Ù.. Hellow~!yasicom% -- ļļļĽ^^ ½ÇÇà°á°ú Àß³ª¿Â´Ù.. yasicom% ========================================================================================================================== ¼³Ä¡µÈ ÆÐÅ°Áö¸¦ »èÁ¦ÇÏ´Â ¸í·ÉÀº pkgrm ¸í·ÉÀÌ´Ù...ÀÌ°ÍÀº ¾ÈÇغ¸±â·Î ÇÏ°Ú´Ù...¿Ö³Ä??? ÇöÀç ¼³Ä¡µÈ ÆÐÅ°ÁöÁß¿¡ Á¦°¡ Áö¿ï°ÍÀÌ ¾ø°Åµ¢¿ä...ÂÁ.. »ç¿ë¹ýÀº ´ÙÀ½°ú °°½À´Ï´Ù.. pkgrm package_name ¼³Ä¡µÈ ÆÄÀÏÀÇ Á¤È®¼ºÀ» °Ë»çÇÏ´Â ¸í·ÉÀº pkgchk ¸í·É¾î ÀÔ´Ï´Ù.. °Ë»ç´ë»óÀº ÆÄÀÏ ±ÇÇÑ, ownership, ºí·Ï, character deviceÀÇ major/minor, ÆÄÀÏÅ©±â, checksum, ¼öÁ¤ ³¯Â¥µîÀÔ´Ï´Ù.. ¿É¼ÇÀº ´ÙÀ½°ú °°½À´Ï´Ù.. -l : ÆÐÅ°Áö°¡ ¼³Ä¡µÈ ÆÄÀÏ¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ Á¤º¸¸¦ º¸¿©ÁØ´Ù. -v : °Ë»çÇÑ ÆÄÀÏÀÇ ¸®½ºÆ®¸¦ Á¦°øÇÑ´Ù. -p path : °æ·Î¸íÀÇ Á¤È®¼ºÀ» °Ë»çÇÑ´Ù. Âü°íÀûÀ¸·Î pkgadd ¸í·É¾î¿¡ ÀÇÇؼ­ ÆÐÅ°Áö°¡ Ãß°¡µÉ¶§¸¶´Ù /var/sadm/install/contents ÆÄÀÏ¿¡ Á¤º¸¸¦ Ãß°¡ÇÕ´Ï´Ù.. ========================================================================================================================== # pkginfo -l EB2Igcc ÆÐÅ°Áö ÀνºÅϽº: EB2Igcc À̸§: gcc ¹üÁÖ: application ¾ÆÄ«À̺ê: i386 ¹öÀü: 2.95.2 ±âº» µð·ºÅ丮: /usr/local ÆǸÅÀÚ: http://gcc.gnu.org DESC: GNU gcc contains cpp and C, C++, Objective C and Fortran 77 compilers. PSTAMP: acacia20001122170853 INSTDATE: 12¿ù 01 2001 00:27 HOTLINE: www.ebeecomm.com & www.2isoft.com EMAIL: packager@ebeecomm.com »óÅÂ: ¼³Ä¡ ¿Ï·á ÆÄÀÏ: 344 ¼³Ä¡µÈ °æ·Î À̸§ 18 µð·ºÅ丮 25 ½ÇÇà °¡´É 81709 ºí·ÏÀÌ »ç¿ëµÊ (ÃßÁ¤Ä¡) # pkgchk EB2Igcc -- ¾Æ¹«°Íµµ Ãâ·Â µÇÁö ¾ÊÀ¸¸é Á¤»óÀûÀ¸·Î ¼³Ä¡µÈ °ÍÀÌ´Ù.. # # pkgchk -p /usr/local/bin # # pkgchk -p /etc/passwd ¿À·ù: /etc/passwd ¿¹»óÇÑ ±ÇÇÑ <0644> ½ÇÁ¦ ±ÇÇÑ <0444> ¿¹»óÇÑ ÆÄÀÏ Å©±â <414> ½ÇÁ¦ Å©±â <542> ¿¹»óÇÑ Ã¼Å©¼¶ <34239> ½ÇÁ¦ üũ¼¶ <44803> # grep pkgadd /var/sadm/install/contents /usr/sbin/pkgadd f none 0555 root sys 97296 23378 990016393 SUNWcsu /usr/sbin/pkgask=../../usr/sbin/pkgadd l none SUNWcsu /usr/share/man/sman1m/pkgadd.1m f none 0444 bin bin 13931 40599 944774492 SUNWman # pkgadd¿¡ ÀÇÇØ EB2Igcc ÆÐÅ°Áö°¡ ÃÖÁ¾ ¼öÁ¤µÊ # ========================================================================================================================== ÀÌ ¸í·É¾îµéÀ» ÀÌ¿ëÇÏ´Â ¹æ¹ý ¸»±¸µµ...admintoolÀ» ÀÌ¿ëÇÏ¸é ½±°Ô ÆÐÅ°Áö¸¦ ¼³Ä¡ÇÒ ¼ö ÀÖ½À´Ï´Ù.. ¸¶¿ì½º·Î ¶Ç°¢ ¶Ç°¢ Âï¾î°¡¸é¼­ Çغ¸½Ã±â ¹Ù¶ø´Ï´Ù.. Èûµé´ç...ÇæÇæ~