# Verum Dezyne 2.19.0 Installer

This package contains everything needed to install Verum Dezyne 2.19.0 on your Linux system.

## What's Included

- `install.sh` - Interactive installer script
- `verum-dezyne-2.19.0-x86_64-linux.tar.gz` - Verum Dezyne application
- `README.txt` - This file

## Quick Installation

### 1. Extract the Package
```bash
tar -xzf verum-dezyne-2.19.0-x86_64-linux-installer.tar.gz
cd verum-dezyne-2.19.0-x86_64-linux-installer
```

### 2. Run the Installer
```bash
chmod +x install.sh
./install.sh
```

### 3. Follow the Prompts
The installer will:
- Ask where you want to install Verum Dezyne
- Automatically detect your system and configure security settings
- Optionally add Verum Dezyne to your PATH
- Create an uninstaller for easy removal

### Dependencies
The installer will automatically handle most dependencies. You may need:
- `sudo` access for system-wide AppArmor profile installation
- Basic system tools (usually pre-installed): `tar`, `chmod`, `bash`

## Installation Options

### Default Installation
```bash
./install.sh
```
- Installs to `~/verum-dezyne-2.19.0`
- Prompts for PATH setup
- Automatically configures security profiles

### Custom Installation Directory
When prompted, specify your preferred location:
```
Installation directory: /opt/verum-dezyne
```
or
```
Installation directory: ~/my-tools/dezyne
```

### Non-Interactive Installation
For automated deployments:
```bash
DEBIAN_FRONTEND=noninteractive ./install.sh
```

## Security Features

### AppArmor Integration
The installer automatically detects if your system uses AppArmor and installs appropriate security profiles on:
- **Ubuntu 23.10+**
- **Debian 12+**
- **Ubuntu derivatives** (Pop!_OS, Linux Mint, etc.)

### What AppArmor Does
- Provides additional security isolation for Verum Dezyne
- Allows the application to run safely in a controlled environment
- Automatically configured - no manual setup required

### Systems Without AppArmor
On systems that don't use AppArmor, the installer skips this step automatically. Verum Dezyne will work normally without additional security profiles.

## Default Installation Locations

| Component | Location |
|-----------|----------|
| **Main Application** | `~/verum-dezyne-2.19.0/` |
| **Command Line Tool** | `~/verum-dezyne-2.19.0/dzn` |
| **IDE** | `~/verum-dezyne-2.19.0/ide` |
| **Uninstaller** | `~/verum-dezyne-2.19.0/uninstall.sh` |
| **AppArmor Profile** | `/etc/apparmor.d/verum-dezyne` (if applicable) |

## After Installation

### Running Verum Dezyne

#### If you added to PATH:
```bash
dzn --help          # Command line interface
ide                 # Graphical IDE
```

#### Using full paths:
```bash
~/verum-dezyne-2.19.0/dzn --help    # Command line interface
~/verum-dezyne-2.19.0/ide           # Graphical IDE
```

### Starting a New Shell
If you added Verum Dezyne to your PATH, start a new terminal or run:
```bash
source ~/.bashrc
```

## Uninstalling

To completely remove Verum Dezyne:
```bash
~/verum-dezyne-2.19.0/uninstall.sh
```

The uninstaller will:
- Remove the installation directory
- Clean up PATH entries from shell config files
- Remove AppArmor profiles (if installed)
- Restore your system to its original state

## Troubleshooting

### Common Issues

#### "Permission denied" when running installer
```bash
chmod +x install.sh
./install.sh
```

#### "Tar file not found" error
Ensure you're running the installer from the extracted directory:
```bash
ls -la
# Should show: install.sh and verum-dezyne-2.19.0-x86_64-linux.tar.gz
```

#### Commands not found after installation
If `dzn` or `ide` commands aren't found:
1. **Check if added to PATH**: Look for "Verum Dezyne" in `~/.bashrc`
2. **Reload shell config**: `source ~/.bashrc` or open a new terminal
3. **Use full paths**: `~/verum-dezyne-2.19.0/dzn` instead of just `dzn`

#### Installation directory already exists
The installer will ask if you want to replace the existing installation:
- Choose "Yes" to upgrade/reinstall
- Choose "No" to cancel and choose a different directory

### Getting Help

If you encounter issues:

1. **Check the installation log** - the installer provides detailed output
2. **Verify system requirements** - ensure you're on a supported Linux distribution
3. **Try a different installation directory** - avoid system directories like `/usr/`
4. **Run with verbose output** - the installer shows detailed progress information
5. **Contact support@verum.com for help

### Manual Installation
If the installer fails, you can extract manually:
```bash
tar -xzf verum-dezyne-2.19.0-x86_64-linux.tar.gz
chmod +x verum-dezyne-*/dzn verum-dezyne-*/ide
```

## Technical Details

### Package Contents
- **Verum Dezyne 2.19.0** - Complete application with all dependencies
- **Guix Runtime** - Self-contained runtime environment
- **Standard Tools** - `dzn` command line tool and graphical IDE

---

**Verum Dezyne Version**: 2.19.0  
**Package Date**: October 2025  
**Supported Architecture**: x86_64-linux

For more information about Verum Dezyne, visit: https://verum.com
