Kdb+ Learning Note (1) — Installation
1 min readAug 25, 2020
- 64-bit version on demand
Free, non-commercial, 64-bit kdb+ on demand in the following link
2. Download the latest version 4.0 for Windows
3. Unzip and put the license in the unzipped folder.
├── kc.lic
├── w64
│ └── q
└── q.k
4(a). Set environment variable QHOME and path
setx QHOME "C:\q"
setx PATH "%PATH%;C:\q\w64"
- change “C:\q” to the path of your unzipped folder with kc.lic in it.
- ‘license error: k4.lic’ when starting might be from failure to set up the environment variable correctly.
Or..
4(b). Go to control panel/ system/ Edit environment variables
- Use “New…” button to add variable QHOME with value of the unzipped folder’s location.
- Use “Edit…” button to edit variable Path(or PATH) with value of the unzipped folder’s location.
5. Run ‘q’ in command to run kdb+ and ‘exit 0’ to exit.
Simply run ‘pip install pyq’ if you have python installed.