Menu
User

DropVPS Team

Writer: Cooper Reagan

How to install samba on Debian 12?

How to install samba on Debian 12?

Publication Date

08/25/2025

Category

Articles

Reading Time

1 Min

Table of Contents

Samba allows Linux systems to share files and printers with Windows and other devices on the network. On Debian 12, installing Samba is straightforward using the default package manager.

Step 1: Update your system

Make sure your package lists are up to date:

sudo apt update && sudo apt upgrade -y

Step 2: Install Samba

Install the Samba server package with:

sudo apt install samba -y

Step 3: Check Samba version

Verify that Samba is installed correctly:

smbd --version

Step 4: Enable and start the Samba service

Ensure Samba starts on boot and is currently running:

sudo systemctl enable smbd
sudo systemctl start smbd
sudo systemctl status smbd

Samba is now installed on Debian 12. You can proceed to configure shared directories and user access when needed.

Windows VPS
U
Loading...

Related Posts