LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2003, 10:37 AM   #1
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Rep: Reputation: 30
where is GAIM installed


really newbie question.
i just installed gaim rpm as root but i don't know where it is installed.....
another question.
when i install a program as root, does that mean mornal users can't run it?
thanks
 
Old 09-20-2003, 10:38 AM   #2
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
'which gaim' should show where gaim is installed
 
Old 09-20-2003, 10:47 AM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Here are some commands:

whereis <name of what you are looking for>
locate <name of what you are looking for>
which <name of what you are looking for>

When you install a program, you have to be root. Depending of the program, all users will be able to execute them, as gaim for example. Remember though, each user, although using the same program will have different configuration files placed usually at their /home directory.

Let's say you have a user called John. When John uses gaim for the first time, a directory (usually a hidden one, starting with .<directory name>) will be created at /home/john/.gaim. In that directory is stored all preferences, contactlist and etc. It works for most of the programs too . Hope I did not make this too complicated .

Good luck!
 
Old 09-20-2003, 10:57 AM   #4
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 457

Rep: Reputation: 41
An additional note:

If gaim was installed from rpm, rpm -ql gaim will list all the files in the package. If you are running slackware, the list is in a file in /var/log/packages. If from source, there is no easy solution. I don't know what Debian does for a database.

In other words, important information for a post of this nature requires a little more information such as the distribution and/or the method of installation. Given that, the above comments are generally generic to Linux and also unix systems.
 
Old 09-20-2003, 11:17 AM   #5
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Original Poster
Rep: Reputation: 30
thanks guys, it cleared my mind.
however, the make install failed
taoweijia@linux gaim-0.68]$ make install
Making install in sounds
make[1]: Entering directory `/home/appsInstall/gaim-0.68/sounds'
make[2]: Entering directory `/home/appsInstall/gaim-0.68/sounds'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/share/sounds/gaim
mkdir -p -- /usr/local/share/sounds/gaim
mkdir: cannot create directory `/usr/local/share/sounds': Permission denied
make[2]: *** [install-soundsDATA] Error 1
make[2]: Leaving directory `/home/appsInstall/gaim-0.68/sounds'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/appsInstall/gaim-0.68/sounds'
make: *** [install-recursive] Error 1

when i issue which gaim, nothing turns up, so i think it is not installed atall.
now it seems like my sound card didn't configrerd correctly, but i dont understand why the program didn't install because of sound problem.
 
Old 09-20-2003, 01:16 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
In your case, you must be root to perform "make install".

-twantrd
 
Old 09-20-2003, 01:24 PM   #7
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Original Poster
Rep: Reputation: 30
yes i was root when i did make install
 
Old 09-20-2003, 06:36 PM   #8
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Quote:
Originally posted by taoweijia
yes i was root when i did make install
I don't know any other reason why "mkdir: cannot create directory `/usr/local/share/sounds': Permission denied" shows up otherwise? Type "whoami" to be sure. Use "su", followed by your root-password to become root temporary. (never login as root, or play root all day long)

I see you're using an appsInstall user for your installing. That's not such a bad idea at all

If you compile from source, you might want to take a tool at a tool called "checkinstall". It's able to monitor your "make install", and create a package for you. (you need to type "checkinstall" instead of "make install".)
 
Old 09-20-2003, 06:56 PM   #9
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Nope, you were not root when you used make install, here we can see it clearly:

taoweijia@linux gaim-0.68]$ make install

The dollar symbol represents an ordinary user logged. If you were logged as root, the symbol would be a hash (#) at the end of the above statement. If you're unsure about installing programs from source, read this thread:

http://www.linuxquestions.org/questi...threadid=45094

It might clarify a little these things. Yet, I'd also recommend you installing gaim from your Redhat CD's

Good luck!

Last edited by Mega Man X; 09-20-2003 at 07:00 PM.
 
Old 09-21-2003, 11:50 PM   #10
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Yes, Megaman is absolutely correct. That is how you distinguish users from root. Therefore do yapp's suggestion, type "su" and then root's password. At this point, everything should be ok. If you still have trouble installing from source, then the easier way would be to install from the rpm package.

-twantrd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed GAIM, Won't Connect to MSN koodoo Linux - Newbie 2 08-16-2005 11:19 AM
Just installed GAIM 1.1.2 package from Slackware.com, missing protocols. EOHooligan Slackware 4 02-06-2005 01:11 PM
Gaim 0.75 Security Patch Installed? wmeler Linux - Software 0 02-10-2004 11:07 AM
gaim - unable to chat because protocols not installed mtint Linux - Software 3 10-20-2002 03:46 PM
gaim crashs on startup after plug-ins installed tied2 Linux - Newbie 6 08-02-2002 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration