[MacPorts] InstallingMacPortsOnUbuntuLinux modified

MacPorts Wiki noreply at macports.org
Mon Mar 21 21:04:28 UTC 2022


Page "InstallingMacPortsOnUbuntuLinux" was changed by harens
Diff URL: <https://trac.macports.org/wiki/InstallingMacPortsOnUbuntuLinux?action=diff&version=4>
Revision 4
Comment: grep is located in /bin rather than the usual /usr/bin, similar to sed
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: InstallingMacPortsOnUbuntuLinux
=========================================================================
--- InstallingMacPortsOnUbuntuLinux (version: 3)
+++ InstallingMacPortsOnUbuntuLinux (version: 4)
@@ -78,9 +78,10 @@
 build_arch             x86_64
 }}}
 
-Darwin and Ubuntu supply 'sed' in different locations, so rather than edit many Portfiles that expect it in the Darwin location, you can do this:
+Darwin and Ubuntu supply 'sed' and 'grep' in different locations, so rather than edit many Portfiles that expect it in the Darwin location, you can do this:
 {{{
 sudo ln -s /bin/sed /usr/bin/sed
+sudo ln -s /bin/grep /usr/bin/grep
 }}}
 
 And at that point, you should be able to run normal MacPorts commands. 
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/InstallingMacPortsOnUbuntuLinux>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'InstallingMacPortsOnUbuntuLinux' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list