ELI5: what is the Ports-tree? - Printable Version +- nixers (https://nixers.net) +-- Forum: Operating Systems & Administration (https://nixers.net/Forum-Operating-Systems-Administration) +--- Forum: BSD (https://nixers.net/Forum-BSD) +--- Thread: ELI5: what is the Ports-tree? (/Thread-ELI5-what-is-the-Ports-tree) |
ELI5: what is the Ports-tree? - fayesafe - 06-09-2014 Hey there, I was thinking about that a very long Time, because i think about changing from linux to BSD or at least switching from arch to a distro that provides some kind of a ports-tree like crux linux does, or gentoo if you want. So, whenever i read about this topic, i cannot find out *in detail* what this is. Is it some kind of Directory, that provides sources and stuff or is it completely different from my idea? I apologize if this maybe Sounds a Little noobish, but i thought, this'd by the right Place to ask. RE: ELI5: what is the Ports-tree? - venam - 06-09-2014 If you are on Arch you can try the ABS to get an idea of what ports are like. https://wiki.archlinux.org/index.php/Arch_Build_System RE: ELI5: what is the Ports-tree? - z3bra - 06-09-2014 A port-tree is a cook book. But instead of making cakes, you create packages. Instead of pages, you have directories. Instead of recipes, you have scripts or makefiles (depending on your system). The most simple recipe to build a package would be: Code: #!/bin/sh Where would you put this recipe ? In your cookbook : Code: /usr/cookbook This, tiny boy, is a cookbook port-tree RE: ELI5: what is the Ports-tree? - pizzaroll1 - 06-09-2014 It's just a directory full of Makefiles that fetch the source, build a package and install it. Here is the OpenBSD documentation on what the ports tree is. Basically, if you want to install chromium, for example: Code: $ cd /usr/ports/www/chromium |