Program says installed but where is it?
Program says installed but where is it?
When I go in the my_applications folder in puppy tcsh is not installed. However the package manager says it is able to uninstall tcsh so I know tcsh is installed. Even though it's installed, the $tcsh command doesn't switch bash to tcsh, and I can't find the folder tcsh was installed in. Where does puppy install programs by default? What folder is puppy installing programs in? I've looked in every damn folder in the system.
- a_salty_dogg
- Posts: 180
- Joined: Sun 15 Dec 2013, 19:08
I've no idea what that is but until somebody knowledgeable comes along, "usr/lib" or "opt" are good places to start looking for programs, or see if a link to it has been created in "usr/share/aplications", which you can hover over to see where the executable file is located or click on it to execute.
Good luck.
Edit - or "usr/local/lib" is another possibilty
You've tried via Menu > filesystem > Pfind?
Good luck.
Edit - or "usr/local/lib" is another possibilty
You've tried via Menu > filesystem > Pfind?
What version of Puppy?
Use Pfind and do a search for tcsh.
In Pfind make sure in Where to search.
Select system files or all files.
The tcsh exec file is in /usr/bin
The way Puppy menus work.
Programs not specifically compiled for Puppy, may or may not make the necessary files for a menu entry. Some are made to just run from console.
the my_applications folder in puppy is a place you have to manually put something into.
Nothing ever installs into it.
Read the readme file in my_applications folder.
Xenialpup64 7.5 tcsh installed using the Puppy Package Manager(PPM)
Runs in a console, but I have no idea how to use it.
Use Pfind and do a search for tcsh.
In Pfind make sure in Where to search.
Select system files or all files.
The tcsh exec file is in /usr/bin
The way Puppy menus work.
Programs not specifically compiled for Puppy, may or may not make the necessary files for a menu entry. Some are made to just run from console.
the my_applications folder in puppy is a place you have to manually put something into.
Nothing ever installs into it.
Read the readme file in my_applications folder.
Xenialpup64 7.5 tcsh installed using the Puppy Package Manager(PPM)
Runs in a console, but I have no idea how to use it.
- Attachments
-
- capture14400.png
- (193.34 KiB) Downloaded 276 times
Last edited by bigpup on Tue 24 Apr 2018, 23:09, edited 2 times in total.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Typeor
Code: Select all
whereis yourprogram
Code: Select all
which yourprogram
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
More suggestions:
Try:
Regarding my above suggetion of looking in
Try:
Code: Select all
find / -name '*tcsh*'
be sure to click on the eye in your file manager (i.e. rox) so that you can see the hidden files. Filenames that start with '.' are hidden.~/.packages
Hi, tcshhead.
If you know for a fact that the file is an Linux executable (and tcsh is),
then this one-liner, based on the execs $PATH and the tree utility, should
find it (in addition to the which utility, etc.):Summary:
IHTH
~~~~~~~~~~~~~
P.S. (for completeness) -- You can use a similar line to search for
libraries, using $LD_LIBRARY_PATH. Example with cairo.so:
Note -- Those lines will not catch any exec or library installed in /opt
(e.g. /opt/palemoon/palemoon) or underneath /usr/lib itself (e.g.
/usr/lib/firefox/firefox).
If you know for a fact that the file is an Linux executable (and tcsh is),
then this one-liner, based on the execs $PATH and the tree utility, should
find it (in addition to the which utility, etc.):
Code: Select all
A=tcsh;echo $PATH | tr ":" "\n" | while read line;do tree -fi $line -L 3 | grep $A;done
- You define your search term in A=something.
Then "echo" feeds,
via tr,
all the directories for executables in $PATH
to tree,
and grep filters the results on your search term.
- it's fast;
it covers a lot of ground;
but the list of results remains easily readable.
Code: Select all
A=play;echo $PATH | tr ":" "\n" | while read line;do tree -fi $line -L 3 | grep $A;done
If your Puppy does not have the tree utility by default, you can get a copy here./usr/bin/aplay
/usr/bin/aplaymidi
/usr/bin/arecord -> aplay
/usr/bin/cdda-player
/usr/bin/ffplay
/usr/bin/flash-player-properties
/usr/bin/madplay
/usr/bin/mkplaylist
/usr/bin/pitchplay
/usr/bin/play -> sox
/usr/bin/play_cell
/usr/bin/sndfile-play
/usr/bin/sudoreplay
/usr/local/bin/bdplayback_aacs
/usr/local/bin/defaultaudioplayer
/usr/local/bin/defaultcdplayer
/usr/local/bin/defaultmediaplayer
/usr/local/bin/wavplay
/usr/local/bin/wavrec -> wavplay
/opt/local/bin/playsound
/opt/local/bin/playsound_simple
/root/my-applications/bin/playsound
/root/my-applications/bin/playsound_simple
IHTH
~~~~~~~~~~~~~
P.S. (for completeness) -- You can use a similar line to search for
libraries, using $LD_LIBRARY_PATH. Example with cairo.so:
Code: Select all
A=cairo.so;echo $LD_LIBRARY_PATH | tr ":" "\n" | while read line;do tree -fi $line -L 3 | grep $A;done
~~~~~~~~~~~~~/usr/lib/libcairo.so -> libcairo.so.2.11400.6
/usr/lib/libcairo.so.2 -> libcairo.so.2.11400.6
/usr/lib/libcairo.so.2.11400.6
Note -- Those lines will not catch any exec or library installed in /opt
(e.g. /opt/palemoon/palemoon) or underneath /usr/lib itself (e.g.
/usr/lib/firefox/firefox).
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
That's a cool solution but if it is in the executable search path, as far as I now "which" should find it. Maybe it is somewhere else like under /opt.musher0 wrote:Hi, tcshhead.
...Code: Select all
A=play;echo $PATH | tr ":" "\n" | while read line;do tree -fi $line -L 3 | grep $A;done
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
Re: Program says installed but where is it?
There is no default. And there is no "puppy" either. Every creator of a package is free to select (almost) any directory he pleases to install an app though conventions and practical considerations will limit the choice to only a few locations.tcshhead wrote:Where does puppy install programs by default?
Still there is no guarantee that the executable is installed in a $PATH location, in which case the commands type or which would not find it. There is even no guarantee that the package contains an executable with the same name as the package which will leave you completely in the dark what to look for.
Every package you install will create a file in directory /root/.packages with name /root/.packages/<packagename>.files.
This is a text file and contains the names and paths of all files installed by this particular package. If you examine this file with a text editor you will find what you are looking for.
If you are comfortable with the command line you could use a command like
Code: Select all
grep tcsh$ /root/.packages/*.files
Well, in this case you should have found it...I've looked in every damn folder in the system.
Another way. Faster, simpler and saves a tree :musher0 wrote:Example with "play", a component of the SoundExchange ("SoX") suite:Code: Select all
A=play;echo $PATH | tr ":" "\n" | while read line;do tree -fi $line -L 3 | grep $A;done
Code: Select all
find ${PATH//:/ } -name *play*
Last edited by MochiMoppel on Tue 24 Apr 2018, 06:30, edited 1 time in total.
Re: Program says installed but where is it?
An earth day punMochiMoppel wrote:Another way. Faster, simpler and saves a tree :musher0 wrote:Example with "play", a component of the SoundExchange ("SoX") suite:Code: Select all
A=play;echo $PATH | tr ":" "\n" | while read line;do tree -fi $line -L 3 | grep $A;done
Code: Select all
find ${PATH//:/ } -name *play*
found tcsh
So I see tcsh is installed in the sbin folder. So I understand how to navigate to that directory in bash but I don't understand how to run tcsh. What is the command to run tcsh? I am running 64 bit Slackware Puppy btw.
Did no one read this?
If it is in /sbin.
Simply type tcsh in a console to run it.
If it is in /sbin.
Simply type tcsh in a console to run it.
bigpup wrote:What version of Puppy?
Use Pfind and do a search for tcsh.
In Pfind make sure in Where to search.
Select system files or all files.
The tcsh exec file is in /usr/bin
The way Puppy menus work.
Programs not specifically compiled for Puppy, may or may not make the necessary files for a menu entry. Some are made to just run from console.
the my_applications folder in puppy is a place you have to manually put something into.
Nothing ever installs into it.
Read the readme file in my_applications folder.
Xenialpup64 7.5 tcsh installed using the Puppy Package Manager(PPM)
Runs in a console, but I have no idea how to use it.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
That is not specific enough info.I am running 64 bit Slackware Puppy btw.
There are several Slackware based Puppies that are 64 bit.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Re: found tcsh
can you just type tcsh in the command line? This should work since sbin should be in your PATH variable. Otherwise you can navigate to the directory, open a terminal by pressing the "~" button on your keyboard to open a terminal and then typing in tcsh Or ./tcsh or exec tcsh.tcshhead wrote:So I see tcsh is installed in the sbin folder. So I understand how to navigate to that directory in bash but I don't understand how to run tcsh. What is the command to run tcsh? I am running 64 bit Slackware Puppy btw.