Jump to content

linux experts


erragulabi

Recommended Posts

evaraina ee bash_profile, bashrc file lo paths ela add cheyyali, which is the right one. If we install something directly from web where it will go and how to find the location of the installation on linux etc details era kanukkovalo koncham share cheyyandi. Any video or article which is easy to follow. 

Example: if we install open java on linux machine. how to add it to the bashrc file as env variable?

Link to comment
Share on other sites

2 minutes ago, erragulabi said:

evaraina ee bash_profile, bashrc file lo paths ela add cheyyali, which is the right one. If we install something directly from web where it will go and how to find the location of the installation on linux etc details era kanukkovalo koncham share cheyyandi. Any video or article which is easy to follow. 

Example: if we install open java on linux machine. how to add it to the bashrc file as env variable?

Cc @csrcsr

Link to comment
Share on other sites

1 hour ago, erragulabi said:

evaraina ee bash_profile, bashrc file lo paths ela add cheyyali, which is the right one. If we install something directly from web where it will go and how to find the location of the installation on linux etc details era kanukkovalo koncham share cheyyandi. Any video or article which is easy to follow. 

Example: if we install open java on linux machine. how to add it to the bashrc file as env variable?

export PATH=/path/to/binary

Link to comment
Share on other sites

2 hours ago, erragulabi said:

evaraina ee bash_profile, bashrc file lo paths ela add cheyyali, which is the right one. If we install something directly from web where it will go and how to find the location of the installation on linux etc details era kanukkovalo koncham share cheyyandi. Any video or article which is easy to follow. 

Example: if we install open java on linux machine. how to add it to the bashrc file as env variable?

Add both in bashrc ans bash profiles as below.. path will be mostly under /usr/bin for rpms

export PATH=/path/to/binary:$PATH

Link to comment
Share on other sites

2 hours ago, erragulabi said:

evaraina ee bash_profile, bashrc file lo paths ela add cheyyali, which is the right one. If we install something directly from web where it will go and how to find the location of the installation on linux etc details era kanukkovalo koncham share cheyyandi. Any video or article which is easy to follow. 

Example: if we install open java on linux machine. how to add it to the bashrc file as env variable?

Open terminal and type this 

Find / -iname name-of-your-installation 

 

This will give all the paths that contain name of your installation.

 

https://unix.stackexchange.com/questions/26047/how-to-correctly-add-a-path-to-path 

 

 

Link to comment
Share on other sites

5 hours ago, erragulabi said:

evaraina ee bash_profile, bashrc file lo paths ela add cheyyali, which is the right one. If we install something directly from web where it will go and how to find the location of the installation on linux etc details era kanukkovalo koncham share cheyyandi. Any video or article which is easy to follow. 

Example: if we install open java on linux machine. how to add it to the bashrc file as env variable?

individual accounts khi ayte 

https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-set-environment-variables-in-linux/

GLOBAL ga anta server mida antey
root user tho 

/etc/profile.d/filename.sh create 

add export lines save 
 

source run ayipoyeee simple 


 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...