SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
And why /usr/games instead of /opt/games or even better /opt/zengamer ??
Is just an opinion, and in the end is your project, your call, but I like the FHS standard as a way to have everything ordered. And you could do whatever you want with the structure under /opt/<...> and still be a compliant package.
Of course, if you want to be 100% FHS compliant you'll end up installing like
Code:
data = /opt/zengamer/$softname # it could actually be anyhing you want.
bin = /opt/zengamer/bin # or you can come up with your own structure
man = /usr/zengamer/share/man # and add it to the MANPATH, or use /usr/share/man directly.
That way, uninstalling all your games is as easy as
Code:
sudo rm -rf /opt/zengamer
and you can be 100% sure that you can remove anything under /opt/zengamer and don't have a single trouble with your system.
Under a Slackware system, accidentaly deleting /usr/games/fortune would stop the funny messages at login and show a "No such file or directory"-style error instead.
Just a suggestion, though. I didn't meant to sound too critical. That's how I would have done it, and thankfully this is linux, so I can grab the build script and the source code and just change the necesary things to get it working the way I like it
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.