pyPhotoAlbum/QUICK_INSTALL.md
Duncan Tourolle ca21f3ae4c
All checks were successful
Python CI / test (push) Successful in 1m6s
Lint / lint (push) Successful in 1m10s
Tests / test (3.10) (push) Successful in 53s
Tests / test (3.11) (push) Successful in 52s
Tests / test (3.9) (push) Successful in 50s
more tests and gnoem+fedora installer
2025-11-11 12:51:15 +01:00

91 lines
1.5 KiB
Markdown

# Quick Installation Guide
Choose your preferred installation method:
## 🚀 Easiest: Automated Script
```bash
./install.sh
```
Select option 3 (Everything) when prompted.
---
## 📦 Fedora (RPM Package)
### Create and Install Package
```bash
# Create source tarball
cd ..
tar czf pyphotoalbum-0.1.0.tar.gz pyPhotoAlbum/ --exclude=.git --exclude=venv --exclude=__pycache__
mv pyphotoalbum-0.1.0.tar.gz ~/rpmbuild/SOURCES/
cd pyPhotoAlbum
# Build RPM
rpmbuild -ba pyphotoalbum.spec
# Install
sudo dnf install ~/rpmbuild/RPMS/noarch/pyphotoalbum-0.1.0-1.*.noarch.rpm
```
---
## 📦 Arch/CachyOS (Pacman Package)
### Create and Install Package
```bash
# Create source tarball
cd ..
tar czf pyphotoalbum-0.1.0.tar.gz pyPhotoAlbum/ --exclude=.git --exclude=venv --exclude=__pycache__
mv pyphotoalbum-0.1.0.tar.gz pyPhotoAlbum/
cd pyPhotoAlbum
# Build and install
makepkg -si
```
---
## 🔧 Manual Installation
### Quick Commands
**Fedora:**
```bash
sudo dnf install python3-qt6 python3-pyopengl python3-numpy python3-pillow python3-reportlab python3-lxml
pip install --user .
```
**Arch/CachyOS:**
```bash
sudo pacman -S python-pyqt6 python-pyopengl python-numpy python-pillow python-reportlab python-lxml
pip install --user .
```
---
## ▶️ Running the Application
After installation:
```bash
pyphotoalbum
```
Or find "pyPhotoAlbum" in your application menu.
---
## 🆘 Troubleshooting
**Command not found?**
```bash
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
```
For more details, see [INSTALLATION.md](INSTALLATION.md)