CSCfi / CSCfi/allas-cli-utils

Install to AlmaLinux 9

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
4
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hi,

I did look at the install instructions and at least "CentOS 7" is now a bit dated.
I do know that at this point in time CSC has AlmaLinux-9 images.

I'm not fond of conda, and EPEL has some RPM packages, so I did come up with:
```bash
sudo dnf up # (almost) always a good thing
sudo dnf epel-release # Configure EPEL
# This might miss some as I did not run on barebones image
sudo dnf install unzip rclone restic s3cmd python3-openstackclient zstd libzstd libzstd-devel
# Python venv, with default AlmaLinux 9 Python (3.9)
# For more than one user, so not into $HOME
python3.9 -m venv /opt/allas
source /opt/allas/bin/activate
pip install --upgrade pip
pip install python-swiftclient
pip install crypt4gh
deactivate
# Get the allas-cli-utils
cd /opt
git clone https://github.com/CSCfi/allas-cli-utils
```
For use, I created _module_. (I have package `Lmod` from EPEL.)
```lua
-- -*- lua -*-
--
-- Built 2025-01-16
--

whatis([[Name : allas-cli-utils]])
whatis([[Version : 2025-01]])
whatis([[Description : python3.9 venv for CSC Allas CLI]])

setenv("VIRTUAL_ENV","/opt/allas")
prepend_path("PATH","/opt/allas/bin")
append_path("PATH","/opt/allas-cli-utils")
set_alias("a-go","source /opt/allas-cli-utils/allas_conf")
```
Hence I could start using the utils with:
```bash
ml allas
a-go -u my_csc_username
```
However, I did not test yet beyond `a-list`.

---

Feel free to use, if it is any good.

Jukka V. Lehtonen

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the repository's current install instructions and compare the documented CentOS 7 path with the AlmaLinux 9 commands in the issue. Validate the dependencies and virtual-environment setup beyond the reported a-list check. Done means AlmaLinux 9 installation and usage steps are documented clearly, or the proposed instructions are shown to be incomplete.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python, shell
Domain
cli, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.