Thứ Bảy, 2 tháng 1, 2010

linux, tip #1

Sometimes, I want to build library from source, and with option --prefix, I install those libs elsewhere from /usr/local/bin.
One problem is we can't explicitly call >>some_command_under_lib_bin.
To achieve using ln -s /bin/* /usr/local/bin
for example, when I install Sphinx
ln -s /home/pilgrim/opt/tools/sphinx/bin/* /usr/local/bin

Không có nhận xét nào:

Đăng nhận xét