Join the community today
Register Now

Sysadmin Updating Bash

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

  1. yunos

    yunos Member

    102
    3
    18
    Aug 8, 2015
    Ratings:
    +12
    Local Time:
    2:03 PM
    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

    44,417
    10,142
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,690
    Local Time:
    10:03 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    102
    3
    18
    Aug 8, 2015
    Ratings:
    +12
    Local Time:
    2:03 PM
    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 :)