Skip to content

jeonghanlee/pkg_automation

Repository files navigation

Package Installation Script for the EPICS environment and my personal environment.

Linux Build Debian 12 Rocky Linux 9 Ubuntu 22 LTS macOS build

It is the most cumbersome thing that is to install required packages for the EPICS base, modules, and other applications in different Linux flavors. This ugly script helps me to save my time to install many packages among many Linux distributions. And it was tested with the following distributions:

Tested

Focus

  • Debian 12 testing (Bookworm)
  • Debian 11 (Bullseye)
  • Rocky 9 (Blue Onyx)
  • Rocky 8 (Green Obsidian)
  • macOS 13 (Ventura, with brew)

Eye

  • Debian 10 (Buster)
  • Ubuntu 22.04 LTS (Jammy Jellyfish)
  • Alma 8
  • Fedora 32
  • CentOS 7
  • Ubuntu 18.04/20.04
  • Raspbian GNU/Linux 10
  • macOS 12.0.1 (21A559)
  • macOS 11.1 (20C69)
  • macOS 11

Obsolete

  • Scientific Linux 7
  • CentOS 8

And sudo permission is needed.

Procedure

Note that there are various examples in the .github/workflow path.

$ bash pkg_automation.bash 
> This procedure could help to install
> required packages for EPICS installation
> and others.
>
> Rocky or Alma is detected as Rocky Linux 9.0 (Blue Onyx)
>> Do you want to continue (y/N)?

Notice

  • Note that it will remove several packages in CentOS (e.g., PackageIt, Firewalld).
  • Note that all packages are useful for my own environment, not for general purposes.
  • Note that sometimes, it doesn't support the latest Linux distribution. In that case, please create an issue.