Now test to make sure that your link works in terminal type this $ pear ( enter ) You should see something like the following. ![]() ( note you may not have /usr/local/bin.you may just have /usr/bin and thats ok use that location ) Next, run these tow commands in terminal $ echo ‘export PATH=/Users/YOUR_USER_NAME/PEAR:$PATH’ > ~/.bash_profile $ echo ‘export PATH=/Users/YOUR_USER_NAME/bin:$PATH’ > ~/.bash_profile $ sudo ln /Users/yourusername/pear/bin/pear /usr/local/bin/ Now make a symbolic link so you can just type in pear at the command line prompt To install/reinstall go to this site and then 'Save as.' and make sure you save this in your home directory Then in terminal run this command $ php go-pear.phar From terminal: Install pear in home directory or cd ~ if unsure cd /Users/yourusername ( enter ) OR cd ~ ( enter )
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |