> ## Content Index
> Fetch the complete content index at: https://www.fileshift.co/llms.txt
> Use this file to discover other available public pages before exploring further.

# Install Ollama AI on Ubuntu Linux LTS 24.04
- URL: https://www.fileshift.co/install-ollama-ai-on-ubuntu-linux-lts-24-04/
- Published: 2026-06-26T12:01:42.000Z
- Updated: 2026-10-30T13:30:38.000Z
- Description: Install apache on Ubuntu in 3 steps
- Author: Stef Wauters
- Tags: ollama, #beehiiv, #Migrated-1793367027874, #Import 2026-10-30 13:30

1. **Update the Ubuntu system**You can do that with the command in the Command line.

```
sudo apt update && sudo apt upgrade -y
```

![Screenshot of an Ubuntu 24.04 desktop showing the Terminal application after running sudo apt update && sudo apt upgrade -y. The output indicates that all packages are up to date, with no packages upgraded, installed, or removed. The terminal prompt returns to student@server:~$, confirming the update process completed successfully.](https://storage.ghost.io/c/b7/e7/b7e7bcf5-fb93-4982-800c-041bd56ad189/content/images/2026/10/screenshot_from_2026-06-19_09-13-33-t-1781853227.png)

1. **Install the Ollama package for Ubuntu Linux**I got it from the official download page.[https://ollama.com/download](https://ollama.com/download?utm%5Fsource=stefwxters.beehiiv.com&utm%5Fmedium=referral&utm%5Fcampaign=install-ollama-ai-on-ubuntu-linux-lts-24-04)

```
curl -fsSL https://ollama.com/install.sh | sh
```

![Screenshot of an Ubuntu terminal showing the successful installation of Ollama using the command curl -fsSL https://ollama.com/install.sh | sh. The output displays download progress, creation of the Ollama user and system service, service startup, and confirmation that the Ollama API is available at 127.0.0.1:11434. A warning at the end indicates that no NVIDIA or AMD GPU was detected, so Ollama will run in CPU-only mode.](https://storage.ghost.io/c/b7/e7/b7e7bcf5-fb93-4982-800c-041bd56ad189/content/images/2026/10/screenshot_from_2026-06-20_14-13-44-t-1781957647.png)

1. **See if nginx runs**You see if the package runs by typing the next command or going to your web browser and search for [http://localhost](http://localhost:11434/?utm%5Fsource=stefwxters.beehiiv.com&utm%5Fmedium=referral&utm%5Fcampaign=install-ollama-ai-on-ubuntu-linux-lts-24-04)[:11434](http://localhost:11434/?utm%5Fsource=stefwxters.beehiiv.com&utm%5Fmedium=referral&utm%5Fcampaign=install-ollama-ai-on-ubuntu-linux-lts-24-04).

```
sudo systemctl status ollama
```

![Screenshot of an Ubuntu terminal displaying the status of the Ollama service using systemctl status ollama. The service is shown as active (running) and enabled at startup. Details include the main process ID, memory usage, CPU time, and the command /usr/local/bin/ollama serve. Recent log entries at the bottom show incoming API requests with HTTP 200 and 404 response codes, confirming that the Ollama server is running and receiving traffic.](https://storage.ghost.io/c/b7/e7/b7e7bcf5-fb93-4982-800c-041bd56ad189/content/images/2026/10/screenshot_from_2026-06-20_14-21-08-t-1781958082.png)

**Active:** means that it is running on the computer.

**Enabled:** means that it automatically startups as the computer boots

![Screenshot of the Firefox web browser on Ubuntu displaying the local Ollama endpoint at http://localhost:11434. The page shows the message “Ollama is running”, confirming that the Ollama service is active and responding to requests on the local machine.](https://storage.ghost.io/c/b7/e7/b7e7bcf5-fb93-4982-800c-041bd56ad189/content/images/2026/10/screenshot_from_2026-06-20_14-17-54-t-1781957885.png)