Script for exporting lists of installed packages in various package managers, for quick recovery of packages in approximately similar conditions of use. The installed flatpak, pamac, and grep utilities are recommended, but you can do without them (grep is critical only for Official). The script was tested on Nobara Linux and Manjaro. I have plans to support systems based on Debian and Ubuntu.
Script for exporting installed packages to list in Arch linux for Flatpack, AUR, Official and PIP (Python 3). Example here (from my Telegram channel Fiery Linux (RU), where I talk about my adventures and discoveries in OpenSource and Linux, which I became actively interested in 2023, post with example). To get packages, I use
flatpak
,pamac
andgrep
to exclude unnecessary strings. All tests were performed on Manjaro Linux (example).
- Flatpack
- AUR (Arch Linux/Manjaro)
- Official (Arch Linux/Manjaro)
- PIP (Python 3)
- Cargo (Rust)
- DNF (Fedora/Nobara Linux)
- APT (In developing)
python3 ./main.py
The files with lists of installed packages will be placed in the output directory with the txt
or sh
extensions (depending on your choice).