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

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 13개는 보이지 않습니다)
2번째 줄: 2번째 줄:
;pear upgrade pear
;pear upgrade pear


==개요==
==업그레이드 시도==
<source lang='dos'>
pear 스스로 업그레이드
[root@svn0 ~]# pear upgrade pear
<syntaxhighlight lang='console'>
[root@zetawiki ~]# 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/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/Archive_Tar requires PEAR Installer (version >= 1.5.4), installed version is 1.4.9
12번째 줄: 13번째 줄:
.........done: 30,318 bytes
.........done: 30,318 bytes
ERROR: unable to unpack /tmp/tmpLZ7dOo/Structures_Graph-1.0.4.tgz
ERROR: unable to unpack /tmp/tmpLZ7dOo/Structures_Graph-1.0.4.tgz
</source>
</syntaxhighlight>
:→ 그냥 잘되면 좋은데 잘 안된다...
 
==다운로드==
<syntaxhighlight lang='console'>
[root@zetawiki ~]# 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]
</syntaxhighlight>
 
== 설치 ==
<syntaxhighlight lang='console'>
[root@zetawiki ~]# 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:
</syntaxhighlight>
:{{Enter}}
<syntaxhighlight lang='console'>
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!
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[PEAR 버전 확인]]
*[[PEAR 버전 확인]]
*[[WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net"]]
*[[WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net"]]
*[[Phar]]
==참고==
*http://stackoverflow.com/questions/8571925/upgrading-pear-on-x86-64-gnu-linux


[[분류: PECL]]
[[분류: PECL]]

2020년 11월 2일 (월) 02:56 기준 최신판

PEAR 업그레이드
pear upgrade pear

1 업그레이드 시도[ | ]

pear 스스로 업그레이드

[root@zetawiki ~]# 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@zetawiki ~]# 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@zetawiki ~]# 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 }}