install X11 libraries and header files in user account centOS











up vote
1
down vote

favorite












I would like to install X11 libraries and header files in my own account (not root) for further use.



What other libs do I need to install for that? Where can I find the source codes and installation guide?



Truely, I want to install "ncview" software (http://meteora.ucsd.edu/~pierce/ncview_home_page.html) in my centOS linux. In the root, the system does not contain "X11" in the /usr/include. So, I want to install it in my own account.



Thanks for looking into it.










share|improve this question
























  • What media/file types are you installing from? The answers here are probably relevant: stackoverflow.com/questions/18787375/…
    – Andrew Henle
    Sep 15 '16 at 13:40















up vote
1
down vote

favorite












I would like to install X11 libraries and header files in my own account (not root) for further use.



What other libs do I need to install for that? Where can I find the source codes and installation guide?



Truely, I want to install "ncview" software (http://meteora.ucsd.edu/~pierce/ncview_home_page.html) in my centOS linux. In the root, the system does not contain "X11" in the /usr/include. So, I want to install it in my own account.



Thanks for looking into it.










share|improve this question
























  • What media/file types are you installing from? The answers here are probably relevant: stackoverflow.com/questions/18787375/…
    – Andrew Henle
    Sep 15 '16 at 13:40













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I would like to install X11 libraries and header files in my own account (not root) for further use.



What other libs do I need to install for that? Where can I find the source codes and installation guide?



Truely, I want to install "ncview" software (http://meteora.ucsd.edu/~pierce/ncview_home_page.html) in my centOS linux. In the root, the system does not contain "X11" in the /usr/include. So, I want to install it in my own account.



Thanks for looking into it.










share|improve this question















I would like to install X11 libraries and header files in my own account (not root) for further use.



What other libs do I need to install for that? Where can I find the source codes and installation guide?



Truely, I want to install "ncview" software (http://meteora.ucsd.edu/~pierce/ncview_home_page.html) in my centOS linux. In the root, the system does not contain "X11" in the /usr/include. So, I want to install it in my own account.



Thanks for looking into it.







x11 software-installation not-root-user






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 16 '16 at 4:42

























asked Sep 14 '16 at 5:58









Palash Sinha

214




214












  • What media/file types are you installing from? The answers here are probably relevant: stackoverflow.com/questions/18787375/…
    – Andrew Henle
    Sep 15 '16 at 13:40


















  • What media/file types are you installing from? The answers here are probably relevant: stackoverflow.com/questions/18787375/…
    – Andrew Henle
    Sep 15 '16 at 13:40
















What media/file types are you installing from? The answers here are probably relevant: stackoverflow.com/questions/18787375/…
– Andrew Henle
Sep 15 '16 at 13:40




What media/file types are you installing from? The answers here are probably relevant: stackoverflow.com/questions/18787375/…
– Andrew Henle
Sep 15 '16 at 13:40










1 Answer
1






active

oldest

votes

















up vote
0
down vote













As noted by @andrew-henle, the q/a How do I extract the contents of an rpm? gives some information which could be useful. If you want to compile ncview and have no ability to install packages, you could find RPMs for the missing pieces, download them and copy the files to your home directory.



If you do that, suppose you put those under $HOME/mystuff. Then under that directory, make subdirectories bin, lib (or lib64), include (and include/X11) and share. Copy the files extracted from the RPMs to the corresponding location in the "mystuff" tree.



Set these environment variables to help the ncview configure-script:



CFLAGS to -I$HOME/mystuff/include
LDFLAGS to -L$HOME/mystuff/lib -L$HOME/mystuff/lib64



Then run the configure-script for ncview. It will probably find that you overlooked something. Get that, put it in the mystuff tree. Repeat until you get it to compile.



Likely those packages have shared libraries. If so, you will need a workaround to get ncview to run, and probably just to configure it. Set this environment variable to help:



LD_LIBRARY_PATH=$HOME/mystuff/lib:$HOME/mystuff/lib64






share|improve this answer























  • Thanks for your help. I will do as per your suggestions and will update the status.
    – Palash Sinha
    Sep 19 '16 at 4:40











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: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
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%2f309742%2finstall-x11-libraries-and-header-files-in-user-account-centos%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













As noted by @andrew-henle, the q/a How do I extract the contents of an rpm? gives some information which could be useful. If you want to compile ncview and have no ability to install packages, you could find RPMs for the missing pieces, download them and copy the files to your home directory.



If you do that, suppose you put those under $HOME/mystuff. Then under that directory, make subdirectories bin, lib (or lib64), include (and include/X11) and share. Copy the files extracted from the RPMs to the corresponding location in the "mystuff" tree.



Set these environment variables to help the ncview configure-script:



CFLAGS to -I$HOME/mystuff/include
LDFLAGS to -L$HOME/mystuff/lib -L$HOME/mystuff/lib64



Then run the configure-script for ncview. It will probably find that you overlooked something. Get that, put it in the mystuff tree. Repeat until you get it to compile.



Likely those packages have shared libraries. If so, you will need a workaround to get ncview to run, and probably just to configure it. Set this environment variable to help:



LD_LIBRARY_PATH=$HOME/mystuff/lib:$HOME/mystuff/lib64






share|improve this answer























  • Thanks for your help. I will do as per your suggestions and will update the status.
    – Palash Sinha
    Sep 19 '16 at 4:40















up vote
0
down vote













As noted by @andrew-henle, the q/a How do I extract the contents of an rpm? gives some information which could be useful. If you want to compile ncview and have no ability to install packages, you could find RPMs for the missing pieces, download them and copy the files to your home directory.



If you do that, suppose you put those under $HOME/mystuff. Then under that directory, make subdirectories bin, lib (or lib64), include (and include/X11) and share. Copy the files extracted from the RPMs to the corresponding location in the "mystuff" tree.



Set these environment variables to help the ncview configure-script:



CFLAGS to -I$HOME/mystuff/include
LDFLAGS to -L$HOME/mystuff/lib -L$HOME/mystuff/lib64



Then run the configure-script for ncview. It will probably find that you overlooked something. Get that, put it in the mystuff tree. Repeat until you get it to compile.



Likely those packages have shared libraries. If so, you will need a workaround to get ncview to run, and probably just to configure it. Set this environment variable to help:



LD_LIBRARY_PATH=$HOME/mystuff/lib:$HOME/mystuff/lib64






share|improve this answer























  • Thanks for your help. I will do as per your suggestions and will update the status.
    – Palash Sinha
    Sep 19 '16 at 4:40













up vote
0
down vote










up vote
0
down vote









As noted by @andrew-henle, the q/a How do I extract the contents of an rpm? gives some information which could be useful. If you want to compile ncview and have no ability to install packages, you could find RPMs for the missing pieces, download them and copy the files to your home directory.



If you do that, suppose you put those under $HOME/mystuff. Then under that directory, make subdirectories bin, lib (or lib64), include (and include/X11) and share. Copy the files extracted from the RPMs to the corresponding location in the "mystuff" tree.



Set these environment variables to help the ncview configure-script:



CFLAGS to -I$HOME/mystuff/include
LDFLAGS to -L$HOME/mystuff/lib -L$HOME/mystuff/lib64



Then run the configure-script for ncview. It will probably find that you overlooked something. Get that, put it in the mystuff tree. Repeat until you get it to compile.



Likely those packages have shared libraries. If so, you will need a workaround to get ncview to run, and probably just to configure it. Set this environment variable to help:



LD_LIBRARY_PATH=$HOME/mystuff/lib:$HOME/mystuff/lib64






share|improve this answer














As noted by @andrew-henle, the q/a How do I extract the contents of an rpm? gives some information which could be useful. If you want to compile ncview and have no ability to install packages, you could find RPMs for the missing pieces, download them and copy the files to your home directory.



If you do that, suppose you put those under $HOME/mystuff. Then under that directory, make subdirectories bin, lib (or lib64), include (and include/X11) and share. Copy the files extracted from the RPMs to the corresponding location in the "mystuff" tree.



Set these environment variables to help the ncview configure-script:



CFLAGS to -I$HOME/mystuff/include
LDFLAGS to -L$HOME/mystuff/lib -L$HOME/mystuff/lib64



Then run the configure-script for ncview. It will probably find that you overlooked something. Get that, put it in the mystuff tree. Repeat until you get it to compile.



Likely those packages have shared libraries. If so, you will need a workaround to get ncview to run, and probably just to configure it. Set this environment variable to help:



LD_LIBRARY_PATH=$HOME/mystuff/lib:$HOME/mystuff/lib64







share|improve this answer














share|improve this answer



share|improve this answer








edited May 23 '17 at 12:40









Community

1




1










answered Sep 17 '16 at 18:41









Thomas Dickey

51.8k594164




51.8k594164












  • Thanks for your help. I will do as per your suggestions and will update the status.
    – Palash Sinha
    Sep 19 '16 at 4:40


















  • Thanks for your help. I will do as per your suggestions and will update the status.
    – Palash Sinha
    Sep 19 '16 at 4:40
















Thanks for your help. I will do as per your suggestions and will update the status.
– Palash Sinha
Sep 19 '16 at 4:40




Thanks for your help. I will do as per your suggestions and will update the status.
– Palash Sinha
Sep 19 '16 at 4:40


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f309742%2finstall-x11-libraries-and-header-files-in-user-account-centos%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

サソリ

広島県道265号伴広島線

Accessing regular linux commands in Huawei's Dopra Linux