LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 06-18-2008, 04:22 AM   #1
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 12.04 64-bit
Posts: 230

Rep: Reputation: 30
Where do apps get installed to when doing a sudo apt-get install ?


Hi

I did a
sudo apt-get install mysql-community-server-5.0
and MySQL5 got installed.
But how do I find out where it got installed to ?

Thanks
 
Old 06-18-2008, 10:00 AM   #2
davidshere
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by anjanesh View Post
Hi

I did a
sudo apt-get install mysql-community-server-5.0
and MySQL5 got installed.
But how do I find out where it got installed to ?

Thanks
The files get installed to many places on the computer. Are you looking to start the server? Access it?

When I run the same command, I get this:

Code:
david@nighthawk:~$ sudo apt-get install mysql-community-server-5.0
[sudo] password for david: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package mysql-community-server-5.0 is a virtual package provided by:
  mysql-server-5.0 5.0.51a-3ubuntu5.1
You should explicitly select one to install.
E: Package mysql-community-server-5.0 has no installation candidate

Last edited by davidshere; 06-18-2008 at 10:04 AM.
 
Old 06-18-2008, 10:14 AM   #3
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 12.04 64-bit
Posts: 230

Original Poster
Rep: Reputation: 30
I did get that msg first - but later it somehow installed. I verified it by accessing mysql.

But coming to the installation location question - Im thinking like in Windows - it would normally reside in C:\Program Files\Program Name.

Is there no linux equivalent of Windows Program Files ?
 
Old 06-18-2008, 10:37 AM   #4
Takla
Member
 
Registered: Aug 2006
Distribution: Debian
Posts: 188

Rep: Reputation: 33
Quote:
Originally Posted by anjanesh View Post
Hi

I did a
sudo apt-get install mysql-community-server-5.0
and MySQL5 got installed.
But how do I find out where it got installed to ?

Thanks
Code:
dpkg -L packagename
will show you all the files installed by that package.

Quote:
Originally Posted by anjanesh View Post
But coming to the installation location question - Im thinking like in Windows - it would normally reside in C:\Program Files\Program Name.

Is there no linux equivalent of Windows Program Files ?
Actually it isn't the case that a program in Windows is only installed to C:\Program Files. Typically there will also be multiple directories and files (some hidden by default) created in C:\Documents and Settings\. There also may be dlls and uninstallers installed into C:\Windows\system32. and don't forget the changes made to the Windows registry.

Last edited by Takla; 06-18-2008 at 10:45 AM.
 
Old 06-18-2008, 02:44 PM   #5
clementis
Member
 
Registered: Feb 2008
Posts: 40

Rep: Reputation: 15
try the command: whereis [command]

for more info on that command: man whereis

many executables are installed to /usr/bin/


clementis
 
Old 06-18-2008, 04:16 PM   #6
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
Quote:
Originally Posted by clementis View Post
try the command: whereis [command]

for more info on that command: man whereis

many executables are installed to /usr/bin/


clementis
which [command] will shorten that list to where the executable is.

echo $PATH will give a list of folders where the system looks for executables.
 
  


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
Issues with sudo and Gnome apps livewire98801 Linux - Security 1 06-03-2007 06:13 PM
cant start X apps using su or sudo slinky2004 Linux - Newbie 3 11-30-2005 08:14 PM
apt is confused, trying to install packages that are already installed tomj88 Debian 10 09-11-2005 06:33 PM
wine-20031212 and 2.6.0 on slack : can install win apps but not run once installed C++freak Linux - Software 3 12-28-2003 01:16 AM
Already installed apps not loading after rpm installer for other apps toastermaker Linux - Newbie 11 11-17-2003 11:25 AM


All times are GMT -5. The time now is 11:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration