Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge putting things in non-proper place
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
marter
n00b
n00b


Joined: 29 Jun 2003
Posts: 37

PostPosted: Fri Jul 18, 2003 2:57 pm    Post subject: emerge putting things in non-proper place Reply with quote

just yesterday or something i was installing apache, i knew it was in the portage tree so i installed it like that
Code:
emerge apache


to find i didn't have a
(/usr/local/apache2/)
structure, which totally sucked, cause ive used apache before and thats what i knew

so i ended up
Code:
emerge -C apache


and download the source .tar and compling like that, and i had the /usr/local/apache struc.

what gives
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Fri Jul 18, 2003 3:02 pm    Post subject: Reply with quote

Almost everything gets installed in /usr, not /usr/local. Binary-only ebulds get put in /opt.

This explains where/why everything goes where it goes. Check out the section '3.Filesystem Locations'

http://www.gentoo.org/doc/en/gentoo-howto.xml
Back to top
View user's profile Send private message
nikai
Apprentice
Apprentice


Joined: 02 Oct 2002
Posts: 270
Location: Kitzbühel, Austria

PostPosted: Fri Jul 18, 2003 3:18 pm    Post subject: Reply with quote

If you're feeling lost after an emerge, and need a list of files you just installed, 'qpkg -l' from gentoolkit can do that nicely:
Code:
emerge gentoolkit

and for example
Code:
qpkg -l apache
Back to top
View user's profile Send private message
marter
n00b
n00b


Joined: 29 Jun 2003
Posts: 37

PostPosted: Fri Jul 18, 2003 3:27 pm    Post subject: Reply with quote

Pythonhead wrote:
Almost everything gets installed in /usr, not /usr/local. Binary-only ebulds get put in /opt.

This explains where/why everything goes where it goes. Check out the section '3.Filesystem Locations'

http://www.gentoo.org/doc/en/gentoo-howto.xml


then how can i find out where it put everything, like i instlled mysql.

the tables and stuff are not where i thought they would be
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Fri Jul 18, 2003 3:34 pm    Post subject: Reply with quote

marter wrote:

then how can i find out where it put everything, like i instlled mysql.
the tables and stuff are not where i thought they would


The same way nikai said:

Code:
qpkg -l mysql


This will show the location of everything the mysql package installed.

It may take some getting used to, but once you know that everything is in a uniform location in the filesystem, you won't have to remember which software installs something in /usr/local or /opt or /usr/share etc.
Back to top
View user's profile Send private message
marter
n00b
n00b


Joined: 29 Jun 2003
Posts: 37

PostPosted: Fri Jul 18, 2003 3:44 pm    Post subject: Reply with quote

Pythonhead wrote:
marter wrote:

then how can i find out where it put everything, like i instlled mysql.
the tables and stuff are not where i thought they would


The same way nikai said:

Code:
qpkg -l mysql


This will show the location of everything the mysql package installed.

It may take some getting used to, but once you know that everything is in a uniform location in the filesystem, you won't have to remember which software installs something in /usr/local or /opt or /usr/share etc.


yea i made that post i guess at the same in nikai did, and i got gentoolkit installed and did
Code:
qpkq -l mysql


but i still can find where the table are put in the drive, only reason im doing this is cause somehow my privleges in sql got bad messed up and i cant do anything with any account (create/drop etc)
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9530
Location: beyond the rim

PostPosted: Fri Jul 18, 2003 4:57 pm    Post subject: Reply with quote

mysql stores its data in /var/lib/mysql (data is created at runtime, so it does not show up in epm or qpkg)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum