{% extends "base.html" %} {% block title %}Installation{% endblock %} {% block content %}

System Requirements

Prerequisites

Before installing Buckos, ensure you have:

Installing Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env

Building from Source

1. Clone the Repository

git clone https://github.com/hodgesds/buckos.git
cd buckos

2. Build the Project

# Build all components
cargo build --release

# Or build specific components
cargo build --release -p buckos-package
cargo build --release -p buckos-boss

3. Install Binaries

# Install to ~/.cargo/bin (ensure it's in your PATH)
cargo install --path buckos/package
cargo install --path buckos/boss

Package Manager Usage

Basic Commands

# Search for packages
buckos-package search firefox

# Install a package
buckos-package emerge www-client/firefox

# Update system
buckos-package emerge --update --deep @world

# Remove a package
buckos-package unmerge www-client/firefox

USE Flags

Configure package features using USE flags in /etc/buckos/make.conf:

# Global USE flags
USE="X gtk wayland -systemd"

# Package-specific USE flags
# In /etc/buckos/package.use/custom
www-client/firefox wayland screencast

Configuration

Main Configuration Files

File Purpose
/etc/buckos/make.conf Main system configuration (USE flags, CFLAGS, etc.)
/etc/buckos/package.use/ Per-package USE flag settings
/etc/buckos/package.mask/ Masked (blocked) packages
/etc/buckos/package.accept_keywords/ Keyword acceptance for testing packages
/var/db/buckos/ Package database and installed package info

Init System (boss)

Buckos uses the boss daemon as its init system:

Service Management

# Start a service
boss start nginx

# Stop a service
boss stop nginx

# Enable service at boot
boss enable nginx

# Check service status
boss status nginx

Troubleshooting

Common Issues

Getting Help

If you encounter issues:

Next Steps

After installation:

{% endblock %}