Install macports again after uninstalling homebrew

Ulrich Wienands wienands at gmail.com
Thu Feb 28 18:35:44 UTC 2019


I’d check .bashrc or .profile to see if Homebrew somehow messed with your path. 

For me, port points to /opt/local/bin/port. Does that exist?

Uli
> On Feb 28, 2019, at 11:06 AM, Andreas via macports-users <macports-users at lists.macports.org> wrote:
> 
> Hi,
> 
> I don't know if someone else did the same as me after the prerequisites for installing MacPorts were done: 1st) installed macports for macos High Sierra 10.13.6 through the macOS package installer; then 2nd) installed Homebrew through the command line that is displayed at their homepage "brew.sh". Once the Homebrew finished its installation process I quit the Terminal and open it again to verify if MacPorts was ok by typing on the command line `$ port version`. The output was as follows: `-bash: port: command not found`.
> I then uninstalled Homebrew using the command on their FAQ:  `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall <https://raw.githubusercontent.com/Homebrew/install/master/uninstall>)"`. But the problem with MacPorts persists: `-bash: port: command not found`. I'm wondering if I can just install MacPorts again with the macOS package installer or if I have to do/try something else before installing MacPorts again.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20190228/f77554b0/attachment.html>


More information about the macports-users mailing list