Suse/Novell This Forum is for the discussion of Suse Linux.
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.
11-20-2009, 11:55 PM
#1
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Rep:
how to remove 2nd path to the same command
When I installed Open SuSE 11.0 KDE 3.5, it has firefox 3 beta 5, i had downloaded latest version of firefox.tar.gz.
i had extracted that .tar files to "/usr/local/bin"
I made this path as the run command path using the "kmenuedit".
when i check firefox location it is showing as
Code:
raju@linux-fphk:~> whereis firefox
firefox: /usr/bin/firefox /usr/lib/firefox /usr/bin/X11/firefox /usr/local/bin/firefox /usr/share/man/man1/firefox.1.gz
when I click on the firefox button it is opening with latest version.
normally I use alt + f2 to open a program.
when I typed firefox in alt + f2 window, it is opening older version.
Quote:
"how to remove the path of older version firefox ?"
11-21-2009, 12:10 AM
#2
Member
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 67
Rep:
I would guess that when you type firefox, it is /usr/bin/firefox that runs.
You could test this to find out by typing the full path instead of just the name.
Then, if it is so, go into /usr/bin and rm firefox (or mv to firefox.bak if nervous).
Then make a symlink to your new firefox.
Code:
ln -s /path/to/new/firefox firefox
11-21-2009, 12:16 AM
#3
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Original Poster
Rep:
i had followed your procedure, it saying that
11-21-2009, 12:17 AM
#4
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Original Poster
Rep:
when i try to access the firefox using alt + f2, it is saying that,
Quote:
Could not run the specified command
Last edited by raju.mopidevi; 11-21-2009 at 12:20 AM .
11-21-2009, 12:22 AM
#5
Member
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 67
Rep:
what happens if you type the full path to your new firefox?
11-21-2009, 12:28 AM
#6
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Original Poster
Rep:
when i tried with full path in alt + f2 prompt window , new version is opening.
is it possible to open with single word "firefox", as previous installation supported.
11-21-2009, 12:44 AM
#7
Member
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 67
Rep:
good, then you are close!
Look at the permissions of the symlink. Is it executeable? Are you sure the path is correct on that symlink?
11-21-2009, 12:50 AM
#8
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Original Poster
Rep:
latest version of firefox is "/usr/local/bin/firefox/firefox ". This file is executing nice.
older version firefox link is "/usr/bin/firefox ".
i had removed /usr/bin/firefox. so alt+f2 prompt saying that could not run specified command.
i want add latest version link.
11-21-2009, 01:22 AM
#9
Member
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 67
Rep:
on my computer I have this
Code:
one:/usr/bin# ls -l | grep firefox
lrwxrwxrwx 1 root root 26 2009-02-25 22:39 firefox -> ../lib/iceweasel/iceweasel
lrwxrwxrwx 1 root root 26 2009-02-25 22:39 mozilla-firefox -> ../lib/iceweasel/iceweasel
so you can see my "firefox" in /usr/bin is a symlink to something else. That's why I thought the same thing should work for you.
11-21-2009, 01:55 AM
#10
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Original Poster
Rep:
after seeing your system link, i was able to modify the error.
thank you.
11-21-2009, 02:18 AM
#11
Member
Registered: May 2005
Location: hiroshima
Distribution: debian
Posts: 67
Rep:
Quote:
Originally Posted by
raju.mopidevi
after seeing your system link, i was able to modify the error.
thank you.
glad it worked in the end!
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 07:26 AM .
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