Setting environment variable problem in Ubuntu? | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Setting environment variable problem in Ubuntu?

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-12-2013
gbdaw gbdaw is offline
Registered User
 
Join Date: May 2013
Last Activity: 12 May 2013, 2:12 PM EDT
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Setting environment variable problem in Ubuntu?

I am trying to install timbl- memory based learner tools in ubuntu. it after unpacking the tar file it brings the following msg

No package 'ticcutils' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ticcutils_CFLAGS
and ticcutils_LIBS to avoid the need to call pkg-config[/B].[/COLOR]

please any one show the easiest ways of setting environment variable in Ubuntu?
Sponsored Links
    #2  
Old 05-12-2013
hanson44 hanson44 is offline
Registered User
 
Join Date: Mar 2013
Last Activity: 12 May 2013, 11:33 PM EDT
Posts: 858
Thanks: 18
Thanked 180 Times in 177 Posts
You set the environment variable in $HOME/.profile or $HOME/.bash_profile or other shell configuration file that your shell is using. Using bash shell, you would add a line saying:

Code:
export PKG_CONFIG_PATH=/home/mydir/ticcutils

You would substitute the actual path where you installed the tools. It probably wants the highest level directory for the ticcutils, but that is just my best guess.

You would be a lot better off to use apt-get if that is possible. It is usually not a good idea to install by hand on ubuntu, unless there is some special reason. If you use apt-get, you probably already know, everything automatically works correctly and is kept track of, and is quick and easy.
The Following User Says Thank You to hanson44 For This Useful Post:
gbdaw (05-12-2013)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
setting a environment variable on linux Jcpratap UNIX for Dummies Questions & Answers 2 08-08-2012 06:42 AM
problem with setting environment variable harshvardhan360 Shell Programming and Scripting 1 11-23-2011 10:17 AM
Setting Environment variable from value in file WolfBrother Shell Programming and Scripting 8 03-06-2010 02:32 PM
Setting Environment variable..! Kattoor Programming 2 05-13-2009 06:17 AM
Setting Environment Variable date d3ck_tm Programming 6 11-08-2006 06:33 AM



All times are GMT -4. The time now is 10:57 PM.