[PROJ] How to uninstall proj?

Laurențiu Nicola lnicola at dend.ro
Wed Oct 5 00:04:54 PDT 2022


Hi Tom,

This isn't specific to proj, but most software doesn't have an uninstall target. You're probably supposed to install it to a different prefix and optionally turn it into a package.

The general solution is probably to run make install again, take a note of what it's installing, then remove those files. If you used CMake, you might have an install_manifest.txt file with a list of what to remove.

For completeness, here's what my distro's proj 9.0.1 package contains:

proj /usr/
proj /usr/bin/
proj /usr/bin/cct
proj /usr/bin/cs2cs
proj /usr/bin/geod
proj /usr/bin/gie
proj /usr/bin/invgeod
proj /usr/bin/invproj
proj /usr/bin/proj
proj /usr/bin/projinfo
proj /usr/bin/projsync
proj /usr/include/
proj /usr/include/geodesic.h
proj /usr/include/proj.h
proj /usr/include/proj/
proj /usr/include/proj/common.hpp
proj /usr/include/proj/coordinateoperation.hpp
proj /usr/include/proj/coordinatesystem.hpp
proj /usr/include/proj/crs.hpp
proj /usr/include/proj/datum.hpp
proj /usr/include/proj/io.hpp
proj /usr/include/proj/metadata.hpp
proj /usr/include/proj/nn.hpp
proj /usr/include/proj/util.hpp
proj /usr/include/proj_constants.h
proj /usr/include/proj_experimental.h
proj /usr/include/proj_symbol_rename.h
proj /usr/lib/
proj /usr/lib/cmake/
proj /usr/lib/cmake/proj/
proj /usr/lib/cmake/proj/proj-config-version.cmake
proj /usr/lib/cmake/proj/proj-config.cmake
proj /usr/lib/cmake/proj/proj-targets-release.cmake
proj /usr/lib/cmake/proj/proj-targets.cmake
proj /usr/lib/cmake/proj/proj4-targets-release.cmake
proj /usr/lib/cmake/proj/proj4-targets.cmake
proj /usr/lib/cmake/proj4/
proj /usr/lib/cmake/proj4/proj-targets-release.cmake
proj /usr/lib/cmake/proj4/proj-targets.cmake
proj /usr/lib/cmake/proj4/proj4-config-version.cmake
proj /usr/lib/cmake/proj4/proj4-config.cmake
proj /usr/lib/cmake/proj4/proj4-targets-release.cmake
proj /usr/lib/cmake/proj4/proj4-targets.cmake
proj /usr/lib/libproj.so
proj /usr/lib/libproj.so.25
proj /usr/lib/libproj.so.25.9.0.1
proj /usr/lib/pkgconfig/
proj /usr/lib/pkgconfig/proj.pc
proj /usr/share/
proj /usr/share/doc/
proj /usr/share/doc/proj/
proj /usr/share/doc/proj/AUTHORS
proj /usr/share/doc/proj/COPYING
proj /usr/share/doc/proj/NEWS
proj /usr/share/licenses/
proj /usr/share/licenses/proj/
proj /usr/share/licenses/proj/COPYING
proj /usr/share/man/
proj /usr/share/man/man1/
proj /usr/share/man/man1/cct.1.gz
proj /usr/share/man/man1/cs2cs.1.gz
proj /usr/share/man/man1/geod.1.gz
proj /usr/share/man/man1/gie.1.gz
proj /usr/share/man/man1/proj.1.gz
proj /usr/share/man/man1/projinfo.1.gz
proj /usr/share/man/man1/projsync.1.gz
proj /usr/share/proj/
proj /usr/share/proj/CH
proj /usr/share/proj/GL27
proj /usr/share/proj/ITRF2000
proj /usr/share/proj/ITRF2008
proj /usr/share/proj/ITRF2014
proj /usr/share/proj/deformation_model.schema.json
proj /usr/share/proj/nad.lst
proj /usr/share/proj/nad27
proj /usr/share/proj/nad83
proj /usr/share/proj/other.extra
proj /usr/share/proj/proj.db
proj /usr/share/proj/proj.ini
proj /usr/share/proj/projjson.schema.json
proj /usr/share/proj/triangulation.schema.json
proj /usr/share/proj/world

Laurentiu

On Wed, Oct 5, 2022, at 02:42, Tom O'Reilly wrote:
> I've built several proj versions from source on ubuntu using cmake/make.
> But the generated Makefile doesn't seem to have an 'uninstall' target, i.e. 'make uninstall' fails with "no rule to make 'uninstall'"
> How to uninstall proj when built from source?
> 
> Thanks
> Tom
> 
> --------------------------------------------------
> Thomas C. O'Reilly
> Monterey Bay Aquarium Research Institute
> 7700 Sandholdt Road
> Moss Landing, California 95039-9644
> 831-775-1766 (voice)
> 831-775-1620 (FAX)
> oreilly at mbari.org (email)
> http://www.mbari.org (World-wide Web)
>  
> "The machine does not isolate us from the great mysteries
>  of nature, but plunges us more deeply into them."
>  
>    - ANTOINE DE SAINT-EXUPERY
>      "Wind, Sand, and Stars" (1939)
>  
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20221005/cbb8012d/attachment-0001.htm>


More information about the PROJ mailing list