Skip to content

几年前曾经使用过师傅的脚本,今天闲得慌,对师傅的脚本进行了优化,将原本的两个脚本整合到一起 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

mymistoe
Copy link

@mymistoe mymistoe commented Apr 6, 2025

功能改进

  1. 添加了进度显示功能

    • 显示安装进度条
    • 显示完成百分比
    • 显示预计剩余时间
  2. 添加了颜色输出支持

    • 使用不同颜色区分不同类型的消息
    • 提高可读性和用户体验
  3. 添加了必要的工具检查

    • 检查系统必要工具是否存在
    • 显示已安装工具的版本信息
    • 自动安装缺失的工具
  4. 添加了权限管理功能

    • 检查root权限
    • 检查目录写入权限
    • 自动设置正确的目录权限
  5. 使用清华源加速安装

    • 配置apt清华源
    • 配置pip清华源
    • 自动备份原有源文件
  6. 添加了Python环境检测

    • 支持Python2和Python3
    • 自动检测已安装的Python版本
    • 根据用户选择安装对应环境
  7. 添加了多shell支持

    • 支持bash、zsh、fish
    • 自动检测已安装的shell
    • 提供shell安装选项

测试通过的系统版本

  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 23.10
  • Ubuntu 24.04
  • Debian 9
  • Debian 10
  • Debian 11
  • Debian 12
  • Kali Linux (最新版)
  • Arch Linux (最新版)
  • Fedora 38
  • Fedora 39
  • CentOS 7
  • CentOS 8
  • Rocky Linux 8
  • Rocky Linux 9
  • AlmaLinux 8
  • AlmaLinux 9
  • OpenSUSE Leap 15.5
  • OpenSUSE Tumbleweed

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.

1 participant