"PEAR 업그레이드"의 두 판 사이의 차이

2번째 줄: 2번째 줄:
;pear upgrade pear
;pear upgrade pear


==개요==
==업그레이드 시드==
pear 스스로 업그레이드
<source lang='dos'>
<source lang='dos'>
[root@jmnote ~]# pear upgrade pear
[root@jmnote ~]# pear upgrade pear
15번째 줄: 16번째 줄:
:→ 그냥 잘되면 좋은데 잘 안된다...
:→ 그냥 잘되면 좋은데 잘 안된다...


==해결방법==
==다운로드==
<source lang='dos'>
<source lang='dos'>
[root@svn0 ~]# wget http://pear.php.net/go-pear.phar
[root@jmnote ~]# wget http://pear.php.net/go-pear.phar
--2013-08-03 21:56:24--  http://pear.php.net/go-pear.phar
--2013-08-03 21:56:24--  http://pear.php.net/go-pear.phar
Resolving pear.php.net... 5.77.39.20
Resolving pear.php.net... 5.77.39.20
29번째 줄: 30번째 줄:
2013-08-03 21:56:32 (569 KB/s) - `go-pear.phar' saved [4082712/4082712]
2013-08-03 21:56:32 (569 KB/s) - `go-pear.phar' saved [4082712/4082712]
</source>
</source>
== 설치 ==
<source lang='dos'>
<source lang='dos'>
[root@svn0 ~]# php go-pear.phar
[root@jmnote ~]# php go-pear.phar


Below is a suggested file layout for your new PEAR installation.  To
Below is a suggested file layout for your new PEAR installation.  To

2013년 8월 3일 (토) 22:01 판

PEAR 업그레이드
pear upgrade pear

1 업그레이드 시드

pear 스스로 업그레이드

[root@jmnote ~]# pear upgrade pear
pear/PEAR dependency package "pear/Console_Getopt" downloaded version 1.3.1 is not the recommended version 1.2.3, but may be compatible, use --force to install
pear/Archive_Tar requires PEAR Installer (version >= 1.5.4), installed version is 1.4.9
pear/Console_Getopt requires PEAR Installer (version >= 1.8.0), installed version is 1.4.9
downloading Structures_Graph-1.0.4.tgz ...
Starting to download Structures_Graph-1.0.4.tgz (30,318 bytes)
.........done: 30,318 bytes
ERROR: unable to unpack /tmp/tmpLZ7dOo/Structures_Graph-1.0.4.tgz
→ 그냥 잘되면 좋은데 잘 안된다...

2 다운로드

[root@jmnote ~]# wget http://pear.php.net/go-pear.phar
--2013-08-03 21:56:24--  http://pear.php.net/go-pear.phar
Resolving pear.php.net... 5.77.39.20
Connecting to pear.php.net|5.77.39.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4082712 (3.9M) [application/octet-stream]
Saving to: `go-pear.phar'

100%[========================================================================>] 4,082,712    594K/s   in 7.0s    

2013-08-03 21:56:32 (569 KB/s) - `go-pear.phar' saved [4082712/4082712]

3 설치

[root@jmnote ~]# php go-pear.phar

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)                   : /usr
 2. Temporary directory for processing            : /tmp/pear/install
 3. Temporary directory for downloads             : /tmp/pear/install
 4. Binaries directory                            : /usr/bin
 5. PHP code directory ($php_dir)                 : /usr/share/pear
 6. Documentation directory                       : /usr/docs
 7. Data directory                                : /usr/data
 8. User-modifiable configuration files directory : /usr/cfg
 9. Public Web Files directory                    : /usr/www
10. Tests directory                               : /usr/tests
11. Name of configuration file                    : /etc/pear.conf

1-11, 'all' or Enter to continue:
Enter
Beginning install...
Configuration written to /etc/pear.conf...
Initialized registry...
Preparing to install...
installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.11.tar...
installing phar:///root/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.1.tar...
... (생략)
Thanks for using go-pear!

4 같이 보기

5 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}