A simple terminal-based repository manager for openSUSE / SUSE Linux built with Python and the Rich library.
This tool provides an interactive menu to manage Zypper repositories easily from the terminal.
- ➕ Add new repositories
- 📋 List all repositories in a clean table
- ♻️ Refresh repositories
- ❎ Remove repositories
- 🎨 Beautiful terminal UI using Rich
- Python 3
- openSUSE / SUSE Linux
zypper- Python package:
rich
Install Rich:
pip install richRun the script:
python repo_manager.py===== Repo Manager =====
[1] ➕ Add Repo
[2] 📋 List Repo
[3] ♻️ Update (Refresh)
[4] ❎ Remove Repo
[5] 🚪 Exit
Adds a new Zypper repository using:
sudo zypper ar <repo_url> <repo_name>Displays all configured repositories in a formatted Rich table.
Uses:
zypper lrRefreshes repository metadata.
Uses:
sudo zypper refRemoves a repository by alias/name.
Uses:
sudo zypper rr <repo_name>Packman repository:
http://packman.inode.at/suse/openSUSE_Tumbleweed/- Python
- Rich
- subprocess
- Zypper
- Some operations require
sudoprivileges. - This project is designed for educational and personal Linux administration use.
Made with mmlifo using Python and Rich.