How to Install Packer on Manjaro

  1. First, open a terminal window on your Manjaro system.

  2. Next, download the Packer installation file from the official website by running the following command in the terminal:

    wget https://releases.hashicorp.com/packer/1.7.4/packer_1.7.4_linux_amd64.zip
    
  3. Extract the downloaded file by running the following command:

    unzip packer_1.7.4_linux_amd64.zip
    
  4. Move the extracted Packer binary file to the /usr/local/bin directory by running the following command:

    sudo mv packer /usr/local/bin/
    
  5. Verify that Packer is installed correctly by running the following command:

    packer version
    

    You should see the Packer version number displayed on the screen if it is installed correctly.

Congratulations! You have successfully installed Packer on your Manjaro system.