Entfernen Sie die in apt-cache aufgeführten gdal-Pakete

370
Max Ghenis

Bei einer fehlerhaften Installation kann gdalich das sf RPaket nicht in meiner Standardumgebung installieren conda(siehe https://stackoverflow.com/a/51369036/1840471 ). Ich versuche alle Nicht-Conda- gdalPakete zu entfernen, habe aber Schwierigkeiten.

Ich habe diese Befehle bereits ausgeführt:

sudo pip freeze | xargs pip uninstall -y # To remove all pip packages. sudo apt-get purge gdal-bin sudo apt-get purge build-essential python-all-dev sudo apt-get purge libgdal-dev sudo apt-get purge libproj-dev # Per https://gis.stackexchange.com/a/179458/65604 sudo ln -s /usr/lib/libproj.so.0 /usr/lib/libproj.so 

Aber das apt-cache search gdalzeigt immer noch:

dans-gdal-scripts - GDAL contributed tools by Geographic Information Network of Alaska gdal-bin - Geospatial Data Abstraction Library - Utility programs libalgorithms1 - GDAL add-on tools to perform useful raster processing - libalgorithms libfileclasses1 - GDAL add-on tools to perform useful raster processing - libfileClasses libgdal-dev - Geospatial Data Abstraction Library - Development files libgdal-doc - Documentation for the Geospatial Data Abstraction Library libgdal-java - Java bindings to the Geospatial Data Abstraction Library libgdal-perl - Perl bindings to the Geospatial Data Abstraction Library libgdal1-1.11.3-grass - GRASS extension for the GDAL library libgdal1-dev - Geospatial Data Abstraction Library - Transitional package libgdal1i - Geospatial Data Abstraction Library libimageclasses1 - GDAL add-on tools to perform useful raster processing - libimageClasses liblasclasses1 - GDAL add-on tools to perform useful raster processing - liblasClasses libosmium2-dev - C++ framework for working with OSM data files node-srs - spatial reference library for Node.js pktools - GDAL add-on tools to perform useful raster processing pktools-dev - GDAL add-on tools to perform useful raster processing - development files python-csvkit - library of utilities for working with CSV python-gdal - Python bindings to the Geospatial Data Abstraction Library python-rasterio - Python 2 API for using geospatial raster data with Numpy python-stetl - Streaming ETL - Geospatial ETL framework for Python 2 python3-csvkit - library of utilities for working with CSV (Python 3) python3-gdal - Python 3 bindings to the Geospatial Data Abstraction Library python3-rasterio - Python 3 API for using geospatial raster data with Numpy qlandkartegt - GPS mapping (GeoTiff and vector) and GPSr management rasterio - Command line tool for investigating geospatial rasters stetl - Streaming ETL - Commandline utility 

Wie kann ich alle apt-get gdalzugehörigen Pakete entfernen ?

0

0 Antworten auf die Frage