Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install allure on ubuntu 20 using selenium with python?

Tags:

allure

I have tried this

sudo apt-add-repository ppa:qameta/allure
sudo apt-get update
sudo apt-get install allure

and get the following results

Reading package lists... Done
Building dependency tree       
Reading state information... Done
allure is already the newest version (0.8.3.0-3build3).
The following packages were automatically installed and are no longer required:
  gir1.2-dee-1.0 gnome-software-common libaec0 libappstream-glib8 libapt-pkg5.90 libenchant1c2a libfprint0 libgfortran5 libgpod4 libgspell-1-1 libisl21 liblouis17 liboauth0 libqt5script5 librsync2
  libwxgtk3.0-0v5 libx265-176 libxmlb1 python3-markupsafe python3-monotonic shim syslinux-legacy
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.

version of allure it gives no command found

allure --version
allure: command not found
like image 814
user20999678 Avatar asked Mar 18 '26 04:03

user20999678


2 Answers

I got solution using following commands in ubunto 22.04 First Download 1)curl -o allure-2.13.8.tgz -OLs https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.13.8/allure-commandline-2.13.8.tgz Run the following commands, 2) sudo tar -zxvf allure-2.13.8.tgz -C /opt/ 3) sudo ln -s /opt/allure-2.13.8/bin/allure /usr/bin/allure 4) allure --version

like image 200
Waqas Waheed Avatar answered Mar 22 '26 21:03

Waqas Waheed


I had the exact same problem and this solved it for me:

Credit -> allure: command not found on linux

The solution in just three steps:

  1. sudo apt-get install default-jre

  2. wget https://github.com/allure-framework/allure2/releases/download/2.18.1/allure_2.18.1-1_all.deb

  3. sudo dpkg -i allure_2.18.1-1_all.deb

like image 36
Darko Riđić Avatar answered Mar 22 '26 20:03

Darko Riđić



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!