The main code of Raspberry Pi Imager Imaging Utility is made available under the terms of the Apache license. See license.txt and files in “dependencies” folder for more information about the various open source licenses that apply to the third-party dependencies used such as Qt, libarchive, drivelist, mountutils and libcurl.
How To Rebuild?
Debian/Ubuntu Linux
Get Dependencies
sudo apt install –no-install-recommends build-essential devscripts debhelper cmake git libarchive-dev libcurl4-openssl-dev \
qtbase5-dev qtbase5-dev-tools qtdeclarative5-dev \
qml-module-qtquick2 qml-module-qtquick-controls2 qml-module-qt-labs-settings qml-module-qtquick-layouts qml-module-qtquick-templates2 qml-module-qtquick-window2 qml-module-qtgraphicaleffects
git clone –depth 1 https://github.com/raspberrypi/rpi-imager
cd rpi-imager
debuild -uc -us
Debuild will compile everything, create a .deb package and put it in the parent directory. Can install it with apt:
cd ..
sudo apt install ./rpi-imager*.deb
It should create an icon in the start menu under “Utilities” or “Accessories”. The imaging utility will normally be run as regular user, and will call udisks2 over DBus to perform privileged operations like opening the disk device for writing. If udisks2 is not functional on your Linux distribution, you can alternatively start it as “root” with sudo and similar tools.
Also Read – Extended XSS Search : A Better Version Of My XSSFinder Tool
Windows
Get Dependencies
Building
Building can be done manually using the command-line, using “cmake”, “make”, etc., but if you are not that familar with setting up a proper Windows build environment (setting paths, etc.), it is easiest to use the Qt creator GUI instead.
Note: the CMake integration in Qt Creator is a bit flaky at times. If you made any custom changes to the CMakeLists.txt file and it subsequently gets in an endless loop where it never finishes the “configures” stage while re-processing the file, delete “build_rpi-imager_someversion” directory and try again.
Mac OS X
Get Dependencies
Building
E.g.:
–>cd build-rpi-imager-Desktop_Qt_5_14_1_clang_64bit-Release/
–>codesign –deep –force –verify –verbose –sign “YOUR KEYID” –options runtime rpi-imager.app
–>mv rpi-imager.app “Raspberry Pi Imager.app”
–>create-dmg Raspberry\ Pi\ Imager.app
–>mv Raspberry\ Pi\ Imager\ .dmg imager.dmg
–>xcrun altool –notarize-app -t osx -f imager.dmg –primary-bundle-id=”org.raspberrypi.imagingutility” -u YOUR-EMAIL-ADDRESS -p YOUR-APP-SPECIFIC-APPLE-PASSWORD -itc_provider TEAM-ID-IF-APPLICABLE
–>xcrun stapler staple imager.dmg
Other Notes
Debugging
On Linux and Mac the application will print debug messages to console by default if started from console. On Windows start the application with the command-line option –debug to let it open a console window.
Custom Repository
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.
Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…
This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…
GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…
Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…
The free and open-source security platform SecHub, provides a central API to test software with…
Don't worry if there are any bugs in the tool, we will try to fix…