-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document install process on mono #2025
Comments
Yes please. Going through this now, though using docker on a mac, since the mono The following seems to work, but the resulting exe complains because the version is not known.
Though, I get confused when I try to execute it from the OSX to create a new pacakge.
|
The version not getting set when building in docker is a known issue. I have PR #2024 open to fix it. For the lib directory does not exist error, try defining the chocolatey install variable- |
Thanks for the information. Looking forward to this. Not sure if |
For anyone running into this, here are a list of the current issues I know about:
|
Most likely, it is due to choco trimming the start of the CodeBase value when checking for paths. on Windows, it is fine, where the path would be something similar to:
but not on Linux (I don't know about OSX), where the path would be:
by removing additional note, on Linux a path using the file protocol can also be in the format:
Although, I haven't seen that happen for the CodeBase parameter. See the following patch for the updates I did to make it work: https://github.com/AdmiringWorm/chocolatey-arch/blob/master/0002-Don-t-replace-prefixed-slash-on-unix-systems.patch (not contributed, as it needs more testing to make sure). |
Thanks for the write-up, I gathered as about as much from the patch, but wasn't sure of the specifics. Could this also cause problems over in the |
@TheCakeIsNaOH yes, which is why I also patch that one in the patch: https://github.com/AdmiringWorm/chocolatey-arch/blob/master/0002-Don-t-replace-prefixed-slash-on-unix-systems.patch#L57 Basically, the files There is also a similar issue with the |
Ok, sorry about that, I completely skipped over that it also patched that file. |
Is this what leads to: |
@hurricanehrndz yes, from my testing that is indeed (at least part of) the reason for the warning message. |
(#2025) Document install process on other platforms.
Currently, there is no documentation that I can find on how to install Chocolatey on a Linux/Mac OS system with mono.
The current best process as I see it-
build.sh
./code_drop/chocolatey/console
directory to your preferred install pathchoco_wrapper
in thedocker
directory to a folder that is on your$PATH
and rename tochoco
. The docker container copies it to/usr/local/bin/
3a. Modify the path in the
choco
wrapper if your install is different from the default/usr/local/bin/chocolatey
ChocolateyInstall
environment variable to point to your install path.I think the exact paths to use is up for discussion, although moving to
/opt/chocolatey
as the install path is probably a good option. This is because chocolatey is currently an add on software package that is not installed through a package manager. See the Linux filesystem hierarchy for more information.The text was updated successfully, but these errors were encountered: