Learn about Centmin Mod LEMP Stack today
Become a Member

Sysadmin Updating Bash

Discussion in 'System Administration' started by yunos, May 9, 2020.

  1. yunos

    yunos Member

    130
    3
    18
    Aug 8, 2015
    Ratings:
    +17
    Local Time:
    6:21 AM
    1.8.0
    Centos 7 can only support 4.2 and not higher. The issue is that i want to install Bashtop
    aristocratos/bashtop

    which is a superior version imo than htop but requires 4.4.x
    now i can install bash from source but the question is will it cause any issues to centos 7 if i did?



    yum group install "Development Tools"
    wget http://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz
    tar -zxvf bash-5.0.tar.gz
    cd bash-5.0
    ./configure
    make
    make install
     
    Last edited: May 9, 2020
  2. eva2000

    eva2000 Administrator Staff Member

    55,245
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    2:21 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    I wouldn't update bash like that, you could break your system. I haven't tested this so who knows. If you know how to use Docker, you could create a Docker OS image and just install bashtop from within the Docker OS image in self-contained image container instead.
     
  3. yunos

    yunos Member

    130
    3
    18
    Aug 8, 2015
    Ratings:
    +17
    Local Time:
    6:21 AM
    1.8.0
    Thanks, and i will follow your advice, glad i had the common sense to ask you here before doing something that could be destructive :)