Удалить пакеты gdal, перечисленные в apt-cache

319
Max Ghenis

У меня неправильная установка, из-за gdalкоторой я не могу установить sf Rпакет в моей condaсреде по умолчанию (см. Https://stackoverflow.com/a/51369036/1840471 ). Я пытаюсь удалить все gdalпакеты не-conda, но у меня возникли трудности.

Я уже выполнил эти команды:

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 

Тем не менее apt-cache search gdalвсе еще показывает это:

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 

Как я могу удалить все apt-get gdalсвязанные пакеты?

0

0 ответов на вопрос

Похожие вопросы