Skip to content

Install Cubic

PJ Singh edited this page Feb 28, 2026 · 30 revisions

Cubic can be installed on distributions based on:

  • Ubuntu 18.04.5 Bionic Beaver and above
  • Debian 11 Bullseye and above

Security Alert: If you choose to install Cubic, please be aware that Cubic uses root privileges to perform certain tasks, such as mounting and unmounting ISO images, launching the Cubic Virtual Environment, or extracting and generating compressed Linux file systems. As a result, some components of Cubic may be exploited by unscrupulous actors to perform actions on your system without needing to provide a root password. If you are concerned about this issue, you may isolate your host system by installing and running Cubic inside a virtual environment such as Virtual Box. Approaches to mitigate this vulnerability are currently under consideration. Please see Issue #321 for further information.

Ubuntu and Derivatives

  1. On some systems you may first need to manually add the repository key for Cubic. (Usually this is not necessary on Ubuntu).

    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B7579F80E494ED3406A59DF9081525E2B4F1283B
    
  2. Install Cubic using the following commands.

    sudo apt-add-repository universe
    sudo apt-add-repository ppa:cubic-wizard/release
    sudo apt update
    sudo apt install --no-install-recommends cubic
    

    The --no-install-recommends option prevents superfluous packages from being installed.

Debian and Derivatives

For Debian 13 Trixie (and newer):

Due to Launchpad Bug, Policy will reject signature, Cubic can not be installed using apt in Debian 13 Trixie. Instead, use the following instructions to install Cubic.

  1. Get the Cubic Debian package URL.

    Go the following URL in your web browser:

    https://launchpad.net/~cubic-wizard/+archive/ubuntu/release/+packages

    Expand the first "▷" under "Source" in the "Packages" section.

    (The version of Ubuntu you select doesn't matter, as long as you pick the newest version of Cubic).

  2. Download the Cubic Debian package.

    Right click on the *.deb file, select "Save Link As...", and download it to your Downloads folder.

  3. Set up a tool to handle Deb files along with their dependencies.

    sudo apt -q update
    sudo apt install -q gdebi-core
    
  4. Install Cubic.

    cd ~/Downloads
    sudo gdebi -o "APT::Install-Recommends=false" cubic*.deb
    

For Debian 12 Bookworm:

  1. Install dpkg version 1.21.22 using the following commands.

    sudo apt update
    sudo apt install --no-install-recommends dpkg
    
  2. Install Cubic using the following commands.

    echo "deb https://ppa.launchpadcontent.net/cubic-wizard/release/ubuntu/ noble main" | sudo tee /etc/apt/sources.list.d/cubic-wizard-release.list
    curl -S "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x081525e2b4f1283b" | sudo gpg --batch --yes --dearmor --output /etc/apt/trusted.gpg.d/cubic-wizard-ubuntu-release.gpg
    
    sudo apt update
    sudo apt install --no-install-recommends cubic
    

    The --no-install-recommends option prevents superfluous packages from being installed.

For Debian Bullseye:

  1. If you are running Debian bullseye, you can temporarily use the bookworm repositories to install a newer version of the dpkg package that is required to install Cubic. However, be careful with this hack, as this may break your system.

  2. Install dpkg version 1.21.22 from the Debian bookworm repositories using the following commands (instead of version 1.20.13, available in the bullseye repositories).

    cd /etc/apt
    sudo cp sources.list sources.list.original
    sudo sed -i "s|bullseye|bookworm|g" sources.list
    sudo apt update
    
    sudo apt install --no-install-recommends dpkg
    
    sudo mv sources.list.original sources.list
    sudo apt update
    
  3. Install Cubic using the following commands.

    echo "deb https://ppa.launchpadcontent.net/cubic-wizard/release/ubuntu/ noble main" | sudo tee /etc/apt/sources.list.d/cubic-wizard-release.list
    curl -S "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x081525e2b4f1283b" | sudo gpg --batch --yes --dearmor --output /etc/apt/trusted.gpg.d/cubic-wizard-ubuntu-release.gpg
    
    sudo apt update
    sudo apt install --no-install-recommends cubic
    

    The --no-install-recommends option prevents superfluous packages from being installed.

Clone this wiki locally