Answers for "how to uninstall python 2.7 in ubuntu"

3

ubuntu remove python 2.7

# Remove python2
sudo apt purge -y python2.7-minimal

# You already have Python3 but 
# don't care about the version 
sudo ln -s /usr/bin/python3 /usr/bin/python

# Same for pip
sudo apt install -y python3-pip
sudo ln -s /usr/bin/pip3 /usr/bin/pip

# Confirm the new version of Python: 3
python --version
Posted by: Guest on June-29-2020
1

how to uninstall python2.7 from ubuntu 18.04

sudo apt autoremove python
Posted by: Guest on May-20-2020
0

how to uninstall python2.7 from ubuntu 18.04

whereis python
which python
Posted by: Guest on May-20-2020
0

uninstall python ubuntu 18.04

Don't do that , just don't.
you'll have regrets a lot of it.
And I'm serious.
A lot of things will deleted,but by the way, if you already done that don't worry, there is a solutions.
Just run this code in your terminal

sudo apt install ubuntu-desktop
And if you want you can run this one too

#ubuntu-18.04.1
sudo apt install $( curl http://releases.ubuntu.com/18.04/ubuntu-18.04.1-desktop-amd64.manifest | sed -e 's#\t.*##g' )
Posted by: Guest on February-23-2021

Code answers related to "how to uninstall python 2.7 in ubuntu"

Python Answers by Framework

Browse Popular Code Answers by Language