1# Full SDK Compilation
2
3The full SDK provides a full set of APIs available in OpenHarmony, including system APIs required by system applications. Vendors can use this SDK to develop applications.
4
5Since OpenHarmony 3.2 Beta5, the full SDK is not provided with the version. You can obtain the full SDK by compiling the source code.
6
7## Compiling the Full SDK
8
9**Preparation**
10
111. Register an SSH public key for access to Gitee.
122. Configure the server environment. For details, see [Setting Up the Ubuntu Environment](../../device-dev/quick-start/quickstart-ide-env-ubuntu.md).
13
14**Procedure**
15
161. Download and initialize the manifest repository: **repo init -u https://gitee.com/openharmony/manifest.git -b $manifest_branch --no-repo-verify --repo-url=https://gitee.com/oschina/repo --no-clone-bundle**
17
182. Download source code based on the downloaded manifest repository: **repo sync -c -d --force-sync**
19
203. Perform precompilation:
21
22   yes y | apt install libxinerama-dev libxcursor-dev libxrandr-dev libxi-dev && rm -rf prebuilts/clang/ohos/darwin-x86_64/clang-480513 && rm -rf prebuilts/clang/ohos/windows-x86_64/clang-480513 && rm -rf prebuilts/clang/ohos/linux-x86_64/clang-480513 && apt-get update -qqy && apt-get install doxygen -y --force-yes
23
244. Perform compilation on Windows:
25
26   ./build.sh --product-name ohos-sdk
27
285. Perform compilation on macOS:
29
30   ./build.sh --product-name ohos-sdk --gn-args full_mini_debug=false --keep-ninja-going --gn-args=is_use_check_deps=false
31
32If the compilation is successful, export the files in the **out/sdk/packages/ohos-sdk/** directory.
33
34## Replacing the SDK
35
36After the full SDK is compiled, switch to it in DevEco Studio. For details, see [Switching to Full SDK](full-sdk-switch-guide.md).
37