Hi,
I am using FreeBSD (lately switched to PC-BSD) on my laptop. I have some questions that have been bugging me for a while related to how ports and packages work. I couldn't find the answers of my specific questions in Chapter 5 of the Handbook. I use ports and packages interchangeably on my system. Meaning, I install using either method, I uninstall using either method and I'm thinking I could upgrade using either.
Questions: are they supposed to work like that? More specifically, if I install from ports, do I get the same end result (supposing the compilation options are the same) as installing from a package? Are the same files installed in the same location? When I install a port, the port and the installed dependencies are recorded in the same system (dependency tree) that is used by the package system? Is it possible that what I have installed on my system gets out of sync with what the package/port system "thinks" I have installed? Can I install a port, then use the package tools to upgrade it, or the other way around? Or can I install via ports, and uninstall via pkg, or the other way around?
Maybe I'm asking too many questions, if so, please point me to the right documentation/tutorial to read about it. Or maybe the right information will answer most of my questions, I'm aware I'm missing some basic part of how these things work.
Thank you,
Stefan
I am using FreeBSD (lately switched to PC-BSD) on my laptop. I have some questions that have been bugging me for a while related to how ports and packages work. I couldn't find the answers of my specific questions in Chapter 5 of the Handbook. I use ports and packages interchangeably on my system. Meaning, I install using either method, I uninstall using either method and I'm thinking I could upgrade using either.
Questions: are they supposed to work like that? More specifically, if I install from ports, do I get the same end result (supposing the compilation options are the same) as installing from a package? Are the same files installed in the same location? When I install a port, the port and the installed dependencies are recorded in the same system (dependency tree) that is used by the package system? Is it possible that what I have installed on my system gets out of sync with what the package/port system "thinks" I have installed? Can I install a port, then use the package tools to upgrade it, or the other way around? Or can I install via ports, and uninstall via pkg, or the other way around?
Maybe I'm asking too many questions, if so, please point me to the right documentation/tutorial to read about it. Or maybe the right information will answer most of my questions, I'm aware I'm missing some basic part of how these things work.
Thank you,
Stefan