I manually installed python 2.7.5 using checkinstall. I downloaded and extracted the source tarball from python.org in /usr/local/src, then ran these commands
./configure
sudo make
sudo checkinstall
I wanted to upgrade from 2.7.4 to 2.7.5, I probably could have used apt-get to just install the next version, but now I want to uninstall it, I went to the ubuntu software center and tried to remove it, but it tells me that I need to remove all these other programs that depend on python even though I already have the python version that came with my installation. I'm not really sure how to uninstall it.
apt-cache policy python python2.7 outputs:
python:
Installed: 2.7.5-1
Candidate: 2.7.5-1
Version table:
*** 2.7.5-1 0
100 /var/lib/dpkg/status
2.7.4-0ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
python2.7:
Installed: 2.7.4-2ubuntu3
Candidate: 2.7.4-2ubuntu3
Version table:
*** 2.7.4-2ubuntu3 0
500 http://us.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
100 /var/lib/dpkg/status
in /usr/local/src/Python2.7.5
, there is a deb package called python_2.7.5-1_amd64.deb
.
.deb
) using checkinstall - e.g.sudo checkinstall make install_package
? Or did you install it directly?./configure
thensudo make
andsudo checkinstall
. I'm not sure what you mean by if I created packages or installed it directly (sorry, I'm new to ubuntu, I got it yesterday)..deb
packages which you can install and remove. Are you sure this is the full sequence of events as to how you got Python in/usr/local
? Do you still have the directory there and the.deb
packages? Please provide a list of them and the output ofapt-cache policy python python2.7