Unable to install Allure CLI on Ubuntu 15.10

11,499

Solution 1

To install Allure you need to do the following steps:

So you can also add unpacked directory to the PATH and then use allure command as well.

Solution 2

Here is my script for Ubuntu:

# install Java
sudo apt update
sudo apt install default-jre -y
sudo apt install default-jdk -y
javac -version

# install allure
mkdir allure
cd allure
wget https://github.com/allure-framework/allure2/releases/download/2.13.8/allure-2.13.8.zip

sudo apt install unzip -y
unzip allure-2.13.8.zip

And then you can use

./allure serve --port 8080 {your_folder_with_xml_results}
Share:
11,499
Andriy
Author by

Andriy

Updated on June 04, 2022

Comments

  • Andriy
    Andriy almost 2 years

    According to a documentation it is possible to install Allure CLI with sudo apt-get install allure-commandline command.

    But only Trusty and Precise distributions are supported, hence I can not install it on my Ubuntu 15.10 system.

    sudo apt-add-repository ppa:yandex-qatools/allure-framework
    sudo apt-get update
    sudo apt-get install allure-commandline
    

    Result:

    E: Unable to locate package allure-commandline
    

    Is there another way to install Allure CLI package on Ubuntu 15.10?

  • Andriy
    Andriy over 8 years
    A special thanks for covering this issue in Allure documentation.
  • Admin
    Admin almost 7 years
    I followed above steps but still it shows allure: Command not found
  • Rea Haas
    Rea Haas over 4 years
    The link goes to a deprecated version... See my comment for an updated link.