<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">On Jun 22, 2017, at 12:13 PM, Simone Poli <<a href="mailto:simone.poli.01@gmail.com" class="">simone.poli.01@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class="">dear mac port users, I’ve just installed mac port, but no commando can be executed on it, not even the sudo self update, no action is recognised:</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">MacBook-Pro-di-nicola-<wbr class="">travaglia:/ SimonePoli$ port</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">MacPorts 2.4.1</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Entering shell mode... ("help" for help, "quit" to quit)</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[/] > sudo </span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Error: Unrecognized action "port sudo"</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">[/] > </span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><br class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span></div></div></div></blockquote><br class=""></div><div>Hi Simone:</div><div><br class=""></div><div>Looks like you just need to enter your command on a single line in the Terminal.  Try:</div><div><br class=""></div><div>sudo port selfupdate</div><div><br class=""></div><div>Copy, then paste all three words into the Terminal and finally press Return.  You will then be prompted to enter your password.  Enter your admin password; the same password that you used to install the MacPorts software.   You should then see some messages printed that describe the various steps that the ‘selfupdate’ command goes through.  Some of the steps may take a minute or two to finish.  If all goes well, the command prompt in Terminal will be printed and will wait for you to enter the next command.</div><div><br class=""></div><div>Official documentation is at:</div><div><br class=""></div><div><a href="https://guide.macports.org/#using" class="">https://guide.macports.org/#using</a></div><br class=""><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">I would like to ask also if the mac port platform could be used as a virtual computer with the Lnux shell on it.</div></div></blockquote></div><div class=""><div dir="ltr" class=""><div class="" style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br class=""></div></div></div><div class="">I’m not sure what you mean by this.  MacPorts makes several thousand software packages ("ports”) available on Mac OS X  Most of them were developed on the Linux operating system.  OS X is derived from unix, as is Linux, and therefore the operating systems share a fair bit in common.</div><div class=""><br class=""></div><div class="">If you could tell us more specifically what you want to do, perhaps we could suggest particular ports to install.</div><div class=""><br class=""></div><div class="">Craig</div></body></html>