any major reason why that sometime in the near future we couldn’t just type
sudo apt-get install lucee
any major reason why that sometime in the near future we couldn’t just type
sudo apt-get install lucee
Yes I believe so.
@Brad_Wood can you expand on the reasoning behind this, I believe we spoke about it a while back but I can’t remember the issues.
@Zackster You’re asking potentially two similar but very different questions.
apt-get install lucee
apt-get update
.Let’s address #1 first.
I spent several weeks looking at all this for CommandBox and gave up. It would just be impossible and I don’t even know if their required installation structure even allows for projects that use OSGI to load in 3rd party libs.
Now for option #2. This is a different beast entirely.
This is all pretty workable, and we do all of it for CommandBox right now. In fact, I think Denny Valiant had worked on something similar to this at one point in time, but I’m not sure what became of it. (Denny helped us create our CommandBox Debian and RPM packages). It does bring up some interesting questions though:
Most people would probably want to stick to the all-inclusive installer approach where they get to have a say in how it’s installed. This would lead us down the road of roughly how MySQL Server works where you install an initial package and then run a script to “finish” the installation.
$> apt-get install myServerThingy
$> myServerThingyInstaller
That sort of begs the question as how that approach is really any different that what you have right now (simpler actually since the below doesn’t require the custom signing keys and source lists):
$> wget http://downloads.lucee.org/myServerThingy.bin
$> chmod a+x myServerThingy.bin
$> ./myServerThingy.bin
And the final bit is if Lucee upgrades will actually work inside the apt-get
framework. In other words, can you get the new version of Lucee like so:
$> apt-get update
$> apt-get upgrade
My guess is no, that won’t work. Lucee has its own update mechanism that updates internally and the apt-get package would probably just end up being a one-time installer. To me, this loses one of the biggest reasons to use your OS’s package manager in the first place! (CommandBox does allow you to upgrade this way, but we’ve become more opinionated to allow for it).
So the TL; DR; is