<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
marcus hall wrote:
<blockquote cite="mid:20091222000800.GA14434@bastille.tuells.org"
 type="cite">
  <pre wrap="">On Mon, Dec 21, 2009 at 06:18:33PM -0500, Louis Miller wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello,

       I use Ubuntu. I have always gone into add/remove to uninstall
programs, but I never thought, until now, that all of the programs I
had uninstalled had been available through the Debian repositories.
I want to uninstall Skype. I can't go into add/remove and uncheck
the tick box. How do you do it?

Louis
    </pre>
  </blockquote>
  <pre wrap=""><!---->
If the programs were installed via a makefile, that is, if you built the
program and did a "make install" to install it (or "sudo make install"),
and *IF* you still have the directory that you built it in, chances are
that you can do a "make uninstall" and it will remove the installed files.

If you installed it by un-tarring a file (something like the command:
"tar xf fubar.tar -C /"), then you can get the list of files from the
tar file ("tar vf fubar.tar") and either manually remove them, or feed
that to "xargs rm" (NB: check the file list twice or more, this could
potentially really trash your system if you get it wrong!  It's working
without a net.)

Basically, you have to find whatever method you used to install the
program and either perform a coresponding uninstall procedure that was
hopefully provided with the install procedure, or else reverse engineer the
install procedure to undo it.

One last thought is to generate a list of all files owned by an installed
package (rpm -qal on rpm based systems would do this, don't know about deb
based systems, but there likely is some equivalent) and diff that against
the files on your filesystem.  Then, decide which of the files are your own
files and which are other installed programs that you want to remove.  Of
course, this won't undo edits to system files,...
  </pre>
</blockquote>
<br>
I note from man dpkg the following:<br>
<br>
-L, --listfiles package-name...<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; List files installed to your system from package-name.<br>
<br>
I think this works OK.<br>
<br>
<blockquote cite="mid:20091222000800.GA14434@bastille.tuells.org"
 type="cite">
  <pre wrap="">
marcus hall
_______________________________________________
clue-tech mailing list
<a class="moz-txt-link-abbreviated" href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluedenver.org/mailman/listinfo/clue-tech">http://www.cluedenver.org/mailman/listinfo/clue-tech</a>

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Chuck Downing
Highlands Ranch, Colorado USA 
</pre>
</body>
</html>