Skip to content

Instantly share code, notes, and snippets.

@pokisin
Last active June 8, 2024 07:53
Show Gist options
  • Select an option

  • Save pokisin/fc4bf37a5ced0e6f7fe6e45333e37b4f to your computer and use it in GitHub Desktop.

Select an option

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
@slls-sheyla

Copy link
Copy Markdown

Thank you \o/

@BharathWINGBD

Copy link
Copy Markdown

thanks bro its working!!!

ghost commented Jan 22, 2022

Copy link
Copy Markdown

:D thks

@jcsporto

Copy link
Copy Markdown

Muito obrigado!

@huntercl

Copy link
Copy Markdown

thank you !!

@maen08

maen08 commented Apr 22, 2022

Copy link
Copy Markdown

great help

@aniceto-jolela

Copy link
Copy Markdown

Good man!

@rmstudies

Copy link
Copy Markdown

Show

@Isra0210

Copy link
Copy Markdown

Great Helpful!!!

@ngoiefranssen

Copy link
Copy Markdown

Nice !

@bc05

bc05 commented Feb 16, 2023

Copy link
Copy Markdown

Wow, nice!

@MANISANKARDIVI

Copy link
Copy Markdown

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

@NaveenT127

Copy link
Copy Markdown

thanks :)

@njonikizito

Copy link
Copy Markdown

thanks, it worked on version 22.1

@vinniyh

vinniyh commented Oct 31, 2023

Copy link
Copy Markdown

NICE!

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