Skip to content

Instantly share code, notes, and snippets.

@pokisin
Last active June 8, 2024 07:53
Show Gist options
  • Save pokisin/fc4bf37a5ced0e6f7fe6e45333e37b4f to your computer and use it in GitHub Desktop.
Save pokisin/fc4bf37a5ced0e6f7fe6e45333e37b4f 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
@maen08
Copy link

maen08 commented Apr 22, 2022

great help

@aniceto-jolela
Copy link

Good man!

@rmstudies
Copy link

Show

@Isra0210
Copy link

Great Helpful!!!

@ngoiefranssen
Copy link

Nice !

@bc05
Copy link

bc05 commented Feb 16, 2023

Wow, nice!

@MANISANKARDIVI
Copy link

bro, what is the command for , redhat version and amazon linux version

@NaveenT127
Copy link

thanks :)

@njonikizito
Copy link

thanks, it worked on version 22.1

@vinniyh
Copy link

vinniyh commented Oct 31, 2023

NICE!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment