You are not logged in.

#1 2015-09-24 21:07:55

hifi25nl
Member
Registered: 2011-05-07
Posts: 264

Different version of package to /opt or /usr/local?

I would like to install Scribus svn package (1.5x branch) alongside Scribus official 1.4x

If I want to follow archlinux packaging standard, it is correct to install to /opt, to /opt/scribus or /usr/local?

Thank you.

Offline

#2 2015-09-24 21:26:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Different version of package to /opt or /usr/local?

Packages should never install anything to /usr/local, with the filesystem package being the only exception.

If you're installing it manually, /usr/local would be correct.

Last edited by Scimmia (2015-09-24 21:26:55)

Offline

#3 2015-09-24 21:37:27

hifi25nl
Member
Registered: 2011-05-07
Posts: 264

Re: Different version of package to /opt or /usr/local?

But... /opt or /opt/scribus?

Offline

#4 2015-09-24 21:51:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: Different version of package to /opt or /usr/local?

Whichever you want.  Personally if I were to install anything in opt I'd use just /opt as the install prefix.  That way you only need to add /opt/bin to your PATH rather then updating your PATH every time you install some new package to /opt/yet-another-package/.

Of course, on the flip side, if you'd ever want three versions installed, /opt/scribus might be better so you could have /opt/scribusA, /opt/scribusB, etc.

And now that I think about it you may not want /opt/bin in your path - depending on which scribus you want to be the "default".


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2015-09-24 23:02:07

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: Different version of package to /opt or /usr/local?

I should be /opt/$pkgname or /opt/$pkgname/$pkgver

Offline

Board footer

Powered by FluxBB