LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   removing files (https://www.linuxquestions.org/questions/linux-newbie-8/removing-files-655982/)

bloodyscript 07-15-2008 04:11 PM

removing files
 
hi i want to remove gspcav1-20071224 replacing it with spca5xx. and b4 i start deleting files and what not i was wondering if i just rmeove the folders and files named gspca or if theres a command to remove them all with out searching the whole computer

would make clean do the trick

ophirg 07-15-2008 04:44 PM

don't delete files and directories

make clean only cleans the temporary files created after the build process(such as object files)
it doesn't do anything to an installed(make install) software.

if you didn't do "make install", only "make", removing the directory is fine. but that's not likely.

if you used a package manager to install it, remove it from there.

if you built it from source, try "make uninstall".

if this doesn't work, try looking in the source root directory for the file INSTALL or README.

tommytomthms5 07-15-2008 05:02 PM

1st try (assuming ubuntu or debian or knoppix or similar) sudo apt-get remove <program>

but if you insist to do it "your way" rm <file> does the trick

bloodyscript 07-15-2008 05:15 PM

ok thanx i think make uninstall did it but when i do lsmod it still shows gspca will that go away after reboot or did it no work

ophirg 07-15-2008 05:20 PM

"rm <file>" wont do the trick.
after you do "make install" or install with a package manager the files a spread all over the system.
you have binary files in /usr/bin, libraries in /usr/lib or /usr/lib64 or whatever, misc. files in /usr/share or some of them might be in /opt
some cinfigurations might be in /etc, some changes may have been made to different packages.

you have no practical way of knowing.

you shouldn't just delete manually after you install a package/software/whatever.

update:
i think a reboot will do the trick.
you can remove it manually but i don't think you have to.


All times are GMT -5. The time now is 07:18 PM.