#linux #debian

Overview


This document outlines the steps to install, uninstall, and switch between the manual installation of cosmic-comp from source and the package manager (apt).


Installing cosmic-comp from Source


   # Clone the Repository
   cd /tmp
   git clone https://github.com/pop-os/cosmic-comp && cd cosmic-comp

   # Build the Project
   make

   # Install the Project
   sudo make install


Uninstall cosmic-comp


To switch back to the version available via apt, you should uninstall the manually installed version.

  # Uninstall the Binary and Configuration Files
  sudo make uninstall
 
  # If you used the `install-bare-session` target, also run
  sudo make uninstall-bare-session


Switching Back to apt


After uninstalling the manual version, you can reinstall cosmic-comp using apt.

sudo apt update
sudo apt install cosmic-comp