Skip to content

Instantly share code, notes, and snippets.

@AlexGalhardo
Forked from pokisin/Uninstall.md
Created March 7, 2020 19:48
Show Gist options
  • Select an option

  • Save AlexGalhardo/f3f02faee0adf52a9414e09a8f9a697f to your computer and use it in GitHub Desktop.

Select an option

Save AlexGalhardo/f3f02faee0adf52a9414e09a8f9a697f to your computer and use it in GitHub Desktop.
Uninstall git, ubuntu

Uninstall git

To remove just git package itself from Ubuntu 14.04 execute on terminal:

$ sudo apt-get remove git

Uninstall git and it's dependent packages

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

$ sudo apt-get remove --auto-remove git

Purging git

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

$ sudo apt-get purge git

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

$ sudo apt-get purge --auto-remove git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment