Dependencies
Runtime Dependencies
All runtime dependencies must be installed before running Nicotine+ from source.
Required
- python3 >= 3.9 - Runtime language
- gtk4 >= 4.6.9 or gtk3 >= 3.24.24 - Graphical interface
- pygobject - Python bindings for GTK
Recommended
- libadwaita - Adwaita theme on GNOME (GTK 4)
- gspell - Spell checking in chat (GTK 3)
Build Dependencies
- python3-setuptools - Build backend
- python3-build - Building packages
- python3-wheel - Packaging
- gettext - Generating translations
Testing Dependencies
- pycodestyle - Code style checks
- pylint - Code linting
Installing Dependencies
GNU/Linux
- Debian/Ubuntu
- Fedora/RHEL
- SUSE
- Alpine
1
Install runtime dependencies
2
Install build dependencies
3
Install test dependencies
Windows and macOS
Development Installation
Option 1: Git (Recommended for Development)
Run Nicotine+ directly from a local Git folder without installation:1
Clone the repository
2
Run Nicotine+
3
Update to latest changes
Option 2: pip Installation
Install the latest unstable build using pip:1
Install from Git
2
Run Nicotine+
3
Update to latest
4
Uninstall (if needed)
Building from Source
Create a Source Distribution
1
Navigate to source directory
2
Build source distribution
3
Verify output
The source distribution will be created in the
dist/ directory.Test the Build
To test building the application:Ensure the source distribution (sdist) includes all necessary files to run Nicotine+ before creating a release.
Testing Unstable Builds
For testing the latest unstable builds on various platforms:GNU/Linux
- PPA (Ubuntu/Debian)
- Flatpak
- Snap
Ubuntu and derivatives:Debian and derivatives:
Windows
Unstable installers are built after every commit:- Windows x64 Installer - Windows 10+
- Windows ARM64 Installer - Windows 11+
macOS
Unstable installers are built after every commit:- macOS Intel Installer - macOS 15 Sequoia+
- macOS Apple Silicon Installer - macOS 15 Sequoia+
Next Steps
Now that your development environment is set up:- Learn about the Architecture of Nicotine+
- Review Testing procedures and run the test suite