You can add it in /etc/bashrc
, say, at the end.
export PATH=$PATH:/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
Related Contents:
- CentOS 64 bit bad ELF interpreter
- Remove redundant paths from $PATH variable
- ls hangs for a certain directory
- How do I upgrade to the latest PHP version in CentOS with yum?
- Run bash script as daemon
- How to permanently set $PATH on Linux/Unix [closed]
- How to add a default include path for GCC in Linux?
- Where can I set environment variables that crontab will use?
- httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
- How to get CRON to call in the correct PATHs
- How do I get the path of a process in Unix / Linux
- scp from Linux to Windows [closed]
- How do I download a file from the internet to my linux server with Bash [closed]
- When does `cron.daily` run?
- how do you create an ssh key for another user?
- How bad is it really to install Linux on one big partition?
- where are the default ulimit values set? (linux, centos)
- Finding latest successful logins and failed attempts to a CentOS server
- firewalld vs iptables – when to use which [closed]
- Can’t start CentOS 7 “network” service
- How to configure cron job to run every 2 days at 11PM [duplicate]
- How to make iptables rules expire?
- What does the .autorelabel file do in Linux?
- What permissions / ownership to set on PHP Sessions Folder when running FastCGI / PHP-FPM (as user “nobody”)?
- Reasons for missing IP info in `last` output on pts logins?
- How to change default /tmp to /home/user/tmp
- Cannot access port 80 from remote location but works on local?
- Can KVM suspend or shutdown guests automatically on host shutdown?
- Identification of physical network interface in linux [duplicate]
- To yum update? Or not?
- Which Linux package contains the ‘top’ command?
- Howto show connected targets in Linux?
- How to copy a previously entered command using the history utility without running it again?
- What can be done to improve time synchronization on networks with sporadic internet access?
- Running multiple scp threads simultaneously
- ps aux hanging on high cpu/IO with java processes
- What is the best way to set an environment variable in .bashrc?
- Can start-stop-daemon use environmental variables?
- Linux with 256GB of mem / 48 Cores – Machine starts thrashing/choking with tons of memory left
- CentOS 7 iptables not persistent after reboot
- Limiting UID range for new local user accounts
- Centos User account nologin but possible to su into account
- bridge network between two linux servers
- How to remove the Win10’s PATH from WSL
- nohup:ignoring input and appending output to ‘nohup.out’
- apache not accepting incoming connections from outside of localhost
- Methods to detect public IP address in bash
- How to add multiple path in $PATH variable linux?
- Add a bash script to path
- What’s the difference between “env” and “set” (on Mac OS X or Linux)? [closed]