Originally posted by jadukor_bd
i got the source for mozilla (mozilla-source-1.5.tar.bz2) but i m not clear about a few things...
1) where is the default mozilla1.4 installtion on Slackware9.1 located.
type "locate mozilla", or "whereis mozilla" to find out.
2) how do i uninstall mozilla1.4 before compiling and installing mozilla1.5..... as far as i know there is no uninstall button OR Add/Remove Programs button in Linux.....
each distribution has a package manager. Slackware uses TGZ packages. Use the "pkgtool" command to get a menu based package manager. And you'll find a lot more components to remove compared to the "Add/Remove Software" thing you're referring to
But I get the fealing you're not quite familliar with package managers right now. For a newbie install I would recommend upgrading a package this way:
* download the latest mozilla-slackware package from www.linuxpackages.net
(only because the slackware mirrors right now don't yet provide a mozilla-1.5 package!!)
* type "updatepkg mozilla...<hit tab>.tgz" and the package will be upgraded, old files will even be removed.
You can also use the "pkgtool" command to manage your packages, but the "upgradepkg" command seams to be very easy.
Unfortunately, I didn't find the latest mozilla-1.5 package at the slackware mirrors. However, for all core slackware packages, I would advise against installing them from source again; you'll have to upgrade them manually every time.
To upgrade all default slackware packages, with the latest packages from the slackware mirrors, use "swaret". Just type these commands, and your system will be completely up-to-date:
Notice that you *only* need to restart the programs of your system that are upgraded. for example, after upgrading ssh, type
this can even be done from an ssh-connection!
And if your kde has been upgraded, restart your kde session... that's all!
3) Slackware9.1 has java plugin (JSDK 1.4.2 or something like that, i m not sure) and problaly also flash pluging installed by default......so do i have to install them again, after installing mozilla1.5??
I wasn't familliar that slackware had those installed, but I've started with version 9.0; and 9.0 didn't have these packages.
You'll find all plugins in /usr/lib/mozilla-1.4/plugins/
Perhaps you want to use this command to migrate your plugins:
mv -i -v /usr/lib/mozilla-1.4/plugins/* /usr/lib/mozilla-1.5/plugins
4) I have been told that Slackware doesn't support dependency checks........ so how can i b sure that, after installing anything from binary or compiling from source, .........its going to work??
It just works, or tells you it's missing a library. Just like... you've seen such error dialog with Microsoft Windows about a missing DLL file. If you type "ldd `which <programname here>`", it will display all libraries a program uses. Then you can find the packages that contain these files, but it's usually not that hard... and by the way, they didn't wrote that README file for nothing
swaret is a beautiful tool for package maintainance; if you're looking for a slackare package at one of the mirrors, all you need to do is:
swaret --search <programname here>
swaret --install <packagename here>
and the package will be downloaded, installed, and your ld-cache is updated with "ldconfig".
Swaret however, has a dependency check. it uses the ldd program to see what files a binary requires, and looks for the right packages in some master-list. Then it asks you whether you want to install that package too
If you really insist to compile something from source, use the "checkinstall" program to create a slackware package. instead of "make install" you need to type "checkinstall". It allows you to remove it later with "pkgtool"