<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Artificial intelligence (AI) Archives - MASSIVE News</title>
	<atom:link href="https://massive.news/tag/artificial-intelligence-ai/feed/" rel="self" type="application/rss+xml" />
	<link>https://massive.news/tag/artificial-intelligence-ai/</link>
	<description>Progressive Mix of World News and Propaganda</description>
	<lastBuildDate>Tue, 04 Mar 2025 21:16:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://massive.news/wp-content/uploads/2024/08/m-150x150.jpg</url>
	<title>Artificial intelligence (AI) Archives - MASSIVE News</title>
	<link>https://massive.news/tag/artificial-intelligence-ai/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Running Whisper AI for Real-Time Speech-to-Text on Linux</title>
		<link>https://massive.news/running-whisper-ai-for-real-time-speech-to-text-on-linux/</link>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 04 Mar 2025 07:51:48 +0000</pubDate>
				<category><![CDATA[World News]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[AMD]]></category>
		<category><![CDATA[Artificial intelligence (AI)]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[openai]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Space]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<guid isPermaLink="false">https://massive.news/running-whisper-ai-for-real-time-speech-to-text-on-linux/</guid>

					<description><![CDATA[<p>Whisper AI is an advanced automatic speech recognition (ASR) model developed by OpenAI that can transcribe...</p>
<p>The post <a href="https://massive.news/running-whisper-ai-for-real-time-speech-to-text-on-linux/">Running Whisper AI for Real-Time Speech-to-Text on Linux</a> appeared first on <a href="https://massive.news">MASSIVE News</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Whisper AI</strong> is an advanced automatic speech recognition (<strong>ASR</strong>) model developed by <strong>OpenAI</strong> that can transcribe audio into text with impressive accuracy and supports multiple languages. While Whisper AI is primarily designed for batch processing, it can be configured for real-time speech-to-text transcription on Linux.</p>
<p>In this guide, we will go through the step-by-step process of installing, configuring, and running <strong>Whisper AI</strong> for live transcription on a Linux system.</p>
<h2>What is Whisper AI?</h2>
<p>Whisper AI is an open-source speech recognition model trained on a vast dataset of audio recordings and it is based on a deep-learning architecture that enables it to:</p>
<ul>
<li>Transcribe speech in multiple languages.</li>
<li>Handle accents and background noise efficiently.</li>
<li>Perform translation of spoken language into English.</li>
</ul>
<p>Since it is designed for high-accuracy transcription, it is widely used in:</p>
<ul>
<li>Live transcription services (e.g., for accessibility).</li>
<li>Voice assistants and automation.</li>
<li>Transcribing recorded audio files.</li>
</ul>
<p>By default, <strong>Whisper AI</strong> is not optimized for real-time processing. However, with some additional tools, it can process live audio streams for immediate transcription.</p>
<h2>Whisper AI System Requirements</h2>
<p><center></p>
<div align="center" id="tecmint_incontent"></div>
<p></center></p>
<p>Before running <strong>Whisper AI</strong> on <strong>Linux</strong>, ensure your system meets the following requirements:</p>
<h4>Hardware Requirements:</h4>
<ul>
<li><strong>CPU</strong>: A multi-core processor (Intel/AMD).</li>
<li><strong>RAM</strong>: At least 8GB (16GB or more is recommended).</li>
<li><strong>GPU</strong>: NVIDIA GPU with CUDA (optional but speeds up processing significantly).</li>
<li><strong>Storage</strong>: Minimum 10GB of free disk space for models and dependencies.</li>
</ul>
<h4>Software Requirements:</h4>
<ul>
<li>A Linux distribution such as <strong>Ubuntu</strong>, <strong>Debian</strong>, <strong>Arch</strong>, <strong>Fedora</strong>, etc.</li>
<li><strong>Python</strong> version 3.8 or later.</li>
<li>Pip package manager for installing Python packages.</li>
<li>FFmpeg for handling audio files and streams.</li>
</ul>
<h2>Step 1: Installing Required Dependencies</h2>
<p>Before installing Whisper AI, update your package list and upgrade existing packages.</p>
<pre>sudo apt update     [On <strong>Ubuntu</strong>]
sudo dnf update -y  [On <strong>Fedora</strong>]
sudo pacman -Syu    [On <strong>Arch</strong>]
</pre>
<p>Next, you need to install <strong>Python 3.8</strong> or higher and <strong>Pip</strong> package manager as shown.</p>
<pre>sudo apt install python3 python3-pip python3-venv -y             [On <strong>Ubuntu</strong>]
sudo dnf install python3 python3-pip python3-virtualenv -y       [On <strong>Fedora</strong>]
sudo pacman -S python python-pip python-virtualenv               [On <strong>Arch</strong>] 
</pre>
<p>Lastly, you need to install <strong>FFmpeg</strong>, which is a multimedia framework used to process audio and video files.</p>
<pre>sudo apt install ffmpeg     [On <strong>Ubuntu</strong>]
sudo dnf install ffmpeg     [On <strong>Fedora</strong>]
sudo pacman -S ffmpeg       [On <strong>Arch</strong>]
</pre>
<h2>Step 2: Install Whisper AI in Linux</h2>
<p>Once the required dependencies are installed, you can proceed to install <strong>Whisper AI</strong> in a virtual environment that allows you to install Python packages without affecting system packages.</p>
<pre>python3 -m venv whisper_env
source whisper_env/bin/activate
pip install openai-whisper
</pre>
<figure id="attachment_59855" aria-describedby="caption-attachment-59855" class="wp-caption aligncenter"><img fetchpriority="high" decoding="async" class="size-full wp-image-59855" src="https://massive.news/wp-content/uploads/2025/03/running-whisper-ai-for-real-time-speech-to-text-on-linux.png" alt="Install Whisper AI on Linux" width="807" height="397"><figcaption id="caption-attachment-59855" class="wp-caption-text">Install Whisper AI on Linux</figcaption></figure>
<p>Once the installation is complete, check if <strong>Whisper AI</strong> was installed correctly by running.</p>
<pre>whisper --help
</pre>
<p>This should display a help menu with available commands and options, which means <strong>Whisper AI</strong> is installed and ready to use.</p>
<figure id="attachment_59856" aria-describedby="caption-attachment-59856" class="wp-caption aligncenter"><img decoding="async" class="size-full wp-image-59856" src="https://massive.news/wp-content/uploads/2025/03/running-whisper-ai-for-real-time-speech-to-text-on-linux-1.png" alt="Check Whisper AI on Linux" width="909" height="368"><figcaption id="caption-attachment-59856" class="wp-caption-text">Check Whisper AI on Linux</figcaption></figure>
<h2>Step 3: Running Whisper AI in Linux</h2>
<p>Once Whisper AI is installed, you can start transcribing audio files using different commands.</p>
<h3>Transcribing an Audio File</h3>
<p>To transcribe an audio file (audio.mp3), run:</p>
<pre>whisper audio.mp3
</pre>
<p>Whisper will process the file and generate a transcript in text format.</p>
<figure id="attachment_59857" aria-describedby="caption-attachment-59857" class="wp-caption aligncenter"><img decoding="async" class="size-full wp-image-59857" src="https://massive.news/wp-content/uploads/2025/03/running-whisper-ai-for-real-time-speech-to-text-on-linux-2.png" alt="Transcribing an Audio File" width="805" height="388"><figcaption id="caption-attachment-59857" class="wp-caption-text">Transcribing an Audio File</figcaption></figure>
<p>Now that everything is installed, let’s create a Python script to capture audio from your microphone and transcribe it in real time.</p>
<pre>nano real_time_transcription.py
</pre>
<p>Copy and paste the following code into the file.</p>
<pre>import sounddevice as sd
import numpy as np
import whisper
import queue
import threading

# Load the Whisper model
model = whisper.load_model("base")

# Audio parameters
SAMPLE_RATE = 16000
BUFFER_SIZE = 1024
audio_queue = queue.Queue()

def audio_callback(indata, frames, time, status):
    """Callback function to capture audio data."""
    if status:
        print(status)
    audio_queue.put(indata.copy())

def transcribe_audio():
    """Thread to transcribe audio in real time."""
    while True:
        audio_data = audio_queue.get()
        audio_data = np.concatenate(list(audio_queue.queue))  # Combine buffered audio
        audio_queue.queue.clear()

        # Transcribe the audio
        result = model.transcribe(audio_data.flatten(), language="en")
        print(f"Transcription: {result['text']}")

# Start the transcription thread
transcription_thread = threading.Thread(target=transcribe_audio, daemon=True)
transcription_thread.start()

# Start capturing audio from the microphone
with sd.InputStream(callback=audio_callback, channels=1, samplerate=SAMPLE_RATE, blocksize=BUFFER_SIZE):
    print("Listening... Press Ctrl+C to stop.")
    try:
        while True:
            pass
    except KeyboardInterrupt:
        print("nStopping...")
</pre>
<p>Execute the script using Python, which will start listening to your microphone input and display the transcribed text in real time. Speak clearly into your microphone, and you should see the results printed on the terminal.</p>
<pre>python3 real_time_transcription.py
</pre>
<h5>Conclusion</h5>
<p><strong>Whisper AI</strong> is a powerful speech-to-text tool that can be adapted for real-time transcription on Linux. For best results, use a GPU and optimize your system for real-time processing.</p>
<p>The post <a href="https://massive.news/running-whisper-ai-for-real-time-speech-to-text-on-linux/">Running Whisper AI for Real-Time Speech-to-Text on Linux</a> appeared first on <a href="https://massive.news">MASSIVE News</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Best Linux Tools for AI Development in 2025</title>
		<link>https://massive.news/best-linux-tools-for-ai-development-in-2025/</link>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 03 Feb 2025 09:25:06 +0000</pubDate>
				<category><![CDATA[World News]]></category>
		<category><![CDATA[2024]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[AI Tools]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[Artificial intelligence (AI)]]></category>
		<category><![CDATA[cases]]></category>
		<category><![CDATA[deepseek]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Intelligence]]></category>
		<category><![CDATA[Kubernetes]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[machine learning]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[Science]]></category>
		<guid isPermaLink="false">https://massive.news/best-linux-tools-for-ai-development-in-2025/</guid>

					<description><![CDATA[<p>Artificial Intelligence (AI) is rapidly transforming industries, from healthcare and finance to creative fields like art...</p>
<p>The post <a href="https://massive.news/best-linux-tools-for-ai-development-in-2025/">Best Linux Tools for AI Development in 2025</a> appeared first on <a href="https://massive.news">MASSIVE News</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img decoding="async" src="https://massive.news/wp-content/uploads/2025/02/best-linux-tools-for-ai-development-in-2025.webp" class="ff-og-image-inserted"></div>
<p><strong>Artificial Intelligence</strong> (<strong>AI</strong>) is rapidly transforming industries, from healthcare and finance to creative fields like art and music. Linux, with its open-source nature, customizability, and performance, has become a leading platform for AI development.</p>
<p>This article explores essential Linux tools for AI development, catering to both beginners and experienced developers.</p>
<h2>Why Linux for AI Development?</h2>
<p>Linux’s popularity in AI stems from several key advantages:</p>
<ul>
<li><strong>Open-Source Nature</strong>: Allows for modification and customization, crucial for the iterative nature of AI development.</li>
<li><strong>Stability and Performance</strong>: Handles demanding workloads and complex model training efficiently.</li>
<li><strong>Strong Community Support</strong>: A vast and active community provides ample resources and troubleshooting assistance.</li>
<li><strong>Compatibility with AI Frameworks</strong>: Optimized for major frameworks like <strong>TensorFlow</strong> and <strong>PyTorch</strong>.</li>
<li><strong>Command-Line Interface</strong>: Offers powerful and efficient control over system resources.</li>
</ul>
<h2>Essential Linux Tools for AI Development</h2>
<p>To make it easier to navigate, we’ve grouped the tools into categories based on their primary use cases.</p>
<h3>1. Deep Learning Frameworks</h3>
<p>These frameworks are the backbone of AI development, enabling you to build, train, and deploy machine learning models.</p>
<h4>TensorFlow</h4>
<p><center></p>
<div align="center" id="tecmint_incontent"></div>
<p></center></p>
<p>Developed by <strong>Google</strong>, TensorFlow is a powerful framework for building and training machine learning models, particularly deep learning. Its versatility makes it suitable for research and production deployments.</p>
<p><strong>Keras</strong>, a high-level API, simplifies model building, while <strong>TensorFlow Extended</strong> (<strong>TFX</strong>) supports production-level deployments.</p>
<p>To install <strong>TensorFlow</strong> on Linux, use pip package manager.</p>
<pre>pip install tensorflow
</pre>
<h4>PyTorch</h4>
<p>Developed by Facebook’s AI Research lab (<strong>FAIR</strong>), PyTorch is favored by researchers for its dynamic computation graphs, which offer flexibility in model experimentation and debugging. <strong>TorchScript</strong> enables model optimization for production.</p>
<p>To install <strong>PyTorch</strong> on Linux, run:</p>
<pre>pip install torch
</pre>
<h3>2. Data Science and Machine Learning</h3>
<p>These tools are essential for data preprocessing, analysis, and traditional machine learning tasks.</p>
<h4>Scikit-learn</h4>
<p>Scikit-learn is a comprehensive library for various machine learning algorithms, including classification, regression, clustering, and dimensionality reduction. It’s an excellent tool for both beginners and experienced practitioners.</p>
<p>To install <strong>Scikit-learn</strong> on Linux, run:</p>
<pre>pip install scikit-learn
</pre>
<h4>XGBoost/LightGBM/CatBoost</h4>
<p>These gradient boosting libraries are known for their performance and accuracy, which are widely used in machine learning competitions and real-world applications.</p>
<p>To install <strong>XGBoost/LightGBM/CatBoost</strong> on Linux, run:</p>
<pre>pip install xgboost lightgbm catboost
</pre>
<h3>3. Development Environment and Workflow</h3>
<p>These tools help you write, test, and debug your code efficiently.</p>
<h4>Jupyter Notebooks/Lab</h4>
<p>Jupyter provides an interactive environment for coding, data visualization, and documentation, making it ideal for exploring data and prototyping models.</p>
<p>To install <strong>Jupyter</strong> on Linux, run:</p>
<pre>pip install jupyterlab  
or 
pip install notebook
</pre>
<h4>Integrated Development Environments (IDEs)</h4>
<p>Popular IDEs like <strong>VS Code</strong> (with Python extensions) or <strong>PyCharm</strong> offer features like code completion, debugging, and version control integration.</p>
<p>These are excellent IDEs for managing large AI projects.</p>
<h3>4. Containerization and Deployment</h3>
<p>These tools help you package and deploy AI applications efficiently.</p>
<h4>Docker</h4>
<p>Docker simplifies packaging AI applications and their dependencies into containers, ensuring consistent execution across different environments, which is essential for portability and deployment.</p>
<p>To install <strong>Docker</strong> on Linux, run:</p>
<pre>sudo apt install docker.io
</pre>
<h4>Kubernetes</h4>
<p>Kubernetes is a powerful container orchestration platform for managing and scaling containerized AI applications, which is crucial for deploying models in production at scale.</p>
<p>To install <strong>Kubernetes</strong> on Linux, run:</p>
<pre>curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
</pre>
<h4>Kubeflow</h4>
<p>Kubeflow streamlines machine learning workflows on <strong>Kubernetes</strong>, from data preprocessing to model training and deployment.</p>
<p>To install <strong>Kubeflow</strong> on Linux, run:</p>
<pre>kubectl apply -k "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=&lt;version&gt;"
</pre>
<h3>5. Data Processing and Big Data</h3>
<p>These tools are essential for handling large datasets and distributed computing.</p>
<h4>Apache Spark</h4>
<p>Apache Spark is a powerful distributed computing framework that’s widely used for big data processing and machine learning in AI development. Its MLlib library provides scalable algorithms.</p>
<p>To install <strong>Spark</strong> on Linux, run:</p>
<pre>wget https://downloads.apache.org/spark/spark-3.5.4/spark-3.5.4-bin-hadoop3.tgz
tar -xvf spark-3.5.4-bin-hadoop3.tgz
sudo mv spark-3.5.4-bin-hadoop3 /opt/spark
echo -e "export SPARK_HOME=/opt/sparknexport PATH=$PATH:$SPARK_HOME/bin" &gt;&gt; ~/.bashrc &amp;&amp; source ~/.bashrc
spark-shell
pip install pyspark
</pre>
<h3>6. Computer Vision</h3>
<p>These tools are essential for AI projects involving image and video processing.</p>
<h4>OpenCV</h4>
<p>OpenCV (Open Source Computer Vision Library) is a must-have tool for AI developers working on computer vision projects, as it offers a wide range of functions for image and video processing, making it easier to build applications like facial recognition, object detection, and more.</p>
<p>To install <strong>OpenCV</strong> on Linux, run:</p>
<pre>pip install opencv-python
</pre>
<h3>7. Other Important Tools</h3>
<p>These tools enhance productivity and streamline the AI development lifecycle.</p>
<h4>Anaconda/Miniconda</h4>
<p>Anaconda (or its lighter version, <strong>Miniconda</strong>) simplifies Python and R package management, especially for data science and AI. It provides a convenient way to manage dependencies and create isolated environments.</p>
<p>To install <strong>Anaconda</strong> on Linux, run:</p>
<pre>wget https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh
bash Anaconda3-2024.10-1-Linux-x86_64.sh
</pre>
<h4>Hugging Face Transformers</h4>
<p>Hugging Face has revolutionized natural language processing (NLP) with its Transformers library that provides access to pre-trained transformer models for NLP tasks, simplifying tasks like text generation, translation, and sentiment analysis.</p>
<p>To install <strong>Hugging Face Transformers</strong> on Linux, run:</p>
<pre>pip install transformers
</pre>
<h4>MLflow</h4>
<p>MLflow is an open-source platform for managing the machine learning lifecycle, including experiment tracking, model packaging, and deployment.</p>
<p>To install <strong>MLflow</strong> on Linux, run:</p>
<pre>pip install transformers
</pre>
<p>If you’re interested in diving deeper into AI development on Linux, check out these related articles:</p>
<ul>
<li>AI for Linux Users – Discover how Linux users can leverage AI tools and frameworks to enhance productivity and solve real-world problems.</li>
<li>Setting Up Linux for AI Development – A step-by-step guide to configuring your Linux environment for AI development, including essential tools and libraries.</li>
<li>Run DeepSeek Locally on Linux – Learn how to set up and run DeepSeek, a powerful AI tool, on your Linux machine for local development and experimentation.</li>
</ul>
<p>These articles will help you get the most out of your Linux system for AI development, whether you’re a beginner or an experienced developer.</p>
<h5>Conclusion</h5>
<p>The AI landscape is constantly evolving, and Linux provides a robust and versatile platform for developers. By mastering these essential tools, developers can effectively build, train, and deploy AI models, staying at the forefront of this exciting field.</p>
<p>Remember to consult the official documentation for each tool for the most up-to-date information and installation instructions.</p>
<p>The post <a href="https://massive.news/best-linux-tools-for-ai-development-in-2025/">Best Linux Tools for AI Development in 2025</a> appeared first on <a href="https://massive.news">MASSIVE News</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Install DeepSeek Locally with Ollama LLM in Ubuntu 24.04</title>
		<link>https://massive.news/how-to-install-deepseek-locally-with-ollama-llm-in-ubuntu-24-04/</link>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 29 Jan 2025 09:17:36 +0000</pubDate>
				<category><![CDATA[World News]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Artificial intelligence (AI)]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[cloud services]]></category>
		<category><![CDATA[deepseek]]></category>
		<category><![CDATA[large language models]]></category>
		<category><![CDATA[LLM]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<guid isPermaLink="false">https://massive.news/how-to-install-deepseek-locally-with-ollama-llm-in-ubuntu-24-04/</guid>

					<description><![CDATA[<p>Running large language models like DeepSeek locally on your machine is a powerful way to explore...</p>
<p>The post <a href="https://massive.news/how-to-install-deepseek-locally-with-ollama-llm-in-ubuntu-24-04/">How to Install DeepSeek Locally with Ollama LLM in Ubuntu 24.04</a> appeared first on <a href="https://massive.news">MASSIVE News</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Running large language models like <strong>DeepSeek</strong> locally on your machine is a powerful way to explore AI capabilities without relying on cloud services.</p>
<p>In this guide, we’ll walk you through installing <strong>DeepSeek</strong> using <strong>Ollama</strong> on <strong>Ubuntu 24.04</strong> and setting up a Web UI for an interactive and user-friendly experience.</p>
<h2>What is DeepSeek and Ollama?</h2>
<ul>
<li><strong>DeepSeek</strong>: An advanced AI model designed for natural language processing tasks like answering questions, generating text, and more. .</li>
<li><strong>Ollama</strong>: A platform that simplifies running large language models locally by providing tools to manage and interact with models like <strong>DeepSeek</strong>.</li>
<li><strong>Web UI</strong>: A graphical interface that allows you to interact with <strong>DeepSeek</strong> through your browser, making it more accessible and user-friendly.</li>
</ul>
<h4>Prerequisites</h4>
<p>Before we begin, make sure you have the following:</p>
<ul>
<li>Ubuntu 24.04 installed on your machine.</li>
<li>A stable internet connection.</li>
<li>At least 8GB of RAM (16GB or more is recommended for smoother performance).</li>
<li>Basic familiarity with the terminal.</li>
</ul>
<h2>Step 1: Install Python and Git</h2>
<p>Before installing anything, it’s a good idea to update your system to ensure all existing packages are up to date.</p>
<pre>sudo apt update &amp;&amp; sudo apt upgrade -y
</pre>
<p><strong>Ubuntu</strong> likely comes with <strong>Python</strong> pre-installed, but it’s important to ensure you have the correct version (Python 3.8 or higher).</p>
<pre>sudo apt install python3
python3 --version
</pre>
<p><center></p>
<div align="center" id="tecmint_incontent"></div>
<p></center></p>
<p>pip is the package manager for <strong>Python</strong>, and it’s required to install dependencies for <strong>DeepSeek</strong> and <strong>Ollama</strong>.</p>
<pre>sudo apt install python3-pip
pip3 --version
</pre>
<p>Git is essential for cloning repositories from <strong>GitHub</strong>.</p>
<pre>sudo apt install git
git --version
</pre>
<h2>Step 2: Install Ollama for DeepSeek</h2>
<p>Now that <strong>Python</strong> and <strong>Git</strong> are installed, you’re ready to install <strong>Ollama</strong> to manage <strong>DeepSeek</strong>.</p>
<pre>curl -fsSL https://ollama.com/install.sh | sh
ollama --version
</pre>
<p>Next, start and enable <strong>Ollama</strong> to start automatically when your system boots.</p>
<pre>sudo systemctl start ollama
sudo systemctl enable ollama
</pre>
<p>Now that <strong>Ollama</strong> is installed, we can proceed with installing <strong>DeepSeek</strong>.</p>
<h2>Step 3: Download and Run DeepSeek Model</h2>
<p>Now that <strong>Ollama</strong> is installed, you can download the <strong>DeepSeek</strong> model.</p>
<pre>ollama run deepseek-r1:7b
</pre>
<p>This may take a few minutes depending on your internet speed, as the model is several gigabytes in size.</p>
<figure id="attachment_59495" aria-describedby="caption-attachment-59495" class="wp-caption aligncenter"><img fetchpriority="high" decoding="async" class="size-full wp-image-59495" src="https://massive.news/wp-content/uploads/2025/01/how-to-install-deepseek-locally-with-ollama-llm-in-ubuntu-24-04.png" alt="Install DeepSeek Model Locally" width="616" height="220"><figcaption id="caption-attachment-59495" class="wp-caption-text">Install DeepSeek Model Locally</figcaption></figure>
<p>Once the download is complete, you can verify that the model is available by running:</p>
<pre>ollama list
</pre>
<p>You should see deepseek listed as one of the available models.</p>
<figure id="attachment_59496" aria-describedby="caption-attachment-59496" class="wp-caption aligncenter"><img decoding="async" class="size-full wp-image-59496" src="https://massive.news/wp-content/uploads/2025/01/how-to-install-deepseek-locally-with-ollama-llm-in-ubuntu-24-04-1.png" alt="List DeepSeek Model Locally" width="583" height="86"><figcaption id="caption-attachment-59496" class="wp-caption-text">List DeepSeek Model Locally</figcaption></figure>
<h2>Step 4: Run DeepSeek in a Web UI</h2>
<p>While <strong>Ollama</strong> allows you to interact with <strong>DeepSeek</strong> via the command line, you might prefer a more user-friendly web interface. For this, we’ll use <strong>Ollama Web UI</strong>, a simple web-based interface for interacting with Ollama models.</p>
<p>First, create a virtual environment that isolates your Python dependencies from the system-wide Python installation.</p>
<pre>sudo apt install python3-venv
python3 -m venv ~/open-webui-venv
source ~/open-webui-venv/bin/activate
</pre>
<p>Now that your virtual environment is active, you can install <strong>Open WebUI</strong> using <code>pip</code>.</p>
<pre>pip install open-webui
</pre>
<p>Once installed, start the server using.</p>
<pre>open-webui serve
</pre>
<p>Open your web browser and navigate to <code>http://localhost:8080</code> – you should see the Ollama Web UI interface.</p>
<figure id="attachment_59500" aria-describedby="caption-attachment-59500" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-59500" src="https://massive.news/wp-content/uploads/2025/01/how-to-install-deepseek-locally-with-ollama-llm-in-ubuntu-24-04-2.png" alt="Open WebUI Admin Account" width="774" height="539"><figcaption id="caption-attachment-59500" class="wp-caption-text">Open WebUI Admin Account</figcaption></figure>
<p>In the Web UI, select the deepseek model from the dropdown menu and start interacting with it. You can ask questions, generate text, or perform other tasks supported by DeepSeek.</p>
<figure id="attachment_59501" aria-describedby="caption-attachment-59501" class="wp-caption aligncenter"><img loading="lazy" decoding="async" class="size-full wp-image-59501" src="https://massive.news/wp-content/uploads/2025/01/how-to-install-deepseek-locally-with-ollama-llm-in-ubuntu-24-04-3.png" alt="Running DeepSeek on Ubuntu" width="921" height="595"><figcaption id="caption-attachment-59501" class="wp-caption-text">Running DeepSeek on Ubuntu</figcaption></figure>
<p>You should now see a chat interface where you can interact with <strong>DeepSeek</strong> just like <strong>ChatGPT</strong>.</p>
<h5>Conclusion</h5>
<p>You’ve successfully installed <strong>Ollama</strong> and <strong>DeepSeek</strong> on <strong>Ubuntu 24.04</strong>. You can now run <strong>DeepSeek</strong> in the terminal or use a Web UI for a better experience.</p>
<p>The post <a href="https://massive.news/how-to-install-deepseek-locally-with-ollama-llm-in-ubuntu-24-04/">How to Install DeepSeek Locally with Ollama LLM in Ubuntu 24.04</a> appeared first on <a href="https://massive.news">MASSIVE News</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
