The make is missing an uninstall option #306

Closed
opened 2026-01-29 20:41:41 +00:00 by claunia · 3 comments
Owner

Originally created by @AsharLohmar on GitHub (Jan 25, 2020).

That's it, don't ask why I'd need it.

Originally created by @AsharLohmar on GitHub (Jan 25, 2020). That's it, don't ask why I'd need it.
Author
Owner

@eustas commented on GitHub (Jan 27, 2020):

Hello. Could you check, please, it xargs rm < install_manifest.txt does what you want?

@eustas commented on GitHub (Jan 27, 2020): Hello. Could you check, please, it `xargs rm < install_manifest.txt` does what you want?
Author
Owner

@AsharLohmar commented on GitHub (Jan 27, 2020):

Hi
it comes very close to a perfect uninstall.
Unless you've passed a --prefix pointing to a "personal" destination or you are running as root, you must sudo the make install, for this reason the rm should also be "sudoed"
Anyway, the removal removes all the files

$ xargs sudo rm -v < install_manifest.txt
removed ‘/usr/local/bin/brotli’
removed ‘/usr/local/lib/libbrotlienc.so.1.0.7’
removed ‘/usr/local/lib/libbrotlienc.so.1’
removed ‘/usr/local/lib/libbrotlienc.so’
removed ‘/usr/local/lib/libbrotlidec.so.1.0.7’
removed ‘/usr/local/lib/libbrotlidec.so.1’
removed ‘/usr/local/lib/libbrotlidec.so’
removed ‘/usr/local/lib/libbrotlicommon.so.1.0.7’
removed ‘/usr/local/lib/libbrotlicommon.so.1’
removed ‘/usr/local/lib/libbrotlicommon.so’
removed ‘/usr/local/lib/libbrotlienc-static.a’
removed ‘/usr/local/lib/libbrotlidec-static.a’
removed ‘/usr/local/lib/libbrotlicommon-static.a’
removed ‘/usr/local/include/brotli/decode.h’
removed ‘/usr/local/include/brotli/encode.h’
removed ‘/usr/local/include/brotli/port.h’
removed ‘/usr/local/include/brotli/types.h’
removed ‘/usr/local/lib/pkgconfig/libbrotlicommon.pc’
removed ‘/usr/local/lib/pkgconfig/libbrotlidec.pc’
removed ‘/usr/local/lib/pkgconfig/libbrotlienc.pc’

but leaves behind an empty folder

$ sudo find /usr -name brotli
/usr/local/include/brotli
@AsharLohmar commented on GitHub (Jan 27, 2020): Hi it comes very close to a perfect uninstall. Unless you've passed a `--prefix` pointing to a "personal" destination or you are running as root, you must `sudo` the `make install`, for this reason the `rm` should also be "sudoed" Anyway, the removal removes all the files ``` $ xargs sudo rm -v < install_manifest.txt removed ‘/usr/local/bin/brotli’ removed ‘/usr/local/lib/libbrotlienc.so.1.0.7’ removed ‘/usr/local/lib/libbrotlienc.so.1’ removed ‘/usr/local/lib/libbrotlienc.so’ removed ‘/usr/local/lib/libbrotlidec.so.1.0.7’ removed ‘/usr/local/lib/libbrotlidec.so.1’ removed ‘/usr/local/lib/libbrotlidec.so’ removed ‘/usr/local/lib/libbrotlicommon.so.1.0.7’ removed ‘/usr/local/lib/libbrotlicommon.so.1’ removed ‘/usr/local/lib/libbrotlicommon.so’ removed ‘/usr/local/lib/libbrotlienc-static.a’ removed ‘/usr/local/lib/libbrotlidec-static.a’ removed ‘/usr/local/lib/libbrotlicommon-static.a’ removed ‘/usr/local/include/brotli/decode.h’ removed ‘/usr/local/include/brotli/encode.h’ removed ‘/usr/local/include/brotli/port.h’ removed ‘/usr/local/include/brotli/types.h’ removed ‘/usr/local/lib/pkgconfig/libbrotlicommon.pc’ removed ‘/usr/local/lib/pkgconfig/libbrotlidec.pc’ removed ‘/usr/local/lib/pkgconfig/libbrotlienc.pc’ ``` but leaves behind an empty folder ``` $ sudo find /usr -name brotli /usr/local/include/brotli ```
Author
Owner

@eustas commented on GitHub (Jul 10, 2023):

make build is dropped

@eustas commented on GitHub (Jul 10, 2023): make build is dropped
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#306