Skip to content

Installation

CometUSB is a Python package available on PyPI. It requires Python 3.8 or higher.

Prerequisites

Before installation, ensure you have:

  • Linux Distribution: CometUSB is exclusively for Linux.
  • Python 3.8+: Installed on your system.
  • Administrative Rights (sudo): The tool requires sudo privileges to manage disks and partitions.

Install via pip

The most straightforward way to install CometUSB is using pip:

pip install cometusb
or
pipx install cometusb
or
python -m pip install cometusb
or
python3 -m pip install cometusb
If above command does not work, use virtual environment approach given below.

With virtual environment (venv).

python -m venv .venv
source .venv/bin/activate
pip install cometusb

If none of the above commands work, find out how to install python package in your system.