If you have any suggestions or comments, and would prefer using email, please contact me at:
gngabriel29[REMOVETHISANDREPLACEWITHYOU-KNOW-WHAT]ymail.com

December 19, 2008

Install package for with linux command line

Hi everyone, welcome to today’s tutorial where we will learn how to install a package with linux command line.

1. at command line, type:
make install

note:
this is start installation script
any error messages you may get may be due to incorrect file permissions (can be fixed with proper use of chmod, chown, or chgrp commands) or missing files

prog may say it can’t find a file of type <something>.so (a file with .so extension is a library file, similar to dll files used in windows)

library files are usually stored in /usr/lib/ or /usr/local/lib/
if you install your program in a location different from the default of /usr/local, then you may have to configure your system to point to where the library files are actually located on your system

there are two methods for configuring libraries on a linux sys:

method one:
1. modify /etc/ld.conf, and add the path to your new library files
2. at command line, type (to load in the new directories):
ldconfig -m

method two:
1. modify LD_LIBRARY_PATH environment variable to also include the new directories

Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>. I unfortunately do not have a spoiler-code, so be sure mark spoilers well.



Anti-spam measure: please retype the above text into the box provided.