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. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-15-2006, 11:44 AM
|
#1
|
LQ Newbie
Registered: May 2006
Distribution: Fedora core 3, GNOME desktop
Posts: 13
Rep:
|
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?
|
|
|
05-15-2006, 11:59 AM
|
#2
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
|
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:
Or, try using rpm to inspect the .rpm file:
Code:
rpm -qlp name-1.0.0-1.i386.rpm
--- rod.
|
|
|
05-15-2006, 12:09 PM
|
#3
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
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
/home/yourusername/applicationname/application
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!)
HTH
|
|
|
05-15-2006, 05:25 PM
|
#4
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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':
Code:
PATH=$PATH:/usr/local/mozilla
export PATH
this appends 'usr/local/mozilla' to your existing PATH variable.
regards,
...drkstr
**edit**
changed "PATHS" to "PATH". typo, sorry.
**edit**
Last edited by drkstr; 05-17-2006 at 12:22 AM.
|
|
|
05-16-2006, 06:47 PM
|
#5
|
LQ Newbie
Registered: May 2006
Distribution: Fedora core 3, GNOME desktop
Posts: 13
Original Poster
Rep:
|
Thank you for your all replies.
To tredegar: already updated my profile  . Thanks.
|
|
|
All times are GMT -5. The time now is 07:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|