Working with installed files

Working with installed files

This section describes the steps needed to handle files that will be installed using make install

Wrap install

In order to see the files appear at the 'Installed Files' tree after invoking make install you should let Kleandisk wrap the 'install' binary. This file is common on most distributions and is used to install files on your hard disk. Usually this binary is executed several times after invoking the make install command in the directory of a source package (like Kleandisk).

The 'wrap' procedure will move install to install.kd. Kleandisk will then create a new file: install. The next time you install a package, instead of the original install, the wrapper is executed. The wrapper keeps track of the files that will be installed, and will then excute install.kd (the original install) in order to actually install the files.

Use the 'Configure Kleandisk' dialog (Setting -> Configure Kleandisk) to wrap install. First enter the path where the install file resides, then check 'Wrap install'. Un-checking this will reset everything.

Installing files

After wrapping the install, Kleandisk will keep track of the files that are installed by make install. You should type kleandisk -e after make install has finished, to let Kleandisk finish the installation.

Tip

Add the line: alias inst='make install; kleandisk -e' to your ~/.bashrc. The next time you login you only have to type inst to install a package.

Uninstalling files

An installed group of files can be removed again by selecting the corresponding group (click on the 'Flag' column) and selecting the menu entry 'Uninstall Installed files' under the File menu.

Note

Multiple groups can be selected

KDE Logo