how to uninstall a software in ubuntu

sudo snap remove skype 

or Uninstall mahjongg 
To remove just mahjongg package itself from Ubuntu 16.04 (Xenial Xerus) execute on terminal: 

sudo apt-get remove mahjongg 

Uninstall mahjongg and it's dependent packages 

To remove the mahjongg package and any other dependant package which are no longer needed from Ubuntu Xenial. 

sudo apt-get autoremove mahjongg 

Purging mahjongg 
If you also want to delete configuration and/or data files of mahjongg from Ubuntu Xenial then this will work: 

sudo apt-get purge mahjongg 

To delete configuration and/or data files of mahjongg and it's dependencies from Ubuntu Xenial then execute: 

sudo apt-get autoremove --purge mahjongg

Comments

Popular posts from this blog

Fixing the DeepSpeed Import Error While Fine-Tuning the Qwen Model

Amazon Linux 2023 - User data configuration for launch templates to connect to the EKS cluster

How to create ISM policy and rotate logs in opensearch