Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save moqimoqidea/e4b0dd31741370ce91bd638f83ed1a25 to your computer and use it in GitHub Desktop.

Select an option

Save moqimoqidea/e4b0dd31741370ce91bd638f83ed1a25 to your computer and use it in GitHub Desktop.

Revisions

  1. @Semo Semo revised this gist Dec 20, 2018. 1 changed file with 11 additions and 11 deletions.
    22 changes: 11 additions & 11 deletions Howto_Zsh5-6-2_Centos7.md
    Original file line number Diff line number Diff line change
    @@ -4,38 +4,38 @@ Given that you have a clean installation of CentOS 7 which was already updated,
    by you, then you still have some dependencies to install make and install the
    external Zsh from the source. You must be root to get the stuff done.

    ### Install GCC Development Tools
    #### Install GCC Development Tools
    `yum groupinstall "Development tools"`

    ### Check if it's working
    #### Check if it's working
    `gcc -v`

    ### Get and install ncurses
    #### Get and install ncurses
    `yum install ncurses-devel`

    ### Download the zsh sources
    #### Download the zsh sources
    `wget https://sourceforge.net/projects/zsh/files/zsh/5.6.2/zsh-5.6.2.tar.xz/download`

    ### Untar it
    #### Untar it
    `tar -xvJf download`

    ### Prepare the loaded sources
    #### Prepare the loaded sources
    `cd zsh-5.6.2`
    `./configure`

    ### Make a binary
    #### Make a binary
    `make`

    ### Install the binary
    #### Install the binary
    `make install`

    ### Edit the /etc/shells file to let CentOS know about the Zsh
    #### Edit the /etc/shells file to let CentOS know about the Zsh
    `vi /etc/shells`

    ### Insert the next line to the bottom and save it
    #### Insert the next line to the bottom and save it
    `/usr/local/bin/zsh`

    ### Change the system's shell
    #### Change the system's shell
    `chsh -s /usr/local/bin/zsh`

    #### Done (TM) ;-)
  2. @Semo Semo revised this gist Dec 20, 2018. 1 changed file with 14 additions and 14 deletions.
    28 changes: 14 additions & 14 deletions Howto_Zsh5-6-2_Centos7.md
    Original file line number Diff line number Diff line change
    @@ -1,41 +1,41 @@
    How to install Zsh version 5.6.2 into CentOS 7
    # How to install Zsh version 5.6.2 into CentOS 7

    Given that you have a clean installation of CentOS 7 which was already updated,
    by you, then you still have some dependencies to install make and install the
    external Zsh from the source. You must be root to get the stuff done.

    ### Install GCC Development Tools
    yum groupinstall "Development tools"
    `yum groupinstall "Development tools"`

    ### Check if it's working
    gcc -v
    `gcc -v`

    ### Get and install ncurses
    yum install ncurses-devel
    `yum install ncurses-devel`

    ### Download the zsh sources
    wget https://sourceforge.net/projects/zsh/files/zsh/5.6.2/zsh-5.6.2.tar.xz/download
    `wget https://sourceforge.net/projects/zsh/files/zsh/5.6.2/zsh-5.6.2.tar.xz/download`

    ### Untar it
    tar -xvJf download
    `tar -xvJf download`

    ### Prepare the loaded sources
    cd zsh-5.6.2
    ./configure
    `cd zsh-5.6.2`
    `./configure`

    ### Make a binary
    make
    `make`

    ### Install the binary
    make install
    `make install`

    ### Edit the /etc/shells file to let CentOS know about the Zsh
    vi /etc/shells
    `vi /etc/shells`

    ### Insert the next line to the bottom and save it
    /usr/local/bin/zsh
    `/usr/local/bin/zsh`

    ### Change the system's shell
    chsh -s /usr/local/bin/zsh
    `chsh -s /usr/local/bin/zsh`

    ### Done (TM) ;-)
    #### Done (TM) ;-)
  3. @Semo Semo revised this gist Dec 20, 2018. 1 changed file with 28 additions and 26 deletions.
    54 changes: 28 additions & 26 deletions Howto_Zsh5-6-2_Centos7.md
    Original file line number Diff line number Diff line change
    @@ -1,39 +1,41 @@
    # Given that you have a clean installation of CentOS 7 which was already updated,
    # by you, then you still have some dependencies to install make and install the
    # external Zsh from the source. You must be root to get the stuff done.
    How to install Zsh version 5.6.2 into CentOS 7

    # Install GCC Development Tools
    Given that you have a clean installation of CentOS 7 which was already updated,
    by you, then you still have some dependencies to install make and install the
    external Zsh from the source. You must be root to get the stuff done.

    ### Install GCC Development Tools
    yum groupinstall "Development tools"

    # Check if it's working
    gcc -v
    ### Check if it's working
    gcc -v

    # Get and install ncurses
    yum install ncurses-devel
    ### Get and install ncurses
    yum install ncurses-devel

    # Download the zsh sources
    wget https://sourceforge.net/projects/zsh/files/zsh/5.6.2/zsh-5.6.2.tar.xz/download
    ### Download the zsh sources
    wget https://sourceforge.net/projects/zsh/files/zsh/5.6.2/zsh-5.6.2.tar.xz/download

    # Untar it
    tar -xvJf download
    ### Untar it
    tar -xvJf download

    # Prepare the loaded sources
    cd zsh-5.6.2
    ./configure
    ### Prepare the loaded sources
    cd zsh-5.6.2
    ./configure

    # Make a binary
    make
    ### Make a binary
    make

    # Install the binary
    make install
    ### Install the binary
    make install

    # Edit the /etc/shells file to let CentOS know about the Zsh
    vi /etc/shells
    ### Edit the /etc/shells file to let CentOS know about the Zsh
    vi /etc/shells

    # Insert the next line to the bottom and save it
    /usr/local/bin/zsh
    ### Insert the next line to the bottom and save it
    /usr/local/bin/zsh

    # Change the system's shell
    chsh -s /usr/local/bin/zsh
    ### Change the system's shell
    chsh -s /usr/local/bin/zsh

    # Done (TM) ;-)
    ### Done (TM) ;-)
  4. @Semo Semo renamed this gist Dec 20, 2018. 1 changed file with 0 additions and 0 deletions.
  5. @Semo Semo revised this gist Dec 20, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Howto_Zsh5-6-2_Centos7.txt
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@
    # by you, then you still have some dependencies to install make and install the
    # external Zsh from the source. You must be root to get the stuff done.

    # Install GCC Development Tools
    yum groupinstall "Development tools"

    # Check if it's working
  6. @Semo Semo renamed this gist Dec 20, 2018. 1 changed file with 1 addition and 11 deletions.
    12 changes: 1 addition & 11 deletions gistfile1.txt → Howto_Zsh5-6-2_Centos7.txt
    Original file line number Diff line number Diff line change
    @@ -5,44 +5,34 @@
    yum groupinstall "Development tools"

    # Check if it's working

    gcc -v

    # Get and install ncurses

    yum install ncurses-devel

    # Download the zsh sources

    wget https://sourceforge.net/projects/zsh/files/zsh/5.6.2/zsh-5.6.2.tar.xz/download

    # Untar it

    tar -xvJf download

    # Prepare the loaded sources

    cd zsh-5.6.2
    ./configure

    # Make a binary

    make

    # Install the binary

    make install

    # Edit the /etc/shells file to let CentOS know about the Zsh

    vi /etc/shells

    # Insert the next line to the bottom and save it

    /usr/local/bin/zsh

    # Change the system's shell

    chsh -s /usr/local/bin/zsh

    # Done (TM) ;-)
  7. @Semo Semo created this gist Dec 20, 2018.
    48 changes: 48 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,48 @@
    # Given that you have a clean installation of CentOS 7 which was already updated,
    # by you, then you still have some dependencies to install make and install the
    # external Zsh from the source. You must be root to get the stuff done.

    yum groupinstall "Development tools"

    # Check if it's working

    gcc -v

    # Get and install ncurses

    yum install ncurses-devel

    # Download the zsh sources

    wget https://sourceforge.net/projects/zsh/files/zsh/5.6.2/zsh-5.6.2.tar.xz/download

    # Untar it

    tar -xvJf download

    # Prepare the loaded sources

    cd zsh-5.6.2
    ./configure

    # Make a binary

    make

    # Install the binary

    make install

    # Edit the /etc/shells file to let CentOS know about the Zsh

    vi /etc/shells

    # Insert the next line to the bottom and save it

    /usr/local/bin/zsh

    # Change the system's shell

    chsh -s /usr/local/bin/zsh

    # Done (TM) ;-)