Skip to Content

slackytip

Tw33Ty's picture

Installed software in Slackware doesn't always get fully removed when doing 'removepkg' because the software might create files, and folders it needs to run. It is therefore a good idea to know how to remove the software by hand to get rid of it completely. As 'root' type the following command:

  1. updatedb

    This updates the slocate database

    Once the database has been updated run this command next:

    1. locate name > log

      Replace name with the name you're searching.

      Then with a editor open the log file, and look at the results. Then you can remove those files and folders you have found. If you're in doubt then only remove what is clear to you, or don't touch anything. Just make sure that you understand the results in the log.

Well of course removing them

Well of course removing them by hand can get boring if it creates way too many files. so the best way is to remove the files from logfile that you need then : cat logfile | xargs rm. peace

Alaa's picture

apt-get

interestingly enough in apt-get config files and data dirs can be removed automaticaly, can't remember but I think it was --clean or --purge

cheers,
Alaa


"u know i once dream that the office of mobinil is from el 7`os :S and the one that answer u and tell u rasidak a girl called ghada"

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Dr. Radut | forum