Mac Packaging: proposal for a new method(suggestions please) [closed]
Macports is the only packaging system I have checked out on the Mac and I dont like it.(it needs all its applications installed in a particular location. Thats probably the reason why it showed Python2.5 as a dependency which needs to be installed even though I already had it.) For a person who has moved over from Ubuntu, I sorely miss apt-get. As far as Macports are concerned, there is no central repository so the source of a package is fetched from the project website, built and installed.
Now, Ubuntu has various open source projects in a deb format which can be properly installed on ubuntu machines. Whats more, there is also a central repo for all these debs.
Problems with Macports:-
- It installs stuff even if its already present on the machine.
- It always downloads, compiles and installs packages from the project website. It does not have a central repository for all packages. I guess this could result in installing packages which are not mutually compatible.
Now assuming that Mac had a really good packaging system what would be the problems we face?
- Servers for all the packages.
- All the packages would have to be regularly maintained, newer packages would have to be packaged.
However, if there were some standard way to convert deb files(I'm talking about deb files because I feel Ubuntu repositories are the best) to packages which are installable in OSX :-
We could use the standard Ubuntu repositories which have packages that are regularly maintained.
We have a central location for all the packages rather than downloading packages from the development website(like Macports does).
Would something like that be possible? If anyone has ideas for a better solution, do pitch in your comments. Its really sad that there is'nt a really good package manager for Macs.
Solution 1:
I would suggest you Homebrew.
The main point of Homebrew is that is doesn't require to install new version of tools you already have.
Here is a nice article about it.
Solution 2:
Have you taken a look at Fink? It's based on Debian's package-management tools (dpkg and apt-get), and its binary distribution uses the .deb package format.