Proper Directory to Install Software Package
Greetings,
I'm running CentOS 7 and I downloaded kompozer-0.8b3.en-US.gcc4.2-i686.tar.gz into my Downloads directory. I would like to know what directory I should untar it into so it can be used by all users on the system. From what I understand if I just untar it as is, it will be untared into my Downloads directory and I'll be the only on who can use the program. Thanks |
if it is a binary tared you can just untar it in /opt then do a soft link to the executable (i put mine in) /usr/local/bin so I know it was done by me, but /usr/bin too will work.
if there is a desktop file to deal with then you can make the needed adjustments within that file to direct it to the executable if needed, and then move or copy that into /usr/share/applications then it will show up on ones menu. or untar it in your downloads dir - go su and move it into your /opt then do what is needed to finalize the process. that is what I do, it is a simple matter. if more help is needed to getter done post back. :D |
well I feel stupid,
Code:
userx%slackwhere ⚡ kompozer ⚡> ./kompozer it is suppose to run out of the box --?? if yours works in your home dir then ok it should work in /opt too. MOD: this tar kompozer-0.8b3.en-US.gcc4.2-i686.tar.gz is developed for the i686 whereas I am running a 86_64 slack what is 64bit only --- so therein lays my problem. Therefore what I stated before hand is still valid. |
Thanks for all the answers. BW-user, I'm a newbie, how do I set up a 'soft link'
Thanks again. |
Quote:
Code:
sudo ln -s /path/orginal/execuable/ExecutableName/ /path/where/you what to put it/ Code:
userx%slackwhere ⚡ ~ ⚡> cd /opt of course if you know the exact path then you do not actually have to be in the same dir. just BE SURE your paths are correct on source -> destination, and the executable is spelled correctly. you can also change the executable name in the destination directory to whatever you want, Linux even does this from some of its libs. for better compatibility reasons with other software. Just type in a name on the destination end to whatever you want to call it. but that is something that is a need by need case. |
Google, and other search engines, are your friends. Use them to search for answers, because most questions you might have are already answered on the web.
https://www.cyberciti.biz/faq/unix-c...nk-ln-command/ This is a short discussion on the difference between soft and hard links and how to use them. |
All times are GMT -5. The time now is 08:46 PM. |