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

The name of the pictureThe name of the pictureThe name of the pictureClash 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?







share|improve this question





















  • 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










  • @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

















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?







share|improve this question





















  • 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










  • @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













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?







share|improve this question













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?









share|improve this question












share|improve this question




share|improve this question








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 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










  • @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

















  • 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










  • @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
















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
















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay