David Brown <
david...@hesbynett.no> writes:
>On 18/04/15 15:08, Anton Ertl wrote:
>> David Brown <
david...@hesbynett.no> writes:
>> So what? The distro also installs stuff like nano and an inetd that
>> most people don't use.
>
>Yes, but nano is provides an essential function - a simple command-line
>editor. And it takes about 100 KB - as compared to eclipse at about 100
>MB or so. Eclipse is useful to many programmers (I use it myself), and
>equally it is despised by many programmers. But the cost (in terms of
>disk space, network download, etc.) is significant for those that don't
>need it - unlike the cost of nano.
187KB, and it does not even have Emacs or vi key bindings. I wonder
what it is doing with all that space, but it's certainly nothing I
use.
Looking at the popularity-contest results, some form of vi seems to be
installed more often than nano (it seems that there are people who
uninstall nano), so Debian could install vi in the first place.
Anyway, not installing a programmer's editor and installing nano
instead supports my claim that they do not target programmers.
name inst vote old recent no-files (maintainer)
nano 170116 32133 119241 18640 102 (Jordi Mallach)
vim-common 174062 59805 87555 26616 86 (Debian Vim Mai
vim 67701 23297 36271 8105 28 (Debian Vim Mai
vim-tiny 169261 13839 120285 35040 97 (Debian Vim Mai
emacsen-common 54751 10282 37601 6821 47 (Rob Browning)
emacs23-bin-common 16067 5231 10516 312 8 (Rob Browning)
emacs23 13261 4400 8585 271 5 (Rob Browning)
emacs24-bin-common 6512 3233 2460 819 0 (Rob Browning)
emacs24 5696 2811 2135 750 0 (Rob Browning)
emacs24-common 6521 1526 3820 1166 9 (Rob Browning)
emacs23-common 16092 1392 14170 497 33 (Rob Browning)
eclipse-platform-data 7092 1840 3736 1511 5 (Debian Orbital
eclipse-rcp 7249 1700 4112 1429 8 (Debian Orbital
eclipse-platform 6962 1628 3914 1414 6 (Debian Orbital
eclipse-jdt 6903 1185 5290 369 59 (Debian Orbital
eclipse-pde 6859 1184 5292 368 15 (Debian Orbital
>> Somehow, when I last looked (a few years ago),
>> Debian installed nothing that I use, except a shell and apt-get;
>> that's ok when I ask for a minimal install, but requiring 600MB for
>> that alone is a bit stiff. Anyway, in the old days distros used to
>> have options that said "typical server", "typical desktop", "typical
>> development environment"; I have not seen the latter option for a
>> number of years.
>
>Some distros still have it (or are by their nature a "typical desktop"
>or "typical server", such as Linux Mint or Centos).
Which one still has "typical development environment"?
>>>> As for /opt, I don't know where that nonsense comes from, but it
>>>> certainly does not come from the original Unix. Proper programs are
>>>> installed in one of the directories that users have in the PATH by
>>>> default (such as /usr/bin or /usr/local/bin) rather than somewhere in
>>>> /opt (which indicates that the programmer is too lazy to make a
>>>> working "make install").
>>>
>>> You appear to be supremely confident that your own personal usage of
>>> Linux, and your own (somewhat lacking and biased) view of OS history, is
>>> /the/ truth and /the/ right way to do things.
>>
>> Sure, comes from experience, not just with Linux, but also with other
>> Unices for about 29 years. If you want to counter my point, you could
>> try explaining the benefits of /opt instead of making an ad-hominem
>> attack.
>>
>
>Just a point here - if my post was an "ad-hominem attack" (which I don't
>think it was, and it was not intended to be), then so was your
>characterisation of /opt users as "lazy" and "nonsense". So let us move
>past that.
/opt users are victims of their software providers. Concerning the
characterization of the programmers, I stand by that; ok, it could
also be incompetence. If a programmer does not provide a "make
install" or at least an install script that installs the binaries or
links to the binaries in a directory that is in the usual path of
users (such as /usr/local/bin), but instead says in the README that
the sysadmin should create such links manually, or that the users
should put the /opt/.../bin directory in the PATH, no friendly
characterization comes to my mind.
>In the beginning of unix, /usr was the place for site-specific or
>user-chosen software. Gradually, due to the way disks and filesystems
>were often mounted, more and more of the standard or base files ended up
>in /usr. People put their own software in /usr/local. Then people
>started looking for a place to put software that would not interfere
>with system software (i.e., distro-provided software for Linux, in /usr)
>or software chosen, compiled and installed by users (in /usr/local).
>/opt became common as a distro-independant place to put things.
>
>So on my systems, I have software from the likes of Atmel and Freescale
>in /opt. This is software that came pre-compiled, and could have
>paid-for licences. The tools are not on my path - nor should they be,
>as the compilers are specified explicitly in Makefiles as needed. If I
>want a short-cut for starting an IDE, I put a symbolic link in ~/bin (or
>sometimes a bash wrapper).
So the example you gave of using "gforth" to call
"/opt/swserver/Forth/GForth/V5/patch1/bin/gforth" would not even work
for your setup.
>Is it a perfect system? No, there is no such thing. But it works
>simply, easily and conveniently, and makes it very simple for me to
>distinguish between distro software and third-party software, and makes
>it simple for upgrading or moving to a new system.
I see no advantage over using /usr/local.
Upgrading: Get the new version of the software, do "make install".
Ideally the software installs itself with version numbers, so you can
also call old versions.
Moving to a new system: Just copy /usr/local to the new system (or
somesuch; you could also install the new system on a new partition,
and mount the /usr/local there).
- anton
--
M. Anton Ertl
http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs:
http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard:
http://www.forth200x.org/forth200x.html
EuroForth 2014:
http://www.euroforth.org/ef14/