Click to See Complete Forum and Search --> : Installing rpms


quoth
03-28-2001, 05:01 AM
Trying to install Opera in Mandrake 7.2

The problem that i can't figure out is after i have downloaded the package into the folder of where i wanted to download it.

It says that i can't install the package, must me logged in as root.

So did that installed it in the root directory. Can't remember where, but where the rpms go.

Now, when i go back into the general logon as "quoth" i can't even use Opera. Cause it's installed as a Root program??

So what the deal. How would i enable this so that i can use the Opera Browser or any programs within "quoth".

Thanks for you help.

another thing to add, i am using kde 2.0

[ 28 March 2001: Message edited by: quoth ]

cyan
03-28-2001, 05:28 AM
I *think* that's because you installed the program in the /root directory, which is root's home directory. So, Linux is treating Opera as a personal file of root, which you don't have access to. (it would do the same if you had another normal user on your system, it wouldn't let you go in there home directory either.) Try moving the rpm into your home directory, then su to root and install it again.(might want to uninstall the current one to avoid problems) I *think* you could also change permissions on the Opera executable, but you'd probably have to open /root's home dir to read/exec access to your user, which probably isn't a good idea security wise.

LiNuts
03-28-2001, 07:07 AM
move or delete the opera you put in /root, then copy the rpm to your /home dir.

then open a terminal and cd to your /home dir and type:

rpm -ivh <rpmfile>.i386.rpm, this will put the opera.exe in /usr/bin/.

next go back to your desktop and right click it. select new application, name it Opera, select the executable tab, and put in /usr/bin/opera then click in the icon, this will open up the applications icons, and select the opera one, when done click O.K. you will then have the opera shortcut on the desktop.
Cheers
LiNuts

LiNuts
03-28-2001, 07:09 AM
move or delete the opera you put in /root, then copy the rpm to your /home dir.

then open a terminal and cd to your /home dir and type:

rpm -ivh <rpmfile>.i386.rpm, this will put the opera.exe in /usr/bin/.

next go back to your desktop and right click it. select new application, name it Opera, select the executable tab, and put in /usr/bin/opera then click in the icon, this will open up the applications icons, and select the opera one, when done click O.K. you will then have the opera shortcut on the desktop.
Cheers
LiNuts
Edit: you have to be root to do this, that is what your message is telling you, so either su or log in as root,