CHAPTER 10 – PEAR COMMANDS – pear download

The pear install command does not store the package file it downloads any- where. If all you want is the package tarball (for installing later or something else), you can use the pear download command: $ pear download DB File DB-1.3.tgz downloaded (59332 bytes) B y d e f a u l t , y o u w i l l r e c e i v e t h e l a t e s t r e l e a s e m a t ch i n g y o u r preferred_state configuration parameter. If you want to download a specific release, give the full file name instead: $ pear download DB-1.2.tgz File DB-1.2.tgz downloaded (58090 bytes) Tip: If you don't have the zlib PHP extension built in, use the -Z or --nocompress option to download .tar files.

Post Comment
Login to post comments