mozilla install;no /usr dir, suse different?
Hi Everyone,
Not new to the site, but am STILL new to Linux. Trying to install Mozilla 1.7.6 in KDE in SuSe, try to create the default /usr/local/mozilla dir. but will not allow. Another look at parent dir's and see there is no /usr at all. Is this a Suse thing or merely that I am the only user on this system? What would be the next best dir to install to instead of /usr, that would make the program available to users added in the future. (Error 624) Also, I used the default partitoning in YaSt, which made a 117GB drive into two partitions; /=115GB and /Swap=remainder. Shouldn't the home directory also be...optimally be, on its own partition? One more, when installing the macromedia plugin, do you have to be in tty(x) in oder to unpack the prog? Please spare no words when answering, Mandrake or SuSe, if one had to choose? (Please don't say other OSes) Much Appreciated TIA cjae |
You definitely should have a /usr directory. What are the results of runnings "ls /".
|
Yeah, you have to have a /usr dir. Is it failing to install to /usr because you aren't installing it as root, maybe? And you don't necessarily need to install it to the /usr directory. You also have the option to install third party applications in the /opt directory. Just pass the option...
Code:
--prefix=/opt |
Sometimes an installation for something like Mozilla might go under the /opt directory, however, I can't imagine a system not having a /usr directory. Most programs you install will go under /usr/bin, with the libraries in /usr/lib. It is normal for the /usr directory to be the second largest directory on a system, after the /home directory.
The home directory is a good candidate for being in it's own partition. It is large, and if you decide to install a new distro, you could leave it unformatted, so that the files in your old partition are retained. When I went from Mandrake to SuSE on my desktop, I added '-old' to my old home directory, and over a periiod of time, decided which files I wanted to move to my new home directory. Another candidate for a seperate partition would be /usr/local. This is because this directory is where programs you install yourself, such as from tarballs can go. A re-installation will not change anything in this directory, as long as you don't re-format it of course. |
Ok, I tried to switch to root by su command got the # and tried to launch the installer again, this is what I got:
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Gtk-WARNING **: cannot open display: :0.0 linux:/home/cjae/mozilla/mozilla-installer If I switch back to normal user and issue the same command the installer will open and then again not be able to create the /usr/local/mozilla dir. After some sleep and another look at dir tree /usr dir exists. |
Before switching to root using "su", you need to do "xhost +localhost" as a normal user (the one who started the gui), then do "su" and proceed with the installation.
|
Hi, Thanks for all the replies, but I am still having problems. Is that the exact syntax for those two commands (last reply). And may I do them for gui terminal or tty terminal.
Please feel free to correct my improper use of terms. TIA cjae |
start a terminal emulator such as konsole, then
Code:
$xhost +localhost |
On Suse (for mainline packages like mozilla), the easiest way to install software is using Yast . Here is a great link in the Suse forum that points out various Suse repositories that you can use.
|
Please help. Still having problems
cjae@linux:~> xhost +localhost localhost being added to access control list cjae@linux:~> su Password: linux:/home/cjae # cd /home/cjae/mozilla linux:/home/cjae/mozilla # ./mozilla-installer bash: ./mozilla-installer: is a directory linux:/home/cjae/mozilla # cd mozilla-installer linux:/home/cjae/mozilla/mozilla-installer # ./mozilla-installer Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Gtk-WARNING **: cannot open display: :0.0 linux:/home/cjae/mozilla/mozilla-installer # ls . config.ini mozilla-installer MPL-1.1.txt xpi .. installer.ini mozilla-installer-bin README linux:/home/cjae/mozilla/mozilla-installer # |
Show us the contents of /home/cjae/mozilla using ' ls -la ' command
Brian1 |
cjae@linux:/home> cd cjae/mozilla
cjae@linux:~/mozilla> ls -la total 13266 drwxr-xr-x 3 cjae users 152 2005-03-31 20:02 . drwxr-xr-x 26 cjae users 1488 2005-04-01 20:58 .. -rw-r--r-- 1 cjae users 13566615 2005-03-31 20:00 mozilla-i686-pc-linux-gnu-1.7.6-installer.tar.gz drwxr-xr-x 3 cjae users 272 2005-03-21 18:24 mozilla-installer |
mozilla-installer appears to be a directory. Go into that directory and see what is there.
Brian1 |
SuSE has a command called 'sux'. It is like 'su' but gives root the permission to run an x-windows program.
When I ran the installer, I got a graphic requester come up. I changed the name of the default installation directory from 'firefox-installer' to just 'firefox'. If you didn't get a graphical installer come up, perhaps you downloaded a weekly build tarball instead. Also, I've made it a habit to run 'ldconfig' after installing something from a script, or tarball (e.g. not from rpm package). Sometimes this step gets skipped. |
All times are GMT -5. The time now is 02:10 PM. |