LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Where do tgz format put programs? (https://www.linuxquestions.org/questions/slackware-14/where-do-tgz-format-put-programs-464728/)

M$ISBS 07-16-2006 11:42 PM

Where do tgz format put programs?
 
My kde install is not in /opt Its in /home/me/kde. I tried to install a blender tgz and it got put in /opt/blender and does not show up in the KDE multimedia menu. I installed xine tgz and it does show up in the KDE menu. Why did that happen? If my KDE install is not in /opt is that a problem other than having to specify PATH= when I do a ./config?

Thank you for any help.

Daga 07-17-2006 12:01 AM

.tgz files are gzip'd tarballs. You can find out where it is placing files by using:

Quote:

tar -tzf package.tgz
If you have KDE in a non-standard place, you will have to either:

1. tinker with file locations from the pacakge or
2. compile the application from source

Depending on the application, option 1 may or may not work.

gbonvehi 07-17-2006 01:07 AM

Not all programas include KDE's menu files in their packages. You can easily create a shortcut if you need it.

Noryungi 07-17-2006 05:25 AM

If you are not sure where a program is, after installing its .tgz package, you can always take a look at its log file.

To have a list of all log files enter the command:
ls /var/log/packages/

To list the content of a specific log file, enter:
less /var/log/packages/<name_of_program>

For instance (I just made this up, so change the name):
less /var/log/packages/blender-2.71.40_i486_1

dunric 07-17-2006 09:02 AM

First you can install relocationable packages in another destination by specifying -root parametr at installpkg command (or alternatively ROOT env. variable).

Second KDE searches for menu entries besides default path by KDEDIRS environment variable - there should be stored base paths for share/applnk or share/applications subdirs. In your case you may add following entry in /etc/profile f.E.
Code:

export KDEDIRS=${KDEDIRS:+${KDEDIRS}:}/opt/blender
- assuming menu entries are stored in /opt/blender also.


All times are GMT -5. The time now is 03:56 PM.