![]() bash_profile for BASH # PROMPT_COMMAND=update_terminal_cwd PS1= '\h:\W \u\$ ' PS2= '> ' PS4= ' ' PATH= "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" PATH= " $PATH:/opt/macports/bin:/opt/macports/sbin" # Your previous /Users//.bash_profile file was backed up as /Users//.bash_profile.macports-saved_at_16:38:31 # MacPorts Installer addition on _at_16:38:31: adding an appropriate PATH variable for use with MacPorts. Here is what you will usually see in ~/.bash_profile file (after macports is installed) : #. In that way, your macOS user account can find use the installed macports port package files, after you login. When MacPorts is installed, installer will add locations in PATH where macports port package executables are stored, inside the ~/.bash_profile file.You can use this command to edit the ~/.bash_profile file : sudo nano ~ /.bash_profile MacPorts installer webpage will instruct you to add macports pkg-mngr executable file locations in the end of your PATH variable, like this : PATH= " $PATH:/opt/macports/bin:/opt/macports/sbin".bash_profile for BASH # PROMPT_COMMAND=update_terminal_cwd PS1= '\h:\W \u\$ ' PS2= '> ' PS4= ' ' PATH= "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" export PATH Before MacPorts is installed, your ~/.bash_profile file (inside your home directory) may look close to like this : #.download/obtain MacPorts installer dmg/pkg file, install it.MacPorts was created 7yrs before homebrew. After downloading source, it can auto compile in your OS/distro to create/build trustworthy binary files. It can obtain source or binary or both (for most) package. It is opensource
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |