Install distributed /usr/-like package hierarchy to the /usr/ directory

Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
0
down vote
favorite
I have a software package that includes headers, libraries (including lib64/), a bin/ directory, etc. that all need to be copied into the /usr/ directory; for example:
./some-package-dist/
bin/
include/
lib/
lib64/
I have inspected these files to make sure that, if copied one by one from ./**/* to /usr/**/*, they would work just fine - assuming the directory structure could also be created automatically, too (as in, the necessary directory hierarchy hasn't been created yet).
What is the easiest way to 'install' them to the /usr/ directory without disrupting or corrupting any other existing files in the /usr/ directory?
software-installation file-copy
add a comment |Â
up vote
0
down vote
favorite
I have a software package that includes headers, libraries (including lib64/), a bin/ directory, etc. that all need to be copied into the /usr/ directory; for example:
./some-package-dist/
bin/
include/
lib/
lib64/
I have inspected these files to make sure that, if copied one by one from ./**/* to /usr/**/*, they would work just fine - assuming the directory structure could also be created automatically, too (as in, the necessary directory hierarchy hasn't been created yet).
What is the easiest way to 'install' them to the /usr/ directory without disrupting or corrupting any other existing files in the /usr/ directory?
software-installation file-copy
I would install the complete application in an app folder i.e. /usr/local/appname/
â Raman Sailopal
Jul 18 at 11:42
This is essentially what the Coreutilsinstallprogram does - seeman install
â steeldriver
Jul 19 at 1:40
@RamanSailopal How does that solve anything?
â Qix
Jul 19 at 6:29
@steeldriver I'm having trouble forming a proper command line for it - trying with an empty/tmp/usr/directory to test, nothing ever ends up in/tmp/usrbut theinstallcall returns 0. According to the man pages, something likeinstall -d -T ../usr ./should work, but nothing seems to happen.
â Qix
Jul 19 at 6:30
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a software package that includes headers, libraries (including lib64/), a bin/ directory, etc. that all need to be copied into the /usr/ directory; for example:
./some-package-dist/
bin/
include/
lib/
lib64/
I have inspected these files to make sure that, if copied one by one from ./**/* to /usr/**/*, they would work just fine - assuming the directory structure could also be created automatically, too (as in, the necessary directory hierarchy hasn't been created yet).
What is the easiest way to 'install' them to the /usr/ directory without disrupting or corrupting any other existing files in the /usr/ directory?
software-installation file-copy
I have a software package that includes headers, libraries (including lib64/), a bin/ directory, etc. that all need to be copied into the /usr/ directory; for example:
./some-package-dist/
bin/
include/
lib/
lib64/
I have inspected these files to make sure that, if copied one by one from ./**/* to /usr/**/*, they would work just fine - assuming the directory structure could also be created automatically, too (as in, the necessary directory hierarchy hasn't been created yet).
What is the easiest way to 'install' them to the /usr/ directory without disrupting or corrupting any other existing files in the /usr/ directory?
software-installation file-copy
edited Jul 18 at 9:08
asked Jul 18 at 9:03
Qix
308311
308311
I would install the complete application in an app folder i.e. /usr/local/appname/
â Raman Sailopal
Jul 18 at 11:42
This is essentially what the Coreutilsinstallprogram does - seeman install
â steeldriver
Jul 19 at 1:40
@RamanSailopal How does that solve anything?
â Qix
Jul 19 at 6:29
@steeldriver I'm having trouble forming a proper command line for it - trying with an empty/tmp/usr/directory to test, nothing ever ends up in/tmp/usrbut theinstallcall returns 0. According to the man pages, something likeinstall -d -T ../usr ./should work, but nothing seems to happen.
â Qix
Jul 19 at 6:30
add a comment |Â
I would install the complete application in an app folder i.e. /usr/local/appname/
â Raman Sailopal
Jul 18 at 11:42
This is essentially what the Coreutilsinstallprogram does - seeman install
â steeldriver
Jul 19 at 1:40
@RamanSailopal How does that solve anything?
â Qix
Jul 19 at 6:29
@steeldriver I'm having trouble forming a proper command line for it - trying with an empty/tmp/usr/directory to test, nothing ever ends up in/tmp/usrbut theinstallcall returns 0. According to the man pages, something likeinstall -d -T ../usr ./should work, but nothing seems to happen.
â Qix
Jul 19 at 6:30
I would install the complete application in an app folder i.e. /usr/local/appname/
â Raman Sailopal
Jul 18 at 11:42
I would install the complete application in an app folder i.e. /usr/local/appname/
â Raman Sailopal
Jul 18 at 11:42
This is essentially what the Coreutils
install program does - see man installâ steeldriver
Jul 19 at 1:40
This is essentially what the Coreutils
install program does - see man installâ steeldriver
Jul 19 at 1:40
@RamanSailopal How does that solve anything?
â Qix
Jul 19 at 6:29
@RamanSailopal How does that solve anything?
â Qix
Jul 19 at 6:29
@steeldriver I'm having trouble forming a proper command line for it - trying with an empty
/tmp/usr/ directory to test, nothing ever ends up in /tmp/usr but the install call returns 0. According to the man pages, something like install -d -T ../usr ./ should work, but nothing seems to happen.â Qix
Jul 19 at 6:30
@steeldriver I'm having trouble forming a proper command line for it - trying with an empty
/tmp/usr/ directory to test, nothing ever ends up in /tmp/usr but the install call returns 0. According to the man pages, something like install -d -T ../usr ./ should work, but nothing seems to happen.â Qix
Jul 19 at 6:30
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f456945%2finstall-distributed-usr-like-package-hierarchy-to-the-usr-directory%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I would install the complete application in an app folder i.e. /usr/local/appname/
â Raman Sailopal
Jul 18 at 11:42
This is essentially what the Coreutils
installprogram does - seeman installâ steeldriver
Jul 19 at 1:40
@RamanSailopal How does that solve anything?
â Qix
Jul 19 at 6:29
@steeldriver I'm having trouble forming a proper command line for it - trying with an empty
/tmp/usr/directory to test, nothing ever ends up in/tmp/usrbut theinstallcall returns 0. According to the man pages, something likeinstall -d -T ../usr ./should work, but nothing seems to happen.â Qix
Jul 19 at 6:30