How to Install and Uninstall python-rtree Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 19,2024

1. Install "python-rtree" package

In this section, we are going to explain the necessary steps to install python-rtree on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-rtree

2. Uninstall "python-rtree" package

This is a short guide on how to uninstall python-rtree on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove python-rtree $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-rtree package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-rtree
Architecture: all
Version: 0.8.3+ds-1
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GIS Project
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 376
Provides: python2.7-rtree
Depends: libjs-jquery, libjs-underscore, libspatialindex-dev (>= 1.7.0), python-pkg-resources, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/universe/p/python-rtree/python-rtree_0.8.3+ds-1_all.deb
Size: 58004
MD5sum: 541ecbed69f63e2f8c50be7f111383cb
SHA1: 5713c5b3d7786dc6de42576ce1ddc3d98aec7b15
SHA256: ced9baf95968fdc184d87c7f6aee7ff1d133a223e52e386a3b26ec8ec7518510
Homepage: http://toblerity.org/rtree/
Description: R-Tree spatial index for Python GIS - Python 2 module
Description-md5: 1aa69d21f33da2f6c774d0621461d5e9