Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-05-2004, 09:57 AM   #1
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

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, 10:08 AM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

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


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

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

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