install X11 libraries and header files in user account centOS

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











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

213




213











  • 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: 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%2f309742%2finstall-x11-libraries-and-header-files-in-user-account-centos%23new-answer', 'question_page');

);

Post as a guest






























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

50.3k587157




50.3k587157











  • 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















































 


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













































































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