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.
x11 software-installation not-root-user
add a comment |
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.
x11 software-installation not-root-user
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
add a comment |
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.
x11 software-installation not-root-user
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
x11 software-installation not-root-user
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
add a comment |
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
add a comment |
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
Thanks for your help. I will do as per your suggestions and will update the status.
– Palash Sinha
Sep 19 '16 at 4:40
add a comment |
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
Thanks for your help. I will do as per your suggestions and will update the status.
– Palash Sinha
Sep 19 '16 at 4:40
add a comment |
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
Thanks for your help. I will do as per your suggestions and will update the status.
– Palash Sinha
Sep 19 '16 at 4:40
add a comment |
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
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
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
add a comment |
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
add a comment |
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.
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
Required, but never shown
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
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
Required, but never shown
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
Required, but never shown
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
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
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