LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gcc (https://www.linuxquestions.org/questions/linux-newbie-8/gcc-48915/)

Peleus 03-09-2003 02:45 AM

Never mind, dark your a life saver. thanks so much for helping me out through all this.

I sorted out the problem by doing everything through the terminal rather then login on the terminal and trying to finish it in the GUI.

Now to figure out how to uninstall 1.0.1 and make 1.2.1 defult web browser *shudders*

Dark_Helmet 03-09-2003 02:57 AM

So, it's installed then? Great! I had a whole spiel about permissions lined up and ready to go... :)

Installing software from source code is usually done as root. That said, most people will install it from the command line like:
su -
<password>
./configure
make
make install
exit

Well, that's how I do it anyway...

Peleus 03-09-2003 03:17 AM

How uabout uninstalling? For instance I now have both mozilla 1.0.1 and 1.2.1 installed.

I am worried about the fact if I remove 1.0.1 (default browser) it will leave all the programs with nothing rather then changing to 1.2.1

kayhan 03-09-2003 09:36 AM

You should also be root when you run the java installer. That is, try
Code:

su -
mkdir /home/mozilla/javawhatever
./javainstall


kayhan 03-09-2003 09:37 AM

Whoops! You already figured that out! Guess I should have read to the end of the thread before replying. :-)

Dark_Helmet 03-09-2003 11:03 AM

Uninstalling is trickier, especially when you install a new version on top of an older version. What distribution are you using? Red Hat? Mandrake? It will influence how you go about doing this.

Peleus 03-09-2003 02:32 PM

Redhat 8.0

Dark_Helmet 03-09-2003 03:45 PM

If you want to keep mozilla 1.0.1, don't do this!

Ok, start up your package manager:
1) From the menu bar, select System Settings -> Packages
2) It'll ask for root's password
3) Under the Application group, select "details" for Graphical Internet
4) Scroll down and uncheck everything regarding mozilla
5) Click Update
6) Click Quit

Now, you need to go and reinstall mozilla 1.2.1. Go to the command line, "su" to root, and run through the make, make install steps again. Then you should be able to kick off mozilla like normal.

---

As for having it become the "default" browser, I haven't really looked into that myself. I would guess you need to snoop around in the file association stuff:

menu bar -> preferences -> file types and programs

That's only a guess though...

lynch 03-09-2003 05:05 PM

I dont know about "default browser" like in windows.But you can have Mozilla start automatically ,depending on what you use to connect.Both kinternet and kppp will start Mozilla whenever you connect if you tell it to.
In kinternet you right click the icon,go to settings and choose "execute script"and type mozilla.
In kppp you have a setting where you enter the command mozilla.
lynch

Peleus 03-10-2003 01:51 AM

Well lol, now we got that solved time for another question.......

(You know you love it)

I can't install any .xpi *Mozilla browser install file* for add on's because it says I don't have write access. I tried logging into su - but it didn't work.

http://optimoz.mozdev.org/gestures/installation.html#

thats the file I am trying to install.

Any ideas? Thanks for all your help so far though.

Dark_Helmet 03-10-2003 01:56 AM

Typing "su -" at a terminal doesn't give you root access everywhere; it gives you root access in that terminal. So, if you were to launch an application from the menu, then you would be launching it as a regular user. When programs are started, they inherit the permissions of the user that started them. In this case, the Gnome environment still sees you as a regular user, and give Mozilla those permissions. Now, if you were to start mozilla from the command line AFTER issuing "su -", then mozilla would be started with root permissions. So, that's what you need to do. From the command line, type "mozilla", download and install the plugin, exit mozilla, and then exit from su on the command line.

Make sense?

Peleus 03-10-2003 02:22 AM

Crystal, thanks for that.

on another note now it says its installed, reboot browser to continue, load it up but it isn't installed :(

Oh well had this problem before I will figure it out eventually.

Thanks for that.


All times are GMT -5. The time now is 10:16 AM.