Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-15-2006, 12:44 PM   #1
LQ Newbie
Registered: May 2006
Distribution: Fedora core 3, GNOME desktop
Posts: 13

Rep: Reputation: 0
How to run a program after installing

I know that this question seems stupid, but I'm a Linux newbie unfortunately. I downloaded an application from the internet and installed it successfully. I used the command line, ie. "rpm -ivh name-1.0.0-1.i386.rpm". The problem is after installing, I don't know how to run the program. I tried to type "name", but it doesn't work. Anybody help?
Old 05-15-2006, 12:59 PM   #2
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
It seems that either the installation failed (you would have been advised, especailly with the 'verbose' rpm switch), or it has installed it somewhere not in your shell's $PATH variable. Try using 'locate' to locate the program:

locate name
Or, try using rpm to inspect the .rpm file:

rpm -qlp name-1.0.0-1.i386.rpm
--- rod.
Old 05-15-2006, 01:09 PM   #3
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
1] Welcome to LQ!
2] Please update your profile so we know your Distro (Saves a lot of extra trouble)
3] An answer:

If it is an application, and you are using KDE, it is probably somewhere in the menus. Or Right-Click the K - Choose Menu Editor, Wait while it scans for applications, Click "Save", Check your menus again.

Typing the name of the command/application in a terminal was a good idea, but maybe you got the name wrong, or it is not in your PATH. (echo $PATH to see which directories are in your PATH)

If you installed the application as yourself (rather than root), it'll probably be somewhere off your home directory. So have a look there, and because your home directory should never be in your PATH, you'll have to reference it directly eg


If that works, then you can always create a shortcut to it on your desktop (Right-click desktop, create new .... link to application, put the above path in the "Execute" bit there you go!)

Old 05-15-2006, 06:25 PM   #4
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
other people ight advise against this, but I always just add the install directory to my path via the '/etc/profile' or '~/.bash_profile'. Just look for the line that says 'PATH=<default path>' If you not wants to change your default profile, you can export an updated path manually or in a start up script. for instance, if mozilla is installed at '/usr/local/mozilla':
export PATH
this appends 'usr/local/mozilla' to your existing PATH variable.


changed "PATHS" to "PATH". typo, sorry.

Last edited by drkstr; 05-17-2006 at 01:22 AM.
Old 05-16-2006, 07:47 PM   #5
LQ Newbie
Registered: May 2006
Distribution: Fedora core 3, GNOME desktop
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you for your all replies.
To tredegar: already updated my profile . Thanks.


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
How to run a program in an ssh session that will run after you close out the session? dr_zayus69 Linux - Networking 5 03-05-2006 08:15 PM
Viewing program messages when program isn't run from command line? Locura Linux - Software 1 09-27-2003 09:19 AM
please help me run this program joe blow Linux - Newbie 4 08-08-2003 11:07 AM
how to run program? newbe45 Linux - Newbie 31 07-24-2003 10:49 AM
want to run my C program........ gurpreetpall Programming 4 03-22-2002 04:04 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:29 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
Open Source Consulting | Domain Registration