LinuxQuestions.org
Register a domain and help support LQ
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 08-05-2004, 08:57 AM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 704

Rep: Reputation: 30
execute commands in order to start newly installed programs


I often install new *rpms and in oder to start the installed program i have to go to the installation folder, open a terminal there and type the command. I 'd like to be able to open a terminal and from whatever folder i am in at that moment i'd like to be able to execute the program. I know that i have to set a path or something like that, but i don't know exactly what to do. For example i'd like to execute the "javac" and "java" commands, which have been installed in "/usr/java/j2sdk*/" path. How can i do it?
 
Old 08-05-2004, 09:08 AM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
i believe you need to edit your /etc/profile to do this:

http://www.google.com/linux?hl=en&lr...=Google+Search
 
  


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
Where are my newly installed programs glen4cindy Mandriva 4 03-28-2005 11:46 AM
How to get newly installed programs in programs list Brosky Linux - Software 5 02-06-2004 03:45 PM
Newly installed programs wont run don_dimo Linux - Software 4 10-19-2003 06:11 PM
newly installed programs... tang Linux - Software 2 09-10-2003 08:41 AM
Newly installed programs disappear...RH9 Q cbjhawks Linux - Software 1 08-28-2003 03:00 PM


All times are GMT -5. The time now is 07:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration