stupid_idiot
  
 
  
 
 
Group: Members 
Posts: 344 
Joined: Oct. 2006 | 
  | 
Posted: July 25 2007,21:17 | 
   | 
 
 
  
Yes, but since there are already so many symlinks in /usr/local/bin to start with, I think it's less confusing for certain extensions to limit their symlinks to /opt/bin. For example, below are the symlinks belonging to Wine - it is obvious that those symlinks that begin with 'wine-' are from Wine, but some things are more confusing, like 'function_grep.pl', 'uninstaller', 'wmc', or 'wrc'.
 | Code Sample  |   function_grep.pl  widl            winebuild    wineg++           wineserver msiexec           wine            winecfg      winegcc           wineshelllink notepad           wine-kthread    wineconsole  winelauncher      winhelp progman           wine-preloader  winecpp      winemaker         wmc regedit           wine-pthread    winedbg      winemine          wrc regsvr32          wineboot        winedump     winepath uninstaller       winebrowser     winefile     wineprefixcreate |  
  I agree with you that whether you use /usr/local/bin or /opt/bin, the program will still run. I would argue that putting an extension under /opt/package_name is more convenient for the purpose of removing the software - `rm -rf /opt/package_name` will do - as opposed to separately removing /usr/local/bin/files, /usr/local/lib/files and /usr/local/share/files. The latter is very easy to do if you have the experience, but I think it will be difficult for a newbie. In contrast, if I use /opt/package_name, once I delete this directory, only the symlinks are left. These will become broken links - I think broken links are shown with a different colour from normal links when running `ls`, IIRC. The counter-argument is that this can be done in /usr/local also - the following can be done when configuring the software package when compiling: `./configure --prefix=/usr/local/package_name` For a .dsl package, this is possible. This can be done if the extension author chooses to do so. Anyway, due to conventions in DSL, .tar.gz seems to imply that the package will be self-contained, whereas if you are downloading a .dsl, the expectation is to have files scattered all over /usr/local. Please forgive me if the above sounds incoherent - It is very early in the morning (just got up). 
 |