From 1882ae4f6e7bbfaf9d19e2e2dc87616ae43fef8d Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Sun, 16 Oct 2022 16:55:50 +0100 Subject: [PATCH] Update Linux requirements * Glibc 2.26+ (we use 2.35) require Linux kernel 3.2 or later. * Remove GCC requirement given it doesn't matter for bottles (we install GCC ourselves if too old) and is probably wrong for the build-from-source case. * Remove libxcrypt-compat requirement given we don't use libcrypt.so.1 anymore. --- Library/Homebrew/os/linux/kernel.rb | 2 +- docs/Homebrew-on-Linux.md | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/os/linux/kernel.rb b/Library/Homebrew/os/linux/kernel.rb index d74a7412a4..026e01e41a 100644 --- a/Library/Homebrew/os/linux/kernel.rb +++ b/Library/Homebrew/os/linux/kernel.rb @@ -13,7 +13,7 @@ module OS sig { returns(Version) } def minimum_version - Version.new "2.6.32" + Version.new "3.2" end def below_minimum_version? diff --git a/docs/Homebrew-on-Linux.md b/docs/Homebrew-on-Linux.md index f3a3e3f31b..41eb914c63 100644 --- a/docs/Homebrew-on-Linux.md +++ b/docs/Homebrew-on-Linux.md @@ -47,8 +47,7 @@ If you're using an older distribution of Linux, installing your first package wi ## Requirements -- **GCC** 4.7.0 or newer -- **Linux** 2.6.32 or newer +- **Linux** 3.2 or newer - **Glibc** 2.13 or newer - **64-bit x86_64** CPU @@ -65,7 +64,6 @@ To install build tools, paste at a terminal prompt: ```sh sudo yum groupinstall 'Development Tools' sudo yum install procps-ng curl file git - sudo yum install libxcrypt-compat # needed by Fedora 30 and up ``` ### ARM