Skip to content

Conversation

@lexming
Copy link
Collaborator

@lexming lexming commented Feb 10, 2026

Carries out a native installation of EESSI in localhost following the instructions in
https://www.eessi.io/docs/getting_access/native_installation/:

  • installs CernVM-FS system-wide
  • installs EESSI configuration
  • makes client configuration
  • runs setup

Supported Linux distros:

  • RHEL-based
  • Debina-based
Screencast_20260210_014947.webm

Note: root permissions are required for system-wide installations. Only those commands that need root are executed with sudo. User will only be prompted once for the password.

Coded with the assistance of a local AI model (devstral-small-2)

@boegel
Copy link
Contributor

boegel commented Feb 10, 2026

Tried this on Ubuntu 24.04 (LTS) with commit 5f11ec3, works fine with a small "issue" (see which command being run):

Details
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.3 LTS (Noble Numbat)"

$ eessi --version
eessi version 0.2.0

(venv) kehoste@lima-ubuntu2404-test:~/eessi-cli$ eessi install

🚀 Launching native EESSI installation...

EESSI requires the following components:
├── CernVM File System
├── configuration files of EESSI for CernVM-FS
├── client configuration files for CernVM-FS
└── EESSI repositories

🚨 The requested installation steps require executing commands as root
🔑 Enter your user password in this system::

🧩 Step 1 of 4: CernVM-FS

CernVM-FS not found. Do you want to install CernVM-FS in this system? [y/n]:
Please enter Y or N
CernVM-FS not found. Do you want to install CernVM-FS in this system? [y/n]: Y
🚨 The requested installation steps require executing commands as root
🔑 Enter your user password in this system::

📦 Installing CernVM-FS packages...
💥 Command failed: which yum || which dnf; Output: ; Error:
✅ Detected Debian-based distribution
✅ Downloaded https://cvmrepo.s3.cern.ch/cvmrepo/apt/cvmfs-release-latest_all.deb
✅ dpkg -i cvmfs-release-latest_all.deb
✅ apt update
✅ apt install -y cvmfs
🎉 CernVM-FS installed successfully

🧩 Step 2 of 4: EESSI configuration for CernVM-FS

EESSI configuration not found. Do you want to install it in this system? [y/n]: Y
🚨 The requested installation steps require executing commands as root
🔑 Enter your user password in this system::

📦 Installing EESSI configuration for CernVM-FS...
💥 Command failed: which yum || which dnf; Output: ; Error:
✅ Detected Debian-based distribution
✅ Downloaded https://github.com/EESSI/filesystem-layer/releases/download/latest/cvmfs-config-eessi_latest_all.deb
✅ dpkg -i cvmfs-config-eessi_latest_all.deb
🎉 EESSI configuration for CernVM-FS installed successfully

🧩 Step 3 of 4: client configuration for CernVM-FS

CernVM-FS client configuration not found. Do you want to install it in this system? [y/n]: Y
🚨 The requested installation steps require executing commands as root
🔑 Enter your user password in this system::
📦 Creating client configuration file...
✅ Configuration parameters added to temporary file
✅ cp /tmp/tmpxhejuqdg /etc/cvmfs/default.local
🎉 Client configuration file created at /etc/cvmfs/default.local

🧩 Step 4 of 4: EESSI repositories

📦 Running cvmfs_config setup to configure EESSI repositories...
✅ cvmfs_config setup
✅ EESSI repositories configured successfully

🏁 Native EESSI installation completed successfully!

You can now use EESSI by running 'eessi init' or 'eessi shell'

(venv) kehoste@lima-ubuntu2404-test:~/eessi-cli$ eessi check
📦 Checking for EESSI repositories...
    ✅ OK /cvmfs/dev.eessi.io is available
    ✅ OK /cvmfs/riscv.eessi.io is available
    ✅ OK /cvmfs/software.eessi.io is available

🔎 Inspecting EESSI repository software.eessi.io...
    ✅ OK /cvmfs/software.eessi.io is available
    ℹ Revision (client): 14330
    💻 Client cache:
        ℹ Path to client cache directory: /var/lib/cvmfs/shared
        ℹ Shared cache: yes
        ℹ Client cache quota limit: 9.765625 GiB
        ℹ Cache Usage:  285k / 10240000k
        ✅ OK Number of cache cleanups in last 24h: 0
    🌍 Server/proxy settings:
        ℹ List of Stratum-1 mirror servers:
            http://aws-eu-central-s1.eessi.science/cvmfs/software.eessi.io
            http://azure-us-east-s1.eessi.science/cvmfs/software.eessi.io
        ℹ Proxy servers:
            auto
            DIRECT
        ℹ GeoAPI enabled: yes
    💁 Other:
        ℹ Client profile: single

@lexming
Copy link
Collaborator Author

lexming commented Feb 10, 2026

Great, I fixed that and made some other improvements:

  • add option --client-profile to install subcommand
  • use temp directory to download and install .deb packages with dpkg
  • streamline package manager detection and ignore errors on related commands
  • avoid re-asking the sudo password whenever and empty password is given

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants