Now whenever you start the terminal, /usr/local/bin will be in the path. To get the shell to re-read this file again, type source ~/.bash_profile. This is accomplished by editing ~/.bash_profile to add the following line: Let’s also put /usr/local/bin in the shell path so we can type wget from the command line rather than the tedious /usr/local/bin/wget when we want to run the program. ![]() Sudo make install The wget binary should now be in your /usr/local/bin folder. Grab the wget source code from (or get the latest here). Here’s the steps I used to build and install wget on my mac. It’s also not a part of the developer tools package. ![]() Wget is great command line *nix program for grabbing things from the web, but it doesn’t ship with macs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |