Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 1522  / 1 Year ago, fri, december 30, 2022, 2:38:09

I keep seeing people saying make; make install is bad. I can't seem to find anyone with a reasonable explanation.



So, why is it bad? Or why do people tend to say "It's bad, use clear install instead" or similar?


More From » compiling

 Answers
5

./configure; make; make install is bad because it is difficult to undo unless:




  • the developer provided an uninstall target, or

  • you provided a prefix to configure, so all the installed files are tucked away in a neat corner of the filesystem.



One should use checkinstall instead. Install it:



sudo apt-get install checkinstall


And then use checkinstall instead of make install:



./configure
make
checkinstall


(With appropriate usage of sudo.) And then you can use the package system to remove it:



sudo dpkg -r <name-of-package>

[#32364] Saturday, December 31, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
finatch

Total Points: 49
Total Questions: 106
Total Answers: 94

Location: Kazakhstan
Member since Mon, Sep 26, 2022
2 Years ago
;