I am new to Linux and Fedora Core 3 (installed yesterday)....
When I tried the web browser I found that it is FireFox 1.0 Preview Release, so obviously I want to update it. I can get the 1.0.4 installer all right and I can unzip it too, but when I launch the install it looks like it is going to install a *new* instance of the program and this is not what I want. I want a regular software update, like when I install a new update of a program in Windows. On that platform it updates the *existing* installation instead of creating a new.
One of my reasons for this is that the FireFox is available on the Applications menu in Fedora and I want to get the 1.0.4 launched from there.
So these are my questions: 1) How can I *update* FireFox? 2) How can I in general uninstall programs in Fedora? 3) Should the installer not ask me to su before continuing?
Bo Berglund
Bo Berglund wrote:
I am new to Linux and Fedora Core 3 (installed yesterday)....
When I tried the web browser I found that it is FireFox 1.0 Preview Release, so obviously I want to update it. I can get the 1.0.4 installer all right and I can unzip it too, but when I launch the install it looks like it is going to install a *new* instance of the program and this is not what I want. I want a regular software update, like when I install a new update of a program in Windows. On that platform it updates the *existing* installation instead of creating a new.
One of my reasons for this is that the FireFox is available on the Applications menu in Fedora and I want to get the 1.0.4 launched from there.
So these are my questions:
- How can I *update* FireFox?
# yum update firefox
This will get the latest firefox packaged for Fedora (download from the Internet) and update your system.
If you run "yum update" without specifying a package name, it will get *all* updates, which is *a lot* for a fresh Fedora Core 3 installation.
- How can I in general uninstall programs in Fedora?
Fedora uses "packages" called RPM (RedHat Package Manager) files. They make uninstalling particularly easy:
# yum remove packagename
will remove the "packagename" package, and any other package that will not work without it (which is known as a "dependency").
- Should the installer not ask me to su before continuing?
Yes, unless you're planning to install it into your home directory or somewhere else that you, as a regular user, can write to.
See also: http://www.fedorafaq.org/#installsoftware
Paul.
On Thu, 26 May 2005 18:19:34 +0100, Paul Howarth paul@city-fan.org wrote:
# yum update firefox
This will get the latest firefox packaged for Fedora (download from the Internet) and update your system.
I tried this but then there is a message talking about GPG keys and telling me to download and install them with the command: rpm --import public.gpg.key But when I do this there is an error message "import read failed" Do I need something besides the command above? Does it go to the required website and import the keys or how does it work?
Bo Berglund
On Thu, May 26, 2005 at 08:26:35PM +0200, Bo Berglund wrote:
I tried this but then there is a message talking about GPG keys and telling me to download and install them with the command: rpm --import public.gpg.key But when I do this there is an error message "import read failed" Do I need something besides the command above? Does it go to the required website and import the keys or how does it work?
The newest version of yum will pull in the needed keys automatically. For now, what you want to do is import the RPM-GPG-KEY-fedora file from /usr/share/doc/fedora-release-*/.
On Thu, 26 May 2005 14:32:42 -0400, Matthew Miller mattdm@mattdm.org wrote:
On Thu, May 26, 2005 at 08:26:35PM +0200, Bo Berglund wrote:
I tried this but then there is a message talking about GPG keys and telling me to download and install them with the command: rpm --import public.gpg.key But when I do this there is an error message "import read failed" Do I need something besides the command above? Does it go to the required website and import the keys or how does it work?
The newest version of yum will pull in the needed keys automatically. For now, what you want to do is import the RPM-GPG-KEY-fedora file from /usr/share/doc/fedora-release-*/.
Do I get the latest version of yum via yum????
On Thu, 2005-05-26 at 22:09 +0000, Bo Berglund wrote:
On Thu, 26 May 2005 14:32:42 -0400, Matthew Miller mattdm@mattdm.org wrote:
On Thu, May 26, 2005 at 08:26:35PM +0200, Bo Berglund wrote:
I tried this but then there is a message talking about GPG keys and telling me to download and install them with the command: rpm --import public.gpg.key But when I do this there is an error message "import read failed" Do I need something besides the command above? Does it go to the required website and import the keys or how does it work?
The newest version of yum will pull in the needed keys automatically. For now, what you want to do is import the RPM-GPG-KEY-fedora file from /usr/share/doc/fedora-release-*/.
Do I get the latest version of yum via yum????
Yes - "yum update yum" will do it.
Thomas
On Thu, 2005-05-26 at 21:31 -0500, Thomas Cameron wrote:
Do I get the latest version of yum via yum????
Yes - "yum update yum" will do it.
In fact, this might be the first thing you want to do on a fresh FC3 install. Somewhere along the line, yum learned how to resume aborted downloads. This can save you a lot of grey hair when trying to update monstrosities like openoffice.org-i18n and the like.
Cheers Steffen.
On Thu, 2005-05-26 at 22:09 +0000, Bo Berglund wrote:
Do I get the latest version of yum via yum????
Your puzzlement is legitimate, given the kind of advice you received.
Here's the procedure (everything needs to be run as root):
1. Do this just once: rpm --import /usr/share/rhn/RPM-GPG-KEY*
2. Then, whenever you want to update the system, do this:
yum update
You can update just one package if you wish (albeit it's generally better to update everything):
yum update firefox
To install a package that's not on your system:
yum install package-name-here
On Fri, 27 May 2005 13:57:52 -0700, Florin Andrei florin@andrei.myip.org wrote:
Your puzzlement is legitimate, given the kind of advice you received.
Here's the procedure (everything needs to be run as root):
- Do this just once:
rpm --import /usr/share/rhn/RPM-GPG-KEY*
Worked without errors... :-)
- Then, whenever you want to update the system, do this:
yum update
I tried yum update yum and it worked fine, which it did not before I had done step 1 above! :-)
You can update just one package if you wish (albeit it's generally better to update everything):
yum update firefox
This also worked fine now, my Firefox is 1.0.4 and running :-)
To install a package that's not on your system:
yum install package-name-here
Tried this as well as part of the PPTP support install process and it works without errors after yum update yum.
Thanks for your pointers!
Bo Berglund
On Thu, 26 May 2005 18:19:34 +0100, Paul Howarth wrote:
- How can I in general uninstall programs in Fedora?
Fedora uses "packages" called RPM (RedHat Package Manager) files.
It's called just "RPM Package Manager" for a long time by now - easy to forget. http://www.rpm.org