Sudo ACCEPT_EULA=Y yum install -y mssql-tools18 Sudo ACCEPT_EULA=Y yum install -y msodbcsql18 Sudo yum remove unixODBC-utf16 unixODBC-utf16-devel #to avoid conflicts #Download appropriate package for the OS versionĬurl | sudo tee /etc//mssql-release.repo Run sudo apt-get update and continue the installation from there. Once you download the /etc/apt//mssql-release.list file, edit it to remove the signed-by value. N: See apt-secure(8) manpage for repository creation and user configuration details. N: Updating from such a repository can't be done securely, and is therefore disabled by default. You get an error while running apt-get update similar to the following text: W: GPG error: bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CFĮ: The repository ' bookworm InRelease' is not signed. You can substitute setting the environment variable ACCEPT_EULA with setting the debconf variable msodbcsql/ACCEPT_EULA instead: echo msodbcsql18 msodbcsql/ACCEPT_EULA boolean true | sudo debconf-set-selections Error: The following signatures couldn't be verified because the public key is not available # optional: kerberos library for debian-slim distributions # optional: for unixODBC development headers Sudo ACCEPT_EULA=Y apt-get install -y mssql-tools18Įcho 'export PATH="$PATH:/opt/mssql-tools18/bin"' > ~/.bashrc Sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 #Choose only ONE of the following, corresponding to your OS versionĬurl | sudo tee /etc/apt//mssql-release.list #Download appropriate package for the OS version Sudo apk add -allow-untrusted mssql-tools18_18.3.1.1-1_$architecture.apkĭriver version 17.5 or higher is required for Alpine support. Sudo apk add -allow-untrusted msodbcsql18_18.3.2.1-1_$architecture.apk #(Optional) Verify signature, if 'gpg' is missing install it using 'apk add gnupg': If ] Įcho "Alpine architecture $(uname -m) is not currently supported."
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |