Apt-get :: Enable Apt without internet



As SU said, Firefox was NOT installed into DSL using the Debian package system, so using a deb package to check for Firefox files is a waste of your time.

The Firefox files are the directory /usr/local/firefox/ and the symlink /usr/local/bin/firefox.  There is also /opt/firefox_plugins, but you might want to keep this if you use opera with firefox plugins.

Thank you, but is there any place to check where the files are in DSL for other apps? That way I don't have to ask for everything I want to remove.
The "locate" command is a good way to find all paths containing a particular string.  Unfortunately there is no locate database in DSL, due to disk space concerns.  You can build one with the updatedb command (might require gnu-utils.dsl?) and then use "locate firefox" to find all files that include the string "firefox" in their paths.

Another way is to use the "find" command, which is similar to locate but does not use a database so it will be slower. find /path -name *firefox*

Still another way is using "type -p" or "which" to find program executables in your path.  Once you find where the executable is, it's faily easy to find the rest of its files.  For example, if you did "which xmms", it would return "/usr/bin/xmms" which tells you that the program is installed in /usr instead of /usr/local or /opt. From there you can look in the etc, share, and lib subdirectories of /usr for files (usually folders) named "xmms".

There are also some personal config files in /etc/skel...i forgot to mention that earlier.


original here.