Luminous
Luminous

Reputation: 23

How can I set LIBRARY_PATH?

I want to set my LIBRARY_PATH permanently. I searched about it but there was guides for setting LD_LIBRARY_PATH, so I would be thankful if anyone help me. thanks in advance.

Upvotes: 0

Views: 1215

Answers (1)

gustafbstrom
gustafbstrom

Reputation: 1933

You do that in ~/.bashrc. On a new line, just enter:

export LIBRARY_PATH=<path to your library files>:$LIBRARY_PATH

Then, run source ~/.bashrc to enable anything you've added there.

Upvotes: 4

Related Questions