LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2008, 05:11 PM   #1
bloodyscript
Member
 
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Rep: Reputation: 15
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

Last edited by bloodyscript; 07-15-2008 at 05:13 PM.
 
Old 07-15-2008, 05:44 PM   #2
ophirg
Member
 
Registered: Jan 2008
Location: Israel
Distribution: Kubuntu 13.10
Posts: 134

Rep: Reputation: 34
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.
 
Old 07-15-2008, 06:02 PM   #3
tommytomthms5
Member
 
Registered: Sep 2007
Distribution: debian based
Posts: 305

Rep: Reputation: 30
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
 
Old 07-15-2008, 06:15 PM   #4
bloodyscript
Member
 
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Original Poster
Rep: Reputation: 15
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
 
Old 07-15-2008, 06:20 PM   #5
ophirg
Member
 
Registered: Jan 2008
Location: Israel
Distribution: Kubuntu 13.10
Posts: 134

Rep: Reputation: 34
"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.

Last edited by ophirg; 07-15-2008 at 06:22 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing files... brazilian_user Linux - General 4 08-07-2006 09:57 AM
removing files kjs Linux - Software 1 02-17-2005 03:18 PM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 09:16 AM
Removing Temporary Files coolamit78 Linux - General 5 09-17-2003 04:40 PM
Removing files ascii2k Linux - General 2 11-26-2001 12:20 PM


All times are GMT -5. The time now is 03:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration