https://github.com/mystic-poop/pmfd
A package manager that uses all package managers to find the wanted package for Debian based Operating systems
https://github.com/mystic-poop/pmfd
apt aptitude debian debian-linux gnu gnu-linux linux package package-manager python repository trending trends ubuntu ubuntu-server
Last synced: 2 months ago
JSON representation
A package manager that uses all package managers to find the wanted package for Debian based Operating systems
- Host: GitHub
- URL: https://github.com/mystic-poop/pmfd
- Owner: mystic-poop
- License: mit
- Created: 2025-06-23T12:35:02.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-23T14:26:01.000Z (4 months ago)
- Last Synced: 2025-06-23T14:44:34.920Z (4 months ago)
- Topics: apt, aptitude, debian, debian-linux, gnu, gnu-linux, linux, package, package-manager, python, repository, trending, trends, ubuntu, ubuntu-server
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PMFD - Package Manager For Debian
[](https://github.com/mystic-poop/PMFD/blob/main/LICENSE)
[](https://python.org)
[](https://debian.org)PMFD (Package Manager For Debian) is a universal Python-based package manager that intelligently determines the best installation method for any given package on Debian-based systems. It aggregates multiple package managers into a single unified interface, automatically selecting the optimal installation method.
## Key Features
- 🔍 **Universal Package Discovery** - Automatically finds packages across multiple sources
- ⚡ **Intelligent Installation** - Chooses the best package manager for each package
- 🔄 **Multi-Source Support** - Works with:
- APT (native Debian packages)
- Snap (universal packages)
- Flatpak (sandboxed applications)
- dpkg (direct .deb file installation)
- ✅ **Error Handling** - Comprehensive error detection and reporting
- 📦 **Batch Operations** - Install multiple packages with a single command
- 🛠️ **Root Automation** - Handles privilege escalation automatically## Installation
### Quick Install
```bash
sudo curl -L https://raw.githubusercontent.com/mystic-poop/PMFD/main/pmfd.py -o /usr/local/bin/pmfd
sudo chmod +x /usr/local/bin/pmfd
```
## Manual Installation
1.Clone the repository:
```bash
git clone https://github.com/mystic-poop/PMFD.git
cd PMFD
```
2.Make the script executable:
```bash
chmod +x pmfd.py
```
3.Create a symlink for easy access:
```bash
sudo ln -s $(pwd)/pmfd.py /usr/local/bin/pmfd
```
## Usage
Basic commands
```bash
# Install single package
sudo pmfd install# Install multiple packages
sudo pmfd install ...# Install .deb file
sudo pmfd install /path/to/package.deb# Install popular applications
sudo pmfd install firefox vscode discord# Install from different sources
sudo pmfd install gimp snapd flatpak# Install local .deb file
sudo pmfd install ~/Downloads/custom-package.deb
```
## How It Works
PMFD uses a smart algorithm to determine the best installation method:
1. **APT Check** - Attempts installation via native Debian packages
2. **Snap Fallback** - Tries Snap store if APT package not found
3. **Flatpak Option** - Looks for Flatpak availability as third option
4. **dpkg Handling** - Automatically installs .deb files
5. **Error Reporting** - Provides detailed error messages for missing packages
The tool automatically detects which package managers are available on your system and only uses relevant installation methods.
## Requirements
- Python 3.8+
- Debian-based Linux distribution (Debian, Ubuntu, Mint, etc.)
- sudo privileges for package installation
- Internet connection (for repository packages)