Linux install


 
Thread Tools Search this Thread
Operating Systems Linux Linux install
# 1  
Old 06-23-2013
Linux install

hi
i am new with linux. i have installed fedora 16 for my application to running ROMS model. in ROMS site has written that: there are one way to provide the location for the NetCDF files (and optional HDF5 library). If you are always going to be using the same compiler on each system, you can edit your .profile or .login files to globally set them. for ksh/bash n following way:
Code:
 export NETCDF_INCDIR=/usr/local/netcdf4/include
 export NETCDF_LIBDIR=/usr/local/netcdf4/lib 
export HDF5_LIBDIR=/usr/local/hdf5/lib

at first i did not understand what is ksh/bash but after reading this forum, i' have got that ksh and bash are 2 kinds of shells. and now i have 2 questions:
1-generaly i check /usr/bin/ directory. there are bash and zsh and sh's shourtcut. hence my system has 3 shells?and i can use 3 of them?Smilie
2 -with regard your experience, where i must put following commands:Smilie
Code:
export NETCDF_INCDIR=/usr/local/netcdf4/include
 export NETCDF_LIBDIR=/usr/local/netcdf4/lib 
export HDF5_LIBDIR=/usr/local/hdf5/lib

thanks in advance
sincerely yours
fereshte

Last edited by jim mcnamara; 06-23-2013 at 11:19 AM.. Reason: Code tags; remove bizarre formatting
# 2  
Old 06-23-2013
fedora uses the bash shell by default. You can verify which shell you logged in by executing echo $SHELL. Also, you can verify the default shell by looking at the last field (7th field between `:') in /etc/passwd for the specific user.

/etc/profile is where every shell looks at login, however this file affects the system globally, i.e every user. That's why there are other files in each user home that can over write these settings and modify the specific shell environment. For bash, after executing /etc/profile it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and execute from only the first one that exist and the permission is set to read.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Install library in linux

Hello, I try to install a library (BLCR) on Ubuntu , i'd like to install it on two machines. This library has a respository named blcr-build , i have this rep in /home/user1 in machine1 and in /home/user2 in machine2. When can i store this repository of the library so i will have the same path... (1 Reply)
Discussion started by: chercheur857
1 Replies

2. UNIX for Advanced & Expert Users

Linux column(1) from util-linux-ng for Solaris? Which *.pkg to install?

Hi On Linux systems there is a command called "column". column - columnate lists Synopsis column -tx] -c columns] -s sep] file ...] Description The column utility formats its input into multiple columns. Rows are filled before columns. Input is taken from file operands, or,... (3 Replies)
Discussion started by: slashdotweenie
3 Replies

3. AIX

Linux install from NIM

Has anyone ever done this and is it easy to do with SLES9/10? All I can find so far is this link http://www-941.ibm.com/collaboration/wiki/display/Wikip5/16Jan07+Using+NIM+to+Install+VIO+and+Linux Can you still use all the feature of autoyast etc? TIA. (1 Reply)
Discussion started by: backslash
1 Replies

4. UNIX for Dummies Questions & Answers

How can i install Linux????

I use windows Xp, and I am going to format my HD and make some partitions.. I want to have windows Xp and Linux installed in diferent partions. I want it so when my computer boots, I can choose which OS I would like to load. I have never installed or used Linux. so I would like to know if... (3 Replies)
Discussion started by: vit8484
3 Replies

5. Linux

How to Install Linux

Hi there!!! I'm new to unix n linux .....i want to learn Linux....I heard that loading Linux u must have high sys config ...Current i've a sys with Win 98.... My system configuration: Intel Pentium III (800 MHz) RAM 64MB HDD 9GB free space in E:\ Current OS windows 98 Could u suggest me... (2 Replies)
Discussion started by: visix
2 Replies

6. Linux

i want some help@install linux

but where can i download some ebooks about linux howto? i am a newcomer. thank you in advance :-) (3 Replies)
Discussion started by: A8harrying
3 Replies

7. UNIX for Dummies Questions & Answers

trying to install linux

I am presently trying to install linux on my machine that is already running Win XP. I have tried several different versions. I began with a Mandrake Linux installation cd. I could not bring up the graphical installer so I proceeded with the text installer. Somehow I managed to partition my hard... (6 Replies)
Discussion started by: bobotoes
6 Replies

8. UNIX for Dummies Questions & Answers

How do i install in Linux?

I'm new to Linux & Unix in general. I have a system running Windows XP & i have a Linux RedHat 7.0 guest OS running in a Virtual Machine (VMware 3.0) now, i have to install the VMware tools for the Linux OS but i don't know how to install anything in Linux. How do i go about it? (i already have the... (1 Reply)
Discussion started by: da_gee
1 Replies

9. UNIX for Dummies Questions & Answers

linux install

I just recently installed Redhat linux 7.3 on an old machine and had a question. I had some problems installing and traced them to my sound card. Not wanting to waste time, I selected the smallest download possible (without doing a custom install). I didn't install any of the four optional packages... (4 Replies)
Discussion started by: elpinchegringo
4 Replies
Login or Register to Ask a Question