mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #198] [MERGED] fix: support dnf and yum in install script #246
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/198
Author: @ztting01
Created: 8/20/2026
Status: ✅ Merged
Merged: 8/21/2026
Merged by: @yingdi-shan
Base:
main← Head:fix/installer-dnf-yum📝 Commits (1)
3c26eb9fix: support dnf and yum in install script📊 Changes
1 file changed (+9 additions, -1 deletions)
View changed files
📝
scripts/install.sh(+9 -1)📄 Description
What
dnfandyumfallbacks to the dependency bootstrap inscripts/install.sh.apt-get, thendnf, thenyum.Why
scripts/install.shcurrently assumesapt-getwhen required commands such asjqare missing. On openEuler,dnf/yumis available instead, so a fresh installation exits before downloading AgentENV.This aligns the server installer with the Linux package-manager fallbacks already used by
scripts/install-cli.sh, without adding distribution- or architecture-specific branches.Related issue
N/A — small, focused installer compatibility fix.
Scope and non-goals
In scope:
curl,jq,sha256sum, andrealpaththrough apt, dnf, or yum.Out of scope:
/etc/os-release.Design and behavior changes
When required commands are missing, the installer selects the first available package manager in this order:
apt-getdnfyumIf none is available, it reports the missing commands and exits.
Compatibility and operations
apt-getremains the first choice.Validation
make fmtmake clippymake test-unitmake -C services test(required whenservices/changes)maketargetCommands and results:
All commands above passed.
Fresh openEuler 24.03 LTS-SP3 aarch64 container validation:
jq.jqthrough the newdnfpath.Skipped checks and reasons:
shellcheckwas not run because it is not installed in the validation environment.Risks and reviewer notes
Risk is low. The change only affects the existing missing-command bootstrap path. Systems where all required commands are already present do not execute the new branches, and apt-based systems retain their previous behavior.
The most relevant file is:
scripts/install.shChecklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.