Menu
User

DropVPS Team

Writer: Cooper Reagan

How to install flutter on Debian 12

How to install flutter on Debian 12

Publication Date

09/24/2025

Category

Articles

Reading Time

2 Min

Table of Contents

Flutter is a powerful framework from Google for building cross-platform applications with a single codebase. Installing it on Debian 12 gives you the environment needed to develop for Android, iOS, web, and desktop.

Step 1: Update System Packages

Update your package lists and upgrade installed software:

sudo apt update && sudo apt upgrade -y

Step 2: Install Dependencies

Flutter requires some additional tools and libraries. Install them with:

sudo apt install curl git unzip xz-utils zip libglu1-mesa -y

Step 3: Download Flutter SDK

Move to /opt and download the latest stable Flutter SDK:

cd /opt
sudo curl -O https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.24.3-stable.tar.xz

Extract the archive:

sudo tar xf flutter_linux_3.24.3-stable.tar.xz

Step 4: Add Flutter to PATH

Make the Flutter binary accessible globally:

echo 'export PATH="/opt/flutter/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

Verify installation:

flutter --version

Step 5: Run Flutter Doctor

Check if all requirements are met:

flutter doctor

This command will show if you need extra components like Android Studio or SDKs. Flutter is now installed on Debian 12. You can start building responsive apps across multiple platforms using a single codebase.

For more Linux installation guides and VPS hosting solutions, visit dropvps.com.

Linux VPS
U
Loading...

Related Posts

How to install flutter on Debian 12