Enable Apt without internetForum: Apt-get Topic: Enable Apt without internet started by: rossjman1 Posted by rossjman1 on Oct. 09 2005,00:56
How do I enable Apt and dpkg for my hard drive installation of DSL when the computer is not connected to the net? I would like to apt-get remove firefox and other internet related apps, as well as install new ones with dpkg. Is this the file I need, because it seems rather small. < http://distro.ibiblio.org/pub....sl.info >
Posted by SaidinUnleashed on Oct. 09 2005,01:37
You should also get the gnu-utils.dsl, so that everything works porperly with aptAlso, since the firefox in DSL was not installed with apt, it cannot be removed with apt. Most apps in DSL were not installed to be apt compatible, because DSL is not Debian. -J.P. Posted by rossjman1 on Oct. 09 2005,01:45
So I install gnu-utils.dsl and dsl-dpkg.dsl to enable apt-get and dpkg?
Posted by cbagger01 on Oct. 11 2005,16:32
yes
Posted by rossjman1 on Oct. 12 2005,23:35
I got every thing working and installed a bunch of games via dpkg (Ace of Pen, Ice Breaker, etc.). I have also removed games(xpacman, xcruise, and oneko). All of the games only had one file. Now, I would like to move onto applications I wont need (Firefox, Dillo, all net apps). First to go will be Firefox. I have tried apt-get remove mozilla-firefox and dpkg -r mozilla-firefox. I knew that this probably wouldn't work, but it doesnt hurt to try.Now to my problem. I have gone to packages.debian.org and looked at the files of the mozilla-firefox package for the stable release (sarge, there was not firefox package for woody). < http://packages.debian.org/cgi-bin....ber=all > Check the above link and ~95% of the files are in the folders /usr/lib/mozilla-firefox/ /etc/mozilla-firefox/ However, these directories don't even exist! How the heck do I remove firefox from my system? I'm using DSL 0.9.3. Posted by mikshaw on Oct. 13 2005,03:03
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. Posted by rossjman1 on Oct. 13 2005,13:29
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.
Posted by mikshaw on Oct. 13 2005,16:00
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. |