View previous topic :: View next topic |
Author |
Message |
marter n00b
Joined: 29 Jun 2003 Posts: 37
|
Posted: Fri Jul 18, 2003 2:57 pm Post subject: emerge putting things in non-proper place |
|
|
just yesterday or something i was installing apache, i knew it was in the portage tree so i installed it like that
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
and download the source .tar and compling like that, and i had the /usr/local/apache struc.
what gives |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Fri Jul 18, 2003 3:02 pm Post subject: |
|
|
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 |
|
|
nikai Apprentice
Joined: 02 Oct 2002 Posts: 270 Location: Kitzbühel, Austria
|
Posted: Fri Jul 18, 2003 3:18 pm Post subject: |
|
|
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:
and for example
|
|
Back to top |
|
|
marter n00b
Joined: 29 Jun 2003 Posts: 37
|
Posted: Fri Jul 18, 2003 3:27 pm Post subject: |
|
|
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 |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Fri Jul 18, 2003 3:34 pm Post subject: |
|
|
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:
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 |
|
|
marter n00b
Joined: 29 Jun 2003 Posts: 37
|
Posted: Fri Jul 18, 2003 3:44 pm Post subject: |
|
|
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:
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
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 |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9530 Location: beyond the rim
|
Posted: Fri Jul 18, 2003 4:57 pm Post subject: |
|
|
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 |
|
|
|