当前位置:网站首页>Make install how to uninstall the installed Library

Make install how to uninstall the installed Library

2022-06-09 06:38:00 wongHome

Problem description

stay linux in , When installing a third-party library, it is sometimes installed through the source code

cd build/
cmake ..
make
sudo make install

If uninstalled adopt make install Third party libraries installed , How to operate ?

resolvent

In general ,sudo make install after , stay build/ Under the table of contents , There will be one install_mainfest.txt , It will record all the contents and paths of the installation , And then use

xargs rm < install_manifest.txt

That's all right. .

see install_mainfest.txt This file , In fact, there are various file paths , So without this file , You can re sudo make install , Then check the terminal print install Information , Write a file like this and execute the above command .

Reference link :

[1] Autumn . How to uninstall make install Compile the installed software ?[EB/OL]. https://www.zhihu.com/question/20092756/answer/245869742, 2017-10-17/2022-06-04.
[2] About make install Installed Libraries , Unloading problems [EB/OL]. https://blog.csdn.net/liutit/article/details/123630411, 2022-03-21/2022-06-04.

原网站

版权声明
本文为[wongHome]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/160/202206090630228713.html