LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-08-2005, 09:19 AM   #1
dave`2005
Member
 
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270

Rep: Reputation: 30
Unhappy cannot make symbolic link


Hi all, Using Debian 3.1, i just installed the new version of the mozilla web browser to its default location /usr/local/, looking at the properties of the mozilla shortcut on the panel it says it runs the command mozilla-suite. I think what i need to do is create a symbolic link in /usr/bin/ pointing mozilla-suite to /usr/local/mozilla/mozilla/, ive been trying to do this for about an hour now. The closest i got to it working was the panel shortcut saying "symbolic link too deep" (i think thats what it said). This is driving me mad Anyone know what im doing wrong?

Last edited by dave`2005; 10-08-2005 at 09:23 AM.
 
Old 10-08-2005, 09:37 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Code:
#ln -s /usr/local/mozilla/mozilla /usr/local/bin/mozilla
If you have an old version of Mozilla you may have to uninstall it then create the symlink.
 
Old 10-08-2005, 09:46 AM   #3
mikemrh9
Member
 
Registered: Nov 2003
Distribution: Arch
Posts: 136

Rep: Reputation: 21
Bit tricky without seeing what you have been typing!

To create a symbolic link, use:

ln -s PathToTargetFile Linkname

This should work:

su to root.
cd /usr/local/bin
ln -s /usr/local/mozilla/mozilla mozilla

(Just check the path to your mozilla script /usr/local/mozilla/mozilla is correct)

Then just type mozilla to launch it, or check the path on your icon.

(Alternatively, you could just change the path on your icon to /usr/local/mozilla/mozilla)

Last edited by mikemrh9; 10-08-2005 at 09:47 AM.
 
Old 10-08-2005, 10:15 AM   #4
dave`2005
Member
 
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270

Original Poster
Rep: Reputation: 30
Thank you very much for the help

This was what worked:
Code:
linux:/usr/bin# ln -s /usr/local/mozilla/mozilla mozilla-suite

2 things i was doing wrong, adding / to the end of where i was pointing to:
Code:
linux:/usr/bin# ln -s /usr/local/mozilla/mozilla/ mozilla-suite
and:
Code:
linux:/usr/bin# ln -s mozilla-suite /usr/local/mozilla/mozilla
dont know why i was trying to do it that way.

Thanks again.

Last edited by dave`2005; 10-08-2005 at 10:17 AM.
 
  


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
Is it possible to make a dir a symbolic link? dr_zayus69 Linux - General 4 03-09-2005 08:48 AM
how do i make DVD symbolic link permanent? RU63 Debian 4 12-28-2004 02:07 PM
Make symbolic link or alias gubak Linux - Newbie 5 08-20-2004 12:50 PM
How do I make symbolic link with midnight commander? akihandyman Linux - Newbie 1 02-17-2004 07:16 PM
How to make symbolic link? Tommi Linux - General 9 05-07-2003 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration