Skip to content

Commit 4e2515b

Browse files
DOC: Add platform-specific dependencies and uv example to llms.txt
1 parent c57fb34 commit 4e2515b

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

llms.txt

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,46 @@ mssql-python is the official Microsoft Python driver for SQL Server and Azure SQ
1010
pip install mssql-python
1111
```
1212

13+
Or using uv (recommended for faster installs):
14+
```bash
15+
uv pip install mssql-python
16+
```
17+
18+
### Platform-Specific Dependencies
19+
20+
**macOS** - Install the ODBC driver:
21+
```bash
22+
brew install msodbcsql18
23+
```
24+
25+
**Debian/Ubuntu**:
26+
```bash
27+
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
28+
curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
29+
sudo apt-get update
30+
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18
31+
```
32+
33+
**RHEL/CentOS/Fedora**:
34+
```bash
35+
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
36+
curl https://packages.microsoft.com/config/rhel/$(rpm -E %rhel)/prod.repo | sudo tee /etc/yum.repos.d/mssql-release.repo
37+
sudo ACCEPT_EULA=Y yum install -y msodbcsql18
38+
```
39+
40+
**Alpine Linux**:
41+
```bash
42+
apk add --no-cache curl gnupg
43+
curl -O https://download.microsoft.com/download/1/f/f/1fffeb70-cd3d-42d5-a7ee-b75c4ff5fb9e/msodbcsql18_18.4.1.1-1_amd64.apk
44+
apk add --allow-untrusted msodbcsql18_18.4.1.1-1_amd64.apk
45+
```
46+
47+
**SUSE Linux**:
48+
```bash
49+
sudo zypper addrepo https://packages.microsoft.com/config/sles/15/prod.repo
50+
sudo ACCEPT_EULA=Y zypper install -y msodbcsql18
51+
```
52+
1353
## Quick Start
1454

1555
```python

0 commit comments

Comments
 (0)