Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I get the following error when i try to install firefox i also tried a older version of fire fox but it gave the same results. Dit i forget someting to install?
I don't know the error, but why are you installing it as root?
I've successfully installed several versions, on several systems,
and this works flawlessly. Put the tarball in your /home/<username>
directory and follow these instructions:
mingdao@james:~$ tar zxvf firefox-1.0PR-i686-linux-gtk2+xft-installer.tar.gz
mingdao@james:~$ cd firefox-installer/
mingdao@james:~/firefox-installer$ ./firefox-installer
(which sets up the program and imports your old settings)
mingdao@james:~/firefox-installer$ firefox
(which runs the program - this post is the proof
You probably don't want to run it from a terminal, so shut it down
and run it from where you normally run programs.
Well so much for your instructions....
I followed the instructions below myself except putting it in my home location... This is the error I get...
[root@localhost Desktop]# ls
apt-0.5.15cnc6-0.fdr.11.2.i386.rpm starthere.desktop firefox-1.0PR-i686-linux-gtk2+xft-installer.tar.gz
[root@localhost Desktop]# tar zxvf firefox-1.0PR-i686-Linux-gtk2+xft-installer.tar.gz
tar (child): firefox-1.0PR-i686-Linux-gtk2+xft-installer.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
So now what???
Quote:
Originally posted by Chinaman
follow these instructions:
mingdao@james:~$ tar zxvf firefox-1.0PR-i686-linux-gtk2+xft-installer.tar.gz
mingdao@james:~$ cd firefox-installer/
mingdao@james:~/firefox-installer$ ./firefox-installer
(which sets up the program and imports your old settings)
mingdao@james:~/firefox-installer$ firefox
(which runs the program - this post is the proof
You probably don't want to run it from a terminal, so shut it down
and run it from where you normally run programs. [/B]
Thanks for posting your output. That let's us see that you ran
it as root, and not as normal user. A # in your prompt indicates
root, and a $ indicates normal user. Try at the # prompt to issue
"exit" (w/out quotes) and then login as normal user.
I noticed the Linux should have been linux changed it and it ran... FFS= fat finger syndrome...
It installed... Excellent instructions too bad I can't get my fingers and eyes to work together... must eb the old age
I imagine he'd want to install it as root (to get it in a more typical location, like /usr/local) so other users could use it, and for organizational purposes. I personally wouldn't want all my apps installed in my ~. Seems silly to me, but to each his own.
And for RPMs
Code:
$ rpm -ihv name_of.rpm
Make sure you're root when you do the installation of the RPM, since most (if not all) install in places normal users don't have access to.
Last edited by GT_Onizuka; 10-13-2004 at 11:28 PM.
Tarballs don't usually install much to the build directory,
though there are exceptions to every rule.
To see where the files are going before you install, just
open mc and navigate to the file and enter on it's name.
That will let you see what is going to happen when you
actually untar and compile it.
Originally posted by Ravager
Well I logged in as root when I couldn't get it to install under usr and just figured my permissions wouldn't allow me to install it.
When I read this the first time, I thought you had misspelled user as usr. Now I see that usr should have been /usr, indicating the directory /usr. The location of your user directory is /home/<username>/ - so, for example, on your box if you added a normal user it might be /home/ravager/ or whatever you choose to name him.
Firefox has been designed to run and install as a normal user, with no need for root priviledges at all. But it is a PC (Personal Computer), and you may install it wherever you wish. If you stick around long enough, you'll learn not to login as root until it's for system maintenance. ;-) This is the first line of defense in regards to security on a Linux box.
Quote:
Originally posted by Ravager
Instead of logging in as root, would it be just as well using superuser to do the installs?
They are the same user - root is the superuser. From "man su"
Quote:
su - change user ID or become super-user. Invoked without a username,
su defaults to becoming the super user.
Logging into your system as root is not the preferred method, or even necessary to install programs. I have never logged into this system as root, and have plenty of programs installed. ;-)
Quote:
Originally posted by GT_Onizuka
I imagine he'd want to install it as root (to get it in a more typical location, like /usr/local) so other users could use it, and for organizational purposes.
Mozilla didn't consider /usr/local a "typical" location to install the browser, and notice that in Slackware none of the browsers are installed there.
If you install Firefox in your ~/ directory, other users on a multiuser system can still use it. They only need to run the command from your install path. For example, on my multiuser desktop system I have two users plus root. Firefox was installed in /home/mingdao/firefox/ by the user mingdao. When user james logs in, all that he has to do is issue "/home/mingdao/firefox/firefox" and it starts Firefox and creates a new user profile in /home/james/.mozilla/firefox for that user. Where you organize your apps, as GT_Onizuka pointed out, is a personal opinion.
No matter where you choose to install Firefox, everything is placed in an install directory called "firefox" or "firefox-installer" under that build directory. Your personal profile is placed in the ~/.mozilla/firefox directory for the user who runs the app. It's done that way so that you can easily uninstall Firefox without losing your personal data, such as bookmarks, extensions, etc. Remember, Firefox is an app in development and constant flux, and as such, they hope we'll run the latest version and report any bugs.
When you compile programs from source, it is not necessary to be logged in as root - if you build in a directory where the normal user has priviledge. That's because the tarball will install to it's own install directory, no matter where you unpack and compile it from.
Since it's not good practice to login to a Linux system as root, I've created a build directory named /home/mingdao/tarballs where I unpack and compile them. You can issue "./configure" and "make" as a normal user, and then issue su -c "make install" and it will prompt you for root's password. That -c indicates a command to follow. Afterwards, you can "rm -rf" the subdirectory created in the build directory when you unpacked the tarball, which is now installed in it's given install directory.
Rather than using "make install" I like to use the program CheckInstall because it allows me to create a Slackpack which I can easily uninstall. From the CheckInstall website:
Quote:
A lot of people has asked me how can they remove from their boxes a program they compiled and installed from source. Some times -very few- the program's author adds an uninstall rule to their Makefile, but that's not usually the case. This is my primary reason to write CheckInstall. After you ./configure; make your program, CheckInstall will run make install (or whatever you tell it to run) and keep track of every file modified by this installation, using the excelent installwatch utility written by Pancrazio 'Ezio' de Mauro (p@demauro.net).
When make install is done, CheckInstall will create a Slackware, RPM or Debian compatible package and install it with Slackware's installpkg, "rpm -i" or Debian's "dpkg -i" as appropriate, so you can view it's contents with pkgtool ("rpm -ql" for RPM users or "dpkg -l" for Debian) or remove it with removepkg ("rpm -e"|"dpkg -r"). Aditionally, this script will leave you a copy of the installed package in the source directory so you can install it wherever you want, which is my second motivation: I don't have to compile the same software again and again every time I need to install it on another box :-).
Long post, but my hope is that it clears up some things for you...
wasn't my thread initially. I've had the same problem. the installer worked fine under Mandrake 10.0 but it gets the same error on mine which is also 10.1 so i'm assuming its something to do with mandrake 10.1
the installation program starts to run for me. when you click on the forward button (the first thing on the installer) it then just exits with the error message:
[amon@amon1 firefox-installer]$ ./firefox-installer
SCIM: im_module_init
free(): invalid pointer 0x823dfa8!
free(): invalid pointer 0x823df80!
./firefox-installer: line 56: 11274 Segmentation fault ./${BINNAME}-bin $@
I've tried running this as root and as myself. I've also tried downloading the file again to make sure its not corrupted. and i have attempted to find RPMs(which didn't work at all after installation.
I'm running Mandrake 10.1 (kde, gnome)
I have the same problem. The initial install "Welcome to Mozilla Firefox." I click Forward, the gui dissappears and the following error:
I've tried everything that I can think of (being a noob of course)....installing as root, extracting into the home directory and running from there, etc.
I looked in installer.ini and line 56 is UNKNOWN=Unknown
I've tried Firefox 0.9.3 and 1.0PR and the same thing happens on each.
I've installed almost everything under Development. I can't seem to get this to work either. It's the first program I tried installing.....and I feel horrible that I can't even install a simple web browser.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.