Script to create a RPM package and proper download postman for linux.
Use at your own risk.
- rpm dev tools (
sudo dnf install rpmdevtools) - open ssl
- curl
Simply run:
sh make-package.shAn rpm package will appear by the end of the process.
Postman got too big, too heavy, rpm package creation simply fails.
So, this package holds a few cosmetics on it, declares proper postman dependencies and use pre/post RPM scripts
Anyways, Flatpak postman should be enough, but there is a bug at the moment.
- Fedora 39 KDE edition
- Fedora 39 GNOME edition
- If you find youself unable to login (!!!) on postman app, try to disable 3D acceleration in Help > Disable Hardware Acceleration menu.
- By double-clicking the rpm file will open Discover properly and install nicely
but uninstall fails. unsintall with
sudo dnf remove postman - This script is highly fragile to network errors, since it tries to download official linux postman from official mirror, so pray for a good web connection
None i hope, i want either an official app or get the nice Flatpak version working again, but it feels nice to proper install/uninstall things.
- https://www.redhat.com/sysadmin/create-rpm-package
- postmanlabs/postman-app-support#12330
- https://www.baeldung.com/linux/date-command
- https://benjamintoll.com/2023/07/06/on-creating-rpm-packages/
- https://rpm-packaging-guide.github.io/
- https://stackoverflow.com/questions/48337127/can-the-source0-in-a-rpm-spec-be-a-git-repo
- https://www.cyberciti.biz/faq/howto-list-installed-rpm-package/
- https://rpm-software-management.github.io/rpm/manual/spec.html
- https://gist.github.com/hauthorn/d1da427b16133776bd8c65db802bc6ad
- http://ftp.rpm.org/max-rpm/ch-rpm-anywhere.html
- https://docs.fedoraproject.org/en-US/packaging-guidelines/RPMMacros/