install X11 libraries and header files in user account centOS
Clash 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.
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
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
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
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
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 |Â
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%2f309742%2finstall-x11-libraries-and-header-files-in-user-account-centos%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
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