Skip to content

Instantly share code, notes, and snippets.

@moshiurse
Created July 25, 2023 09:28
Show Gist options
  • Save moshiurse/cd48857f42257fcd4b7d63d90a9613cd to your computer and use it in GitHub Desktop.
Save moshiurse/cd48857f42257fcd4b7d63d90a9613cd to your computer and use it in GitHub Desktop.
Install tar.gz file in linux
  1. Download the desired .tar.gz or (.tar.bz2) file.
  2. Open Terminal
  3. Extract the .tar.gz or (.tar.bz2) file with the following commands

    tar xvzf package.tar.gz
    tar xvjf package.tar.bz2

  4. Navigate to the extracted folder using cd command

    cd package

  5. Now run the following command to install the tarball

    ./configure
    make
    sudo make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment