In my previous tutorial, i talk about Ubuntu apt-get package manager. In this post i’ll explain how to uninstall package in Ubuntu through Terminal command.
How to Uninstall/Remove Package/Application in Ubuntu through Terminal Command
To remove package using terminal you just need to know the name of package you want to remove.
For example – I want to remove package vim.
Before uninstall the package, it ask for confirmation
If you type Y it will uninstall the package. If you type n, then it Abort the process.
The above command only uninstall the package, but it’s configuration file still remain intact.
If you want to remove package and it’s configuration files, use this command.
For example removing a package vim and all configuration files: