Raspberry Pi Imaging Utility
sudo apt update && sudo apt install rpi-imager.Please see our official documentation.
sudo apt install --no-install-recommends build-essential cmake git libgnutls28-dev
git clone --depth 1 https://github.com/raspberrypi/rpi-imager
sudo ./qt/build-qt.sh
This will build and install the version of Qt preferred for Raspberry Pi Imager into /opt/Qt/. You must use sudo for the installation step to complete.
./create-appimage.sh ./Raspberry_Pi_Imager-*.AppImage
Building Raspberry Pi Imager on Windows is best done with Visual Studio Code (or a derivative).
-DQt6_ROOT=C:\Qt\6.9.0\mingw_64 - or the equivalent path you installed Qt 6.9 to.-DMINGW64_ROOT=C:\Qt\Tools\mingw1310_64 - or the equivalent path you installed mingw64 to.-DENABLE_INNO_INSTALLER=ON - to enable the Inno Setup installer, rather than the legacy NSIS installer.-DIMAGER_SIGNED_APP=ON - to enable code signing for redistribution.MinSizeRel variant if you intend to distribute to others.%WORKSPACE%\build\installer./qt/build-qt-macos.sh
qt/README-qt-build-macos.md for detailed instructionsBuilding Raspberry Pi Imager on macOS is best done with Visual Studio Code (or a derivative).
-DQt6_ROOT=/opt/Qt/6.9.1/macos - or the equivalent path you installed Qt 6.9 to.-DIMAGER_SIGNED_APP=ON - to enable code signing.-DIMAGER_SIGNING_IDENTITY=$cn - to specify the Developer ID Certificate Common Name.-DIMAGER_NOTARIZE_APP=ON - to enable automatic notarization for distribution to others.-DIMAGER_NOTARIZE_KEYCHAIN_PROFILE=notarytool-password - specify the name of the keychain item containing your Apple ID credentials for notarizing.MinSizeRel variant if you intend to distribute to others.$WORKSPACE/build/Raspberry Pi Imager-$VERSION.dmgThe Raspberry Pi Network installer (embedded imager) runs inside an operating system created by pi-gen-micro.
To build the entire system, you must first build our customised embedded qt:
./qt/build-qt-embedded.sh
Then build the embedded AppImage:
./create-embedded.sh
Package the appImage for use with pi-gen-micro and other Debian systems:
dpkg-buildpackage -uc -us --profile=embedded
And finally, import your new embedded imager into pi-gen-micro for packaging:
rm ${pi-gen-micro-root}/packages/rpi-imager-embedded*.deb
cp ../rpi-imager-embedded*.deb ${pi-gen-micro-root}/packages/
pushd ${pi-gen-micro-root}/packages/ && dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz && popd
If the application is started with "--repo [your own URL]" it will use a custom image repository. So can simply create another 'start menu shortcut' to the application with that parameter to use the application with your own images.
In order to understand usage of the application (e.g. uptake of Raspberry Pi Imager versions and which images and operating systems are most popular), Raspberry Pi Imager collects anonymous metrics (telemetry) by default. These metrics are used to prioritise and justify work on the Raspberry Pi Imager, and contain the following information:
If the Raspberry Pi Imager is being run a part of the Network Installer, Imager will also collect the revision of Raspberry Pi it is running on.
This web service is hosted by Heroku and only stores an incrementing counter using a Redis Sorted Set for each URL, operating system name and category per day in the eu-west-1 region and does not associate any personal data with those counts. This allows us to query the number of downloads over time and nothing else.
The last 1,500 requests to the service are logged for one week before expiring as this is the minimum log retention period for Heroku.
As the data is stored in aggregate form, only aggregate data is available to any viewer. See what we see at: rpi-imager-stats
The most convenient way to opt-out of anonymous metric collection is via the Raspberry Pi Imager UI: