Installation Guide¶
Below you can find installation guides for the supported versions.
Ubuntu Launchpad¶
The samba exporter package for Ubuntu is published on launchpad. To install from there do the following commands on any supported Ubuntu version:
sudo add-apt-repository ppa:imker/samba-exporter-ppa
sudo apt-get update
sudo apt-get install samba-exporter
Debian¶
The samba exporter package for Debian is published on the projects GitHub Page. To install execute the commands shown below as root:
wget -qO - https://imker25.github.io/samba_exporter/repos/debian/archive.key | sudo apt-key add -
echo "deb https://imker25.github.io/samba_exporter/repos/debian bullseye main" > /etc/apt/sources.list.d/samba-exporter.list
apt-get update
apt-get install samba-exporter
Hint: Change bullseye
to bookworm
in case you use Debian 12.
Fedora 35 and later¶
The samba exporter package for Fedora is published on copr. To install from there do the following commands on any supported Fedora version:
sudo dnf copr enable imker25/samba-exporter
sudo dnf update
sudo dnf install samba-exporter
RHEL 8 / CentOS 8 / CentOS Stream 8 / Fedora 28¶
For Redhat Enterprise Linux 8 and all compatible distributions the samba exporter package is published on the projects GitHub Page. To install execute the commands shown below as root:
wget -O /dev/shm/archive.key https://imker25.github.io/samba_exporter/repos/debian/archive.key
rpm --import /dev/shm/archive.key
dnf config-manager --add-repo https://imker25.github.io/samba_exporter/repos/rpm/fedora/releases/28/x86_64
dnf update
dnf install samba-exporter
RHEL 9 / CentOS Stream 9 / Fedora 35¶
For Redhat Enterprise Linux 9 and all compatible distributions the samba exporter package is published on the projects GitHub Page. To install execute the commands shown below as root:
wget -O /dev/shm/archive.key https://imker25.github.io/samba_exporter/repos/debian/archive.key
rpm --import /dev/shm/archive.key
dnf config-manager --add-repo https://imker25.github.io/samba_exporter/repos/rpm/fedora/releases/35/x86_64
dnf update
dnf install samba-exporter
GitHub Releases - For debian based distributions¶
Install the latest Release by downloading the debian package according to your distribution and version and installing it. For example:
wget https://github.com/imker25/samba_exporter/releases/download/1.3.5-pre/samba-exporter_1.3.5-pre.ppa1.debian10_amd64.deb
sudo dpkg --install ./samba-exporter_1.3.5-pre.ppa1.debian10_amd64.deb
Hint: Link and file name needs to be adapted to the latest release.
It's also possible to download and install pre-releases from the GitHub this way.
GitHub Releases - For RPM based distributions¶
Install the latest Release by downloading the rpm package according to your distribution and version and installing it. For example:
wget https://github.com/imker25/samba_exporter/releases/download/1.12.5-pre/samba-exporter-1.12.5-1.fc35.x86_64.rpm
sudo rpm -U samba-exporter-1.12.5-1.fc35.x86_64.rpm
Hint: Link and file name needs to be adapted to the latest release.
It's also possible to download and install pre-releases from the GitHub this way.
For manual installation see the Developer Guide.