Install and set up
Install on Windows
Ensure that your development machine meets the system requirements. Development and deployment machines must also have the following packages installed:
- Microsoft Visual C++ Redistributable for Visual Studio 2019
- Development and deployment on Windows 8.1, Windows Server 2012, Windows Server 2012 R2 also requires installation of the Windows 10 Universal C Runtime via the following Windows Updates or Update Packages:
- Update for Windows 8.1 for x64-based Systems (KB3118401)
- Update for Windows Server 2012 R2 (KB3118401)
- Update for Windows Server 2012 (KB3118401)
Download the
ArcGIS Runtime Local Server SDK
Windows setup from your ArcGIS Developer dashboard and save the file to a location on your development machine. You will need to sign in to your dashboard or create an ArcGIS Developer account.Double-click the executable (.exe) file in the location where you downloaded Local Server SDK download to extract the installation files.
Click Next to accept the default destination folder where the installation files will be extracted or click Browse to select a different destination folder then click Next.
When the file extraction completes ensure the Launch the setup program check box is checked then click Close to continue the installation process.
Click Next On the Welcome to the ArcGIS Runtime Local Server SDK Setup program window.
Review the license agreement and choose an option:
- If you agree to the terms, select the option to accept the agreement and click Next.
- If you do not agree to the terms, click Cancel to exit the installation.
Click Next to accept the default location of
<
or click Change to specify a different destination folder then click Next.System Drive> \Program Files\ArcGIS SDKs\Local Server< version> \ Click Install.
Click Finish. The Local Server SDK installation is complete.
Install on Linux
Ensure that your development machine meets the system requirements.
Download the
ArcGIS Runtime Local Server SDK
Linux setup from your ArcGIS Developer dashboard and save the file to a location on your development machine. You will need to sign in to your dashboard or create an ArcGIS Developer account.Using an archive manager, extract the
ArcGIS_
gzip file to access the tar installer file. Alternatively use the terminal and extract theRuntime_ Local_ Server_ SDK_100_x_ x.tar.gz .tar.gz
file with the following example commandtar xvzf ArcGIS_
.Runtime_ Local_ Server_ SDK_100_x_ x.tar.gz Navigate to
ArcGIS_
and runRuntime_ Local_ Server_ SDK_ Linux64 ./Setup
or in the GUI double click the Setup program to launch the installer.Click Next on the Introduction dialog of the
ArcGIS Runtime Local Server SDK 100.x Setup
program to continue the installation.Review the license agreement and choose an option:
- If you agree to the terms, select the option to accept the agreement and click Next.
- If you do not agree to the terms, click Cancel to exit the installation.
When prompted to Choose Install Folder dialog, click Next accept the default installation location or click the Choose button to select a different destination folder. Make sure this directory is on your development machine and that you have write permissions to this directory. Ensure no other users are using the directory.
Review the Pre-Installation Summary then click Install. The installer will now unpack and install Local Server and create Menu shortcuts.
Click Done on the Install Complete dialog to finish the Local Server installation.
Install database client software for enterprise geodatabase connections
If the geoprocessing or map packages (.gpkx
or .mpkx
files) used by your application reference enterprise geodatabase connections, then you may need to install client software for the RDBMS (Relational Database Management System) on your development and deployment machines. For more information on supported database types, database versions, and client software required, refer to the ArcGIS Pro documentation topic Supported databases.
If you are using an Enterprise Geodatabase connection which uses ODBC you must modify init_
to uncomment the following line:
The exact path may differ depending on your installation. You may need to install the library unix
(or a later version).
Include a Local Server deployment with your application
On your development machine applications that use Local Server will use the Local Server instance in the installation directory.
When you deploy your application you must create a Local Sever deployment and make the Local Server files available to your application in one of the following ways:
Copy the generated Local Server deployment directory adjacent to your application executable file. By default, the API will search for a Local Server deployment in this location before defaulting to the SDK installation location.
Copy the generated Local Server deployment directory to an alternative location and define the install path for the Local Server using
Local
. Ensure the Local Server folder is deployed to that location as part of the application installation.Server: :instance()->set Install Path("c: /my Local Server Install"->path());