Ollama

Modified: 2026-04-27

Ollama is an open-source project that enables users to easily run large language models (LLMs) locally on their machines. It simplifies the process of downloading, installing, and interacting with a wide range of LLMs, empowering users to explore their capabilities without requiring extensive technical expertise or reliance on cloud-based platforms.

🛈 Ollama is a Command-Line (CLI) Tool, but there are front-ends, Graphical User Interface (GUI). See below.


Front-Ends, GUI for Ollama


Free course of Ollama by Matt Williams

  1. Introduction to the Ollama Course
  2. Getting Started on Ollama
  3. Installing Ollama
  4. How to use the Ollama.com site to Find Models
  5. Using the CLI

Install Ollama

Download Ollama from the official website.


Uninstall Ollama On Linux

To uninstall Ollama on Linux, follow these steps:

1. Stop the Ollama service:

sudo systemctl stop ollama

This command halts the Ollama service.

2. Disable the Ollama service to prevent it from starting automatically on boot:

sudo systemctl disable ollama

This ensures that Ollama won’t automatically start up in the future.

3. Remove the Ollama service file from the systemd directory:

sudo rm /etc/systemd/system/ollama.service

This deletes the service file from your system.

4. Remove the Ollama binary from your system. Depending on where it was installed, run one of the following commands:

sudo rm $(which ollama)

This command removes the binary from your bin directory.

5. Delete the directory where Ollama stores its models and any associated user and group accounts:

sudo rm -r /usr/share/ollama
sudo userdel ollama
sudo groupdel ollama

These commands delete any downloaded models and remove the Ollama user and group from your system.

After completing these steps, you can verify that Ollama has been successfully uninstalled by checking for any remaining files or services. You can use the following command to check if the service is still listed:

systemctl list-units --type=service | grep ollama

If no results are returned, the uninstallation was successful.


Links