Command explanations sed -i ...: The Tk package assumes that the source that is used to build Tk is always kept around for compiling packages that depend on Tk. These sed's remove the reference to the build directory and replace them by saner system wide locations. install ...: These commands install the internal headers into a system-wide location. ln -sf ...: These commands create compatibility symbolic links.