[wellylug] repository timed out issues
Jethro Carr
jethro.carr at jethrocarr.com
Sat Jun 24 18:00:24 NZST 2006
On Sat, 2006-06-24 at 13:12 +1200, Sebastian wrote:
> aloha...
>
> * Jethro Carr <jethro.carr at jethrocarr.com> [2006-06-24 13:03 +1200]:
> > On Sat, 2006-06-24 at 12:01 +1200, Sebastian wrote:
>
> [...]
>
> > > also, you might want to change the access rights of the newly created
> > > directory with something like 'chmod 777 /usr/share/yourdir' or change
> > > its owner/group to your user, e.g. 'chown user /usr/share/yourdir'.
> >
> > whilst this can be done, it's usually a bad idea, as any other user
> > could then change the files.
> >
> > If you just want to install it, and be able to run it as a normal user,
> > use:
> > ----
> > chmod 755 /usr/share/yourdir
> > ----
> >
> > This makes it so only root can write, but any user can read.
>
> actually, creating files manually in /usr/share is discouraged as this
> is the domain of the package management and you might get in its way
> someday. more often, files are put under /usr/local (or /usr/local/share
> in Steve's case), though he might have special needs for putting it into
> /usr/share.
yeah, normally you don't want to put your own files there.
Steve, people are "divided" over where to store your own programs....
Some people (like me) install their programs directly to /usr/, like
your Linux distro does. However, this can risk potential conflicts, if a
distro package contains these files. (as Sebastian said). You usually
want to know what you are doing if you choose this path. :-)
Others use /usr/local/ for installing their own programs. This is
thought to be the original intent for this directory (although that is
argued). This is probably the best place to put your own programs.
Finally, the next common choice is /opt/. However, the problem with
putting programs in /opt/ is that you need to make sure your bash shell
is configured to look for programs there, and that man is configured to
use that dir. For a new user, it might just be unneeded hassle. :-)
But it also depends on what type of program you are installing. The
above applies for self built programs.
But if you're install a pre-built binary program (eg: Unreal Tournament
2004), the best place is usually /opt/. (eg: /opt/ut2004/).
In the end of the day, it's upto you and what you find easiest. :-)
--
Jethro Carr
www.jethrocarr.com
www.jethrocarr.com/index.php?page=cv/cv.php
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20060624/c9960cf3/attachment.pgp
More information about the wellylug
mailing list