LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2010, 09:21 PM   #1
P_Titty
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
Sourcing the script after new software install??


First off, I'm very new to Ubuntu and any new software added to my system has been through the Software Center.
After installing my new software via terminal the install log says software has been installed successfully but a few manual steps will be necessary.


Install log goes as follows:

BEFORE YOU CAN BEGIN USING NIAGARA AX:
In order to start using workbench you will need to do a few manual steps.
You will need to source the .niagara script in /home/preston/EasyIO/bin before you will be able to use Workbench AX or Nre from a terminal. We advise linking this script to your home directory and including it in the execution of your .bash_profile and .bashrc scripts.
"Sourcing" the script is accomplished by typing ". /home/preston/EasyIO/bin/.niagara" at the prompt


Where can I find the niagara script? It does not seem to be in my home directory? Plus, how can i link this script in my home directory?



Thanks for any help in advance.
 
Old 12-29-2010, 09:45 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Quote:
Originally Posted by P_Titty View Post
You will need to source the .niagara script in /home/preston/EasyIO/bin before you will be able to use Workbench AX or Nre from a terminal. We advise linking this script to your home directory and including it in the execution of your .bash_profile and .bashrc scripts.
"Sourcing" the script is accomplished by typing ". /home/preston/EasyIO/bin/.niagara" at the prompt[/I]

Where can I find the niagara script? It does not seem to be in my home directory? Plus, how can i link this script in my home directory?
If /home/preston is your home directory then you should have a subdirectory called EasyIO. Check to see if that is the case as follows.
Click on Places at the top of the screen.
Is there a listing for EasyIO?

Under the EasyIO directory is another directory called bin.

Inside the bin directory is a file called .niagra. Unfortunately the file has a period as the first character so it will only be visible if you look for hidden files.

So when you click on Places then click on EasyIO that will launch the Nautilus file browser. The Nautilus file browser is similar to Windows Explorer. If you click on the View button you will see a list of options. Click on "Show Hidden Files". Then navigate to the EasyIO/bin folder. You should see the .nautilus file.

As to how to source the file manually the instructions already told you how to do that.
Open a terminal window.
Enter the following line at the command prompt.
Code:
. /home/preston/EasyIO/bin/.niagara
If you want that to happen automatically when you open a terminal window then you have to edit or create a file in your home directory called .bash_profile. You will add that same line in the .bash_profile file.

You can edit or create the $HOME/.bash_profile file with any text editor, not with a word processor.

One way to do this is to open the gedit application. Insert that line into the gedit window then save the file as .bash_profile in your home directory.

If you already have a .bash_profile file in your home directory then edit it with gedit, add that line, and save it.

It is important to note that the file name starts with a period. The file name is .bash_profile so the period in the beginning is part of the file name.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sourcing .bashrc jbottiger Linux - Newbie 5 08-27-2010 01:56 PM
Hi, i want a shell script which install the software on lan. shreeramabhi Linux - Newbie 1 03-13-2009 04:28 AM
LXer: Near-Sourcing Free Software from Latin America LXer Syndicated Linux News 0 06-16-2008 11:40 AM
Difference between executing & sourcing a script muazfarooqaslam Linux - Newbie 1 01-04-2008 03:51 AM
no configure script for software install nirmaltom Linux - Software 4 03-22-2007 08:42 AM


All times are GMT -5. The time now is 04:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration