Home  |  Featured Game  |  Games  |  Developers  |  Forums  |  About  |  Privacy  |  Contact Forgot Password?  |  Register |  Login
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing  
Linux - where to install it to?  XML
Forum Index » On The Rain-Slick Precipice of Darkness, Episode One
Author Message
dogscoff

Greenhouse Member

Joined: 05/24/2008 02:08:06
Messages: 7
Offline

I always have this problem with linux... where should I put all the decompressed files and folders? I'd rather not continue to keep them on my desktop or in my home folder. Obviously the game will run happily wherever the files happen to be, but it would be nice to know where they are *supposed* to live.
taco

Greenhouse Member

Joined: 04/02/2008 16:45:11
Messages: 14
Offline

anywhere you want to put it while still having permission to read/write to the directory without elevating privileges.
dogscoff

Greenhouse Member

Joined: 05/24/2008 02:08:06
Messages: 7
Offline

Well yeah but... where? /usr? /bin? I don't really know what all those folders are for, what would the convention be in a situation like this?
ivazquez

Greenhouse Member

Joined: 05/23/2008 00:20:36
Messages: 21
Offline

RainSlickEp1 goes in /usr/local/bin. The libs in linux_libs/ go in /usr/local/lib. The .html files and .pdf file go in /usr/local/share/docs/RainSlickEp1. The other files go in /usr/local/share/RainSlickEp1. Don't forget to modify the script and ld.so.conf as needed.

If you're that desperate for a .spec file then I can write one up, but I'd rather not.
WizMaster

Greenhouse Member

Joined: 05/23/2008 14:14:23
Messages: 9
Offline

ivazquez wrote:RainSlickEp1 goes in /usr/local/bin. The libs in linux_libs/ go in /usr/local/lib. The .html files and .pdf file go in /usr/local/share/docs/RainSlickEp1. The other files go in /usr/local/share/RainSlickEp1. Don't forget to modify the script and ld.so.conf as needed.

If you're that desperate for a .spec file then I can write one up, but I'd rather not.


RainSlickEp1_bin should be in the same directory as RainSlickEp1.

I say just extract and play. That's how it was set up (the script, etc.) and manually placing the files across your filesystem is annoying when you want to get rid of it later on (assuming you remember). Any particular reason why you don't want it in your home folder? You could just extract the folder somehwere (anywhere) as is and place the path in your PATH. That way you won't have to remember where anything is.

Of course, I have a feeling many major distros will have something in their package manager to take care of it soon enough.
Soultaker

Greenhouse Member
[Avatar]

Joined: 05/22/2008 00:40:35
Messages: 28
Offline

I wouldn't recommend manually installing files in /usr/local. A better place for self-contained packages like this is /opt if you want it to be available globally (every user still has to activate individually though).
ivazquez

Greenhouse Member

Joined: 05/23/2008 00:20:36
Messages: 21
Offline

WizMaster wrote:RainSlickEp1_bin should be in the same directory as RainSlickEp1.

Wrong. RainSlickEp1_bin isn't meant to be run directly, and there's no requirement for it to be in the same directory.
WizMaster

Greenhouse Member

Joined: 05/23/2008 14:14:23
Messages: 9
Offline

ivazquez wrote:
WizMaster wrote:RainSlickEp1_bin should be in the same directory as RainSlickEp1.

Wrong. RainSlickEp1_bin isn't meant to be run directly, and there's no requirement for it to be in the same directory.


If I remember correctly, the script calls it in the current directory. You could modify the script of course. Either way, I don't think it's a good idea moving the files all over the file system.
 
Forum Index » On The Rain-Slick Precipice of Darkness, Episode One
Go to: