LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trouble installing firefox in fedora 8 using yum (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-installing-firefox-in-fedora-8-using-yum-619843/)

sugantha 02-09-2008 02:41 AM

Trouble installing firefox in fedora 8 using yum
 
Hello friends,
I installed fedora 8 just 5 days ago and I am trying to install firefox.I managed to configure yum and when I tried 'yum install packagename' it gave me "Another app runnning waiting for lock" message".I found out the pid's and and killed the process with
kill -9 pid
My tar.gz file is located in...
/home/sugantha/firefox-2.0.0.11.tar.gz/

Now when I am trying yum install it shows "No package in the location specified Nothing to do" message

Here is my terminal script:

[root@localhost ~]# yum install /home/sugantha/firefox-2.0.0.11.tar.gz/firefox/
Loading "priorities" plugin
adobe 100% |=========================| 951 B 00:00
fedora 100% |=========================| 2.1 kB 00:00
kde-redhat-all 100% |=========================| 951 B 00:00
kde-redhat 100% |=========================| 1.1 kB 00:00
freshrpms 100% |=========================| 2.1 kB 00:00
ftp://fedora.glug-nith.org/linux/upd...ta/repomd.xml: [Errno 4] IOError: [Errno ftp error] 421 There are too many connected users, please try later.
Trying other mirror.
updates 100% |=========================| 2.3 kB 00:00
55 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Importing additional filelist information
No package /home/sugantha/firefox-2.0.0.11.tar.gz/firefox/ available.
Nothing to do
You have new mail in /var/spool/mail/root
[root@localhost ~]# yum install /home/sugantha/firefox/
Loading "priorities" plugin
55 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Importing additional filelist information
No package /home/sugantha/firefox/ available.
Nothing to do
[root@localhost ~]# yum install /home/sugantha/firefox
Loading "priorities" plugin
55 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Importing additional filelist information
No package /home/sugantha/firefox available.
Nothing to do
[root@localhost ~]#


This is my first attempt installing software in fedora and I've been trying for the past three days.Please help.Thanks in advance

Junior Hacker 02-09-2008 03:33 AM

Yum installs .rpm packages, not tar.gz. If you're connected to the internet, try: yum install firefox. If you're not connected, you'll have to download it manually from Fedora repositories and install with RPM. The later can be tedious if there are dependencies that will need to be downloaded also and installed first.
If you want to install the tar.gz package, change into the directory it is in and issue the command below to unpack it. Change directory into the newly created firefox 2 folder and look for a README file or a INSTALL file for further instructions.
Code:

tar zxf firefox-2.0.0.11.tar.gz

Junior Hacker 02-09-2008 03:37 AM

Keep in mind that the tar.gz method may not give any shortcuts to start it, you'll have to create those also, not a newbie friendly adventure.

sugantha 02-09-2008 04:24 AM

Thanks for help
 
Hello Junior hacker,
I unzipped it and the README file contains the following link
http://getfirefox.com/releases/
which was'nt very helpful.I 'll try installing using
yum install firefox during my free download hours tonight...

Junior Hacker 02-09-2008 04:44 AM

The instructions for installing the tar.gz can be found here.

sugantha 02-09-2008 10:24 AM

Thanks a bunch for clearing that rather silly doubt.I am typing this from a firefox browser...hurray.I'll try installing some other s/w using the link given.Thanks again.

this213 02-09-2008 11:06 AM

Sugantha, if you do:
Code:

rpm -qa | grep firefox
you'll probably find that firefox is already installed. If it isn't for whatever reason, you can do the following to install it (as root):
Code:

yum install firefox
or you can go to Applications > Add/Remove Software and select it from the list there (it's under Applications > Graphical Internet)

for future reference, the command to install a local package is:
Code:

yum localinstall mypackage
Unless you have good reason otherwise, you should *never* install packages from source on an RPM-based distribution like Fedora. In a best case scenario, your next update will overwrite anything you've manually done. In a worst case scenario, you can completely bork your system. If you have some desire to compile software installed on your system, the *right* way to do so would be to create a spec file in the source and build a proper RPM from it, then install the RPM. If you don't want to go through all that, I'd suggest you use a source based distribution like Slackware or Gentoo.

AceofSpades19 02-09-2008 07:37 PM

Quote:

Originally Posted by this213 (Post 3051557)
I'd suggest you use a source based distribution like Slackware or Gentoo.

Slackware is not source-based, it uses binary packages

this213 02-10-2008 09:28 AM

http://www.slackware.com/config/packages.php

AceofSpades19 02-10-2008 12:58 PM

Quote:

Originally Posted by this213 (Post 3052386)

Yes, but you don't have to compile .tgz packages, so therefore, they aren't source. I don't believe
[QUOTE]
Slackware's packaging system uses ordinary compressed tar files
[QUOTE]
ordinary compressed tar files does not mean it is source, slackware packages are just binaries compressed.


All times are GMT -5. The time now is 12:56 AM.