Skip to content

Installing CodeProject.AI Server on Linux

To install CodeProject.AI as a standalone service ready for integration with applications such as HomeAssist or BlueIris on Linux, download the latest installation package being careful to ensure you choose the x64 (Intel chips) or arm64 (Arm chips such as Raspberry Pi or Orange Pi).

Prerequisites

NVIDIA GPU support

For NVIDIA GPU support, ensure you have the latest NVIDIA CUDA drivers installed.

.NET runtime

Ensure you have the .NET runtime installed by calling

Bash
sudo apt update && sudo apt install dotnet-sdk-9.0

Note

Please review Microsoft's guide to installing .NET on Ubuntu. .NET 9 is still in its early days so installing still has some rough edges.

Once you have .NET installed run the post-install step:

Bash
pushd "/usr/bin/codeproject.ai-server-2.9.1/server" && bash ../setup.sh && popd

Running the installer

Unzip the .deb package, right-click and choose "install", or run

Bash
sudo dpkg -i codeproject.ai-server_2.9.1_Ubuntu_x64.deb
(Assuming you are downloading version 2.9.1)

This will install the server running under systemd. CodeProject.AI Server and the backend analysis services will now be running. The front-end server and the analysis services will automatically restart each time your machine is restarted.

To manually start the service, run the command

Bash
bash /usr/bin/codeproject.ai-server/start.sh

To explore CodeProject.AI Click on the CodeProject.AI Explorer link at the top of the server dashboard.

Accessing the CodeProject.AI Server Dashboard.

Open a browser and navigate to http://localhost:32168 to open the CodeProject.AI Dashboard. This will provide you with details of the server operation.

Play with the Server

We provide a sample application written in HTML and JavaScript that performs various AI operations. Open http://localhost:32168/explorer.html in a browser. There is also a link to this at the top of the Dashboard.

To uninstall CodeProject.AI.

To uninstall CodeProject.AI Server run

Bash
sudo dpkg -r codeproject.ai-server