Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  17] [ 0]  / answers: 1 / hits: 12990  / 3 Years ago, sun, august 1, 2021, 2:35:54

Suppose, we've built some package from sources (configure make install).

May we remove sources directory after successful building? Or it depends? On what, then?


More From » compiling

 Answers
4

You don't need anything except the binaries. Those should already be copied to another location by make install. The rest can be removed. If you're unsure make a backup before removal. Remove, test if still working, if still working remove the backup.



Note:
As ændrük pointed out: Using checkinstall Install checkinstall over make install has the virtue of enabling Ubuntu to track the installation. Later you can revert any changes made using the regular Ubuntu package management.


[#44835] Sunday, August 1, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ronicod

Total Points: 71
Total Questions: 111
Total Answers: 111

Location: Montenegro
Member since Fri, Dec 10, 2021
2 Years ago
;