prerequisite knowledge:
electrum not well maintained in package.debian.org, not in Debian buster, not in buster-backports, not even in sid
. Even sid
version is outdated.
Debian -- Package Search Results -- electrum
Therefore considering to ship electrum binary appimage in a yet to be invented Whonix package.
Name of that package binaries-freedom
? (To keep room for other such cases?)
(freedom
: Let's call it Freedom Software rather than Free Software or Open Source!)
(There could be in theory a package later created with name binaries-nonfreedom
containing nonfree binaries but that wouldn’t be ever installed by default and a package in Whonix nonfree repository. No use case for that on the horizon.)
File location, where to place binary software such as electrum appimage?
Options:
-
/usr/bin/electrum
- would require config-package-dev displace, thereby “stealing” it from perhaps future electrum Debian package upgrades;
- otherwise would clash when user installs a deb package that installs electrum
- perhaps the package that ships electrum appimage should have its
debian/control
file declareConflicts: electrum
?
-
/usr/local/bin/electrum
- likely will not work in Qubes due to Dev/Qubes - Whonix
-
~/bin/electrum
- not directly due to Dev/About Debian Packaging - Kicksecure but perhaps copying it there
-
/etc/skel/bin/electrum
- package upgrades would not result in upgraded version in ~/bin/electrum
-
/usr/games
- weird name, could be historic cruft having this by default in
PATH
environment variable, might get deprecated
- weird name, could be historic cruft having this by default in
Basically asking, what is the most correct way to do something incorrect (breaking Debian policy of having source packages [in main] that include binaries).
install electrum bitcoin thin client by default?
https://phabricator.whonix.org/T215
current user documentation: