Uninstall CMA

To uninstall CMA follow these steps:

1. Uninstall dependencies

Linux

apt-get remove \
    libcurl4-openssl-dev \
    libonig-dev \
    libjpeg-dev \
    libjpeg8-dev \
    libjpeg-turbo8-dev \
    libpng-dev \
    libicu-dev \
    libfreetype6-dev \
    libzip-dev \
    libssl-dev \
    build-essential \
    libbz2-dev \
    libreadline-dev \
    libsqlite3-dev \
    libssl-dev \
    libxml2-dev \
    libxslt1-dev \
    libonig-dev \
    php-cli \
    php-bz2 \
    pkg-config \
    autoconf \
    libsodium-dev \
    cmake

Mac

brew remove zlib \
    bzip2 \
    libiconv \
    curl \
    libpng \
    gd \
    freetype \
    oniguruma \
    icu4c \
    libzip \
    libxml2 \
    libsodium

2. Remove PHPBrew

rm /usr/local/bin/phpbrew

rm -rf ~/.phpbrew

3. Uninstall Docker

On Mac, follow these instructions to remove Docker from your system.

On Windows, follow these instructions to remove Docker from your system.

On Linux, follow the following instructions for your distro:

1. Uninstall the Docker Engine, CLI, and ContainerD packages:

sudo apt-get purge docker-ce docker-ce-cli containerd.io

2. Images, containers, volumes, or customized configuration files on your host are not automatically removed. To delete all images, containers, and volumes:

sudo rm -rf /var/lib/docker
sudo rm -rf /var/lib/containerd

Documentation is available here.

4. Delete Composer cache

This might save quite a lot of space.

rm -rf ~/.cache/composer

Last updated