LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing programs: rights and other issues (https://www.linuxquestions.org/questions/linux-newbie-8/installing-programs-rights-and-other-issues-174460/)

NBartomeli 04-25-2004 02:43 PM

Installing programs: rights and other issues
 
I am running KDE on Fedora Core 1 and I usually log in as myself (not root)

When i try to install some application (particulalry Mozilla or Firefox) I am unable to do so as myself, but I can as ROOT. When I do install as ROOT, and the installation works and I have tested the program, I log out and log back in as myself and the old version still exists.

I do not know if there is some method to pointing the old shortcut to the new program, or if changing to root while logged in as myself and runing the commands from there would make any difference.

Can anyone help me out or point me to a good resource or tutorial that talks about acces levels and installations, etc...?

Thanks in advance

bigrigdriver 04-25-2004 09:24 PM

This is a complex issue, but it should be easy to fix. Understanding what's happening is key to fixing the problem. For installations from rpm, when there is an existing installation, you will make a PARALLEL installation if you use rpm -i (or some gui package manager). Therefore, since you install as root, only root will see the new installation. The user will have to create his own link to the new installation. As you've noted, he still has his link to the original installation. The objective here is to UPGRADE an existing installation to the newer version, unless you need to keep the original one intact, as in development work. If you're not developing apps, then I suggest installing from the command line with the rpm -U (upgrade an existing installation to the new version) or rpm -F (freshen, which does basically the same thing). Study the man pages for more on these options.

For the most complete reference on rpm, check the documentation on the RH website, look for a book called Man-RPM. It's 700+ pages which you can d/l or study on-line.


All times are GMT -5. The time now is 05:08 PM.