Finding a program after it's been installed. [Solved]

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Finding a program after it's been installed. [Solved]

Postby Exospaciac » Sun Mar 11, 2012 12:50

Is there a way to find out where files to a program were installed when using entropy?

I installed dolphin-emu, but can't get it to run and can't find that it was even installed. Running "dolphin-emu" in a terminal does nothing.

I tried searching for it in /usr/bin and /usr/games but found nothing. Reinstalling also did nothing.

So is there a way to check if it's actually installed?
Exospaciac
Simple Hen
 
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Re: Finding a program after it's been installed.

Postby svantoviit » Sun Mar 11, 2012 15:08

You can try
Code: Select all
whereis dolphin
or maybe doplphin-emu?

Or
Code: Select all
find / -iname 'dolphin*'
but this will take relatively long as you are searching the whole system.
You can search faster with locate as described by Fitzcarraldo here: Re: Problem, missing apps.

Maybe you should check if your user is member of the games group. To list user's groups just run
Code: Select all
groups
in terminal.
If you need to add your user to the games group run
Code: Select all
gpasswd -a USER games
Of course replace USER with your user name.
User avatar
svantoviit
Technological Hen
 
Posts: 385
Joined: Sun Feb 28, 2010 17:55
Location: Europe

Re: Finding a program after it's been installed.

Postby sabayonino » Sun Mar 11, 2012 18:02

svantoviit wrote:You can try
Code: Select all
whereis dolphin
or maybe doplphin-emu?

Or
Code: Select all
find / -iname 'dolphin*'
but this will take relatively long as you are searching the whole system.
You can search faster with locate as described by Fitzcarraldo here: Re: Problem, missing apps.

Maybe you should check if your user is member of the games group. To list user's groups just run
Code: Select all
groups
in terminal.
If you need to add your user to the games group run
Code: Select all
gpasswd -a USER games
Of course replace USER with your user name.

I suggest sys-apps/mlocate

Code: Select all
# equo install mlocate


then run "updatedb" to build database

To find something :
Code: Select all
$ locate something
User avatar
sabayonino
Sagely Hen
 
Posts: 1563
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Finding a program after it's been installed.

Postby Exospaciac » Sun Mar 11, 2012 20:50

Cool, got it to work and found out my problem. Thanks!
Exospaciac
Simple Hen
 
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Re: Finding a program after it's been installed.

Postby micia » Sun Mar 11, 2012 22:09

Another way to find out where and what a package installs on your system is running:
Code: Select all
equo query files <package name>

for example:
Code: Select all
equo query files dolphin


Most of the times executable files are installed into bin directories, thus the command:
Code: Select all
equo query files <package name> | grep bin

often reveals the executables you are looking for.

I am marking this topic as solved, since it seems you have solved your problem, remember to do it yourself next time, as per:
viewtopic.php?f=76&t=17059
:wink:
User avatar
micia
Sagely Hen
 
Posts: 2710
Joined: Wed Nov 26, 2008 16:41

Re: Finding a program after it's been installed. [Solved]

Postby totedati » Sun Mar 11, 2012 23:17

equo commands is enough to find binary name:

Code: Select all
equo query files games-emulation/dolphin-emu | grep bin
>>  ### /usr/games/bin
>>  ### /usr/games/bin/dolphin-emu
>>  ### /usr/lib/debug/usr/games/bin
>>  ### /usr/lib/debug/usr/games/bin/dolphin-emu.debug
>>  ### /usr/share/games/dolphin-emu/sys/GC/font_ansi.bin
>>  ### /usr/share/games/dolphin-emu/sys/GC/font_sjis.bin
>>  ### /usr/share/games/dolphin-emu/user/Wii/shared2/wc24/misc.bin
>>  ### /usr/share/games/dolphin-emu/user/Wii/shared2/wc24/nwc24dl.bin
>>  ### /usr/share/games/dolphin-emu/user/Wii/shared2/wc24/nwc24fl.bin
>>  ### /usr/share/games/dolphin-emu/user/Wii/shared2/wc24/nwc24fls.bin


then you can verify again using

Code: Select all
which dolphin-emu
/usr/games/bin/dolphin-emu


and now you know you executable name ...

is true some packages have nonintuitive executable names, disconnected and unrelated with package name and if you do not know what is its binary name you are lost in a sea of executable binaries in /usr/bin
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
User avatar
totedati
Technological Hen
 
Posts: 400
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: Lemuriano and 1 guest