If you are a developer and would like even more specific accounting of what MacPorts is doing, add the -d flag. Running MacPorts commands, you can add the -v command for more verbose ("v" for "verbose") output if you'd like more detail about what MacPorts is attempting to do: You will need to run this command as an administrator, and it requires root access, so you'll need to "sudo": Additionally, this command is used to update the MacPorts software itself - think of it is a Software Update, like its name suggests.Īfter installing MacPorts, try running a selfupdate to grab all the latest MacPorts Portfiles (Portfiles contain information about how to install MacPorts software "ports"). Selfupdate is the command used to automatically download new Portfiles so that your local copy of MacPorts is aware of new MacPorts software or upgrades to existing software that have been committed to the MacPorts infrastructure. We will touch on some important ones here, starting with "selfupdate". For a list of all MacPorts actions, type in man port in your Terminal to read the man page for a complete reference guide to the Port command. Where "command-name" is one of the commands, or "actions" that MacPorts recognizes. If you get a "command not found" error then your path isn't set right and you must review InstallingMacPorts. If you installed MacPorts using the InstallingMacPorts page then you should be able to open a Terminal window and type: opt/local if you are using the defaults) to find its utilities. If you choose to use the Terminal, the Terminal needs to know to look in your MacPorts directory (i.e. You can interact with MacPorts either using a GUI, or using the Terminal. This guide was originally written by Joe Auty and published on NetMusician. Software can be built into this directory without interfering with any Apple-provided services or Mac OS X in general. It is important to understand that MacPorts is designed so that all software installed within MacPorts is installed to its own self-contained directory ( /opt/local, by default). It will cover installing, updating, and removing open source software from your computer provided via the MacPorts infrastructure, in addition to some other important basics. Or you can prevent this from happening by running xattr -d ~/Downloads/darktable*.dmg command before mounting the image (or xattr -dr /Applications/darktable.app after installing).This guide is designed to help provide you with a quick start to using MacPorts.
0 Comments
Leave a Reply. |