Skip to content

Instantly share code, notes, and snippets.

@ivikramsahu
Last active November 12, 2019 14:49
Show Gist options
  • Save ivikramsahu/90f0487d631f82222df7feda6a957c67 to your computer and use it in GitHub Desktop.
Save ivikramsahu/90f0487d631f82222df7feda6a957c67 to your computer and use it in GitHub Desktop.

Revisions

  1. ivikramsahu renamed this gist Nov 12, 2019. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion Install composer on linux [centos 8] → installcomposer.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@

    sudo dnf install php* && \

    php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \

    php composer-setup.php --install-dir=/usr/local/bin --filename=composer && \

    composer --version
  2. ivikramsahu renamed this gist Nov 12, 2019. 1 changed file with 1 addition and 3 deletions.
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,5 @@
    ```bash

    sudo dnf install php* && \
    php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
    php composer-setup.php --install-dir=/usr/local/bin --filename=composer && \
    composer --version

    ```
  3. ivikramsahu created this gist Nov 12, 2019.
    7 changes: 7 additions & 0 deletions Install composer linux [centos 8]
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    ```bash
    sudo dnf install php* && \
    php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
    php composer-setup.php --install-dir=/usr/local/bin --filename=composer && \
    composer --version

    ```