This is where the likes of Macports and Fink come in. There is a good set of software that comes installed by default - Perl, Python, Bash, Zsh, CVS, Subversion, Emacs, Vim… - but at some point of time you’ll need more. One of the ways in which (good) Linux distributions-by which I mean Debian and Ubuntu-are better than Mac OS X is that it’s trivial to install, upgrade and uninstall packages: you just use the package management system. it should have /Users/julesverne/ports/net/pidgin/Portfile if you’re going to be changing Pidgin’s portfile. This directory should contain the Portfiles just as in the Macports tree, e.g. To do this, edit /opt/local/etc/macports/nf and add something like file:///Users/julesverne/portsīefore rsync:///release/ports. The better way is to set up a local Portfile repository. One way is to just edit the corresponding “portfile” directly - try port file pidgin to see which Portfile to edit - but that will be overwritten the next time you update. Staying upgraded (like apt-get dist-upgrade): Do sudo port -u upgradeĬhanging individual ports: This is the best part about MacPorts: if some package (“port”) is not working properly, it’s very easy to simply fix it. Staying updated (like apt-get update): Do sudo port -v selfupdate They recommend adding these paths at the front I prefer adding them at the end.Īt some point you might want to make changes to MacPorts itself when that happens you can easily switch to using MacPorts from SVN, with svn co rcs and put PATH=$PATH:/opt/local/bin:/opt/local/sbin MacPorts is probably best for more advanced Mac users who have some experience with the command line, because MacPorts itself is also a command line tool.Installing: Easiest is to just get the. MacPorts is free to download and to install, but before downloading MacPorts you will need to be sure you have the Mac Command Line Tools installed on the computer as that is a prerequisite. Update all installed ports to most recent versions: Sudo port -v install irssi Update installed packages with MacPorts Install software with MacPorts (replace irssi with your package): Port search irssi Install packages with MacPorts Search for software with MacPorts (replace irssi with your package): If you’re already familiar with the command line and package management then you’ll probably be right at home with the whole the setup and installation proces.Īfter you install MacPorts, using it is pretty easy (assuming familiarity with the command line), you can search for, update, and install software with just a few commands. If all of this makes MacPorts sounds to you like Fink or Homebrew, well, you’d be right because it’s serving a similar function as a package manager, so it’s pretty close. Functionality is much the same, but some people swear that one is better than the other. If you pick one package manager, you don’t need to install another one, however, as there could be overlap and doubled binaries. If you would prefer to use a GUI to install command line software, try out Fink Commander, which performs much the same as MacPorts but through a GUI interface. There are several GUI options available for MacPorts but most of them are shareware or commercial, but you can explore those as possibilities if you’re interested. There are other command line package manager options out there too, for example the tool called Homebrew has gained a lot of popularity and you can install Homebrew on Mac with relative ease, which allows for simple installation, updating, and management of command line tools. I’m having a bit of trouble trying to install fink, I know how to execute the command lines but I can’t even get it to install, OK I get this problem when I trying to install I don’t, and won’t, use MacPorts or Fink). I also want to keep manual installations to a bare minimum. I typed in Terminal “./bootstrap” I pick Option 1 from the list then Option 1 again to install the 32-bit(Default) I then enter my pass from sudo command, then comes thisĬhecking package… looks good (fink-0.29.10).įirst of all, I’ve of course installed Xcode but the current version doesn’t ship with a decently up to date GCC (I need ata least 4.5, but would prefer the most recent one) in fact, it doesn’t ship with a. This system was not released at the time this Fink release was made. Prerelease versions of Mac OS X might work with Fink, but there are noĮRROR: There is no C compiler on your system. It tells me there’s no C compiler on my system, but I’ve already downloaded them before because I have Xcode 3.2.1 installed along with the other stuff that came with the Developer Tools.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |