LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-22-2006, 04:24 PM   #1
Josh100
Member
 
Registered: Feb 2006
Distribution: Mandriva, Suse 10.2
Posts: 39

Rep: Reputation: 15
Installed Files


Hey new to the forums

This is probably a really stupid question but where the hell do files go when you've installed them?

I just downloaded real vnc and I install it but i've got no idea where it goes?

Thanks for any help

PS, i'm using Mandriva 2006

Last edited by Josh100; 02-22-2006 at 04:27 PM.
 
Old 02-22-2006, 04:46 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
hi, and welcome to LQ
The answer is it depends. How did you install the file?
With rpm, by compiling the source, by using another installer...
Anyway, the file-structure in unix is a little bit odd. Especially if you come from a Windows background. The program files may go in many different locations, and not under a specific directory.
Executables go under /usr/bin or /usr/local/bin
libraries under /usr/lib or /usr/local/lib
other files go to /usr/share/
etc

Some applications that have their own installer may be installed under a directory and create links to the directories mentioned earlier.
 
Old 02-22-2006, 04:52 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Installed how?
If using standard source and commands like.
./configure, make ,make install
Then read the Makefile and check the install section.

If using rpms then one can view with an rpm compatiable viewer.
 
Old 02-22-2006, 04:59 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
If you installed from an rpm package, you can use the the command:
rpm -q --filesbypkg realvnc
That is assuming that realvnc is the name of the package under Mandriva. If you are uncertain on the name of the package, you can first use:
rpm -q --all | grep vnc
to display all packages containing the string "vnc".

A program normally used by root, installed by a distro package may go under /usr/sbin/.

You can also use MCC to list all of the files in a package. kpackage if it is installed will also list the files.

It is possible that you installed a source package by mistake. You can install a source package by cd'ing to /usr/src/redhat/SPECS and entering the command:
rpmbuild -bi realvnc.spec

What I like about source packages is that the document sources are often included, and after patching, ( rpmbuild -bp realvnc.spec ) there may be a make target for pdf, or ps (in the BUILD directory).
 
Old 02-22-2006, 05:24 PM   #5
Josh100
Member
 
Registered: Feb 2006
Distribution: Mandriva, Suse 10.2
Posts: 39

Original Poster
Rep: Reputation: 15
I'm not really sure what it is, the file name is.

vnc-4_1_1-1.i386.rpm
 
Old 02-22-2006, 06:36 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Do like jschiwal says. Run the command ' rpm -q --filesbypkg vnc-4_1_1-1 '
 
Old 02-23-2006, 03:25 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
You can use: rpm -q --filesbypkg vnc
The version numbers after the name are not needed.

You can view information about the package with:
rpm -q --info vnc

Also look for the README file, and any documentation. Sometimes a number of commands are included. Make note of them and the manpages. Some may be useful!

Last edited by jschiwal; 02-23-2006 at 04:12 AM.
 
Old 02-23-2006, 06:02 AM   #8
Josh100
Member
 
Registered: Feb 2006
Distribution: Mandriva, Suse 10.2
Posts: 39

Original Poster
Rep: Reputation: 15
i just keep getting

package vnc is not installed



[root@localhost Download]# rpm -q --filesbypkg vnc-4_1_1-1
package vnc-4_1_1-1 is not installed
[root@localhost Download]#
[root@localhost Download]# rpm -q --info vnc
package vnc is not installed
[root@localhost Download]#
[root@localhost Download]# rpm -q --filesbypkg vnc
package vnc is not installed
[root@localhost Download]#
[root@localhost Download]# rpm -q --all | grep vnc
tightvnc-1.2.9-6mdk
tightvnc-server-1.2.9-1
[root@localhost Download]#

tightvnc is the one that comes with it, i can get it to remote contorl my windows pc, but i can't get the windows pc to remote control this one, this is why i am trying to install real vnc, as that is what the windows machine has.

thanks for all the replys
 
Old 02-23-2006, 01:59 PM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
There is a tightvnc package. It installs it's executables in /usr/X11R6/bin/.

Try rpm -q tightvnc. If you know where a particular file is you can enter "rpm -q --whatprovides <full path to file/filename>"
example:
rpm -q --whatprovides /etc/xinetd.d/vnc
tightvnc-1.2.9-186

If you installed a package from a tarball, it probably won't show up. Some tarballs have "make rpm" targets. There also is a wrapper program that does the "./configure" and "make" targets and then produces an rpm. These techniques could be used in the future to allow you to have tarball installed applications show up in the rpm database.
 
Old 02-23-2006, 03:23 PM   #10
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 275

Rep: Reputation: 32
How Did You Install It?

What if the error messages are accurate and its not actually installed yet?
 
  


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
The following files are already installed on the system and are being used by another xpucto Solaris / OpenSolaris 4 02-13-2006 07:01 AM
System Files Installed But Not inescapeableus Linux - Software 0 07-30-2004 12:13 AM
Locating Installed Programs /or Files Mr T Donegal Linux - Software 5 06-28-2004 08:36 PM
How uninstall installed files? cleanek Slackware 2 10-19-2003 11:43 AM
how to remove installed tar files marvc Linux - Software 3 04-17-2003 07:35 PM

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

All times are GMT -5. The time now is 02:41 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