How To Install lift on Debian 11

In this tutorial we learn how to install lift on Debian 11. lift is Integration and functional testing framework

Introduction

In this tutorial we learn how to install lift on Debian 11.

What is lift

lift is:

Lift provides an integration/functional test platform which handles executable tests easily and generically.

  • Lift only deals with executables and their return code
    • A particular test can be written in the language that fit it the most
  • Test declaration in a simple YAML syntax
    • No need to learn a programming language to integrate a test in a suite
  • Easily declare a test as running locally or on a remote machine
  • Remote tests: upload needed assets automatically and cleanup afterward
  • Naturally organize a test suite in multiple sub-folders/sub-test suites
  • Easily run a sub-test suite or specific tests from the command line
  • Pass environment variables to tests
  • Inheritance of remotes and environment across sub-test suites
    • For example, remotes can be defined in the top folder and used below
  • Only one command to run all or specific tests: lift
  • Export XUnit reports, for easy integration with Jenkins & friends

There are three methods to install lift on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install lift Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install lift using apt-get by running the following command:

sudo apt-get -y install lift

Install lift Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install lift using apt by running the following command:

sudo apt -y install lift

Install lift Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install lift using aptitude by running the following command:

sudo aptitude -y install lift

How To Uninstall lift on Debian 11

To uninstall only the lift package we can use the following command:

sudo apt-get remove lift

Uninstall lift And Its Dependencies

To uninstall lift and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove lift

Remove lift Configurations and Data

To remove lift configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge lift

Remove lift configuration, data, and all of its dependencies

We can use the following command to remove lift configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge lift

Dependencies

lift have the following dependencies:

References

Summary

In this tutorial we learn how to install lift package on Debian 11 using different package management tools: apt, apt-get and aptitude.