> hello all,
> I currently have a version of ssh on my OpenBSD box that came with the
> default OpenBSD 2.8 installation. Suppose I want to upgrade this
> version cause they're is a newer one out.
The quick and *clean* (not dirty) answer is:
Upgrade to OpenBSD 2.9
Sorry. I'm sure you saw that one coming. Personally, I wouldn't even
bother attempting to install a 2.9 package under 2.8. There may (?)
be some library issues.
Quote:> I understand there are packages which are precompiled and they
> installed through pak-add etc. But I have been on the packages folder
> of an OpenBSD fpt site but there was no mention of ssh. And I need a
> newer version than the one installed (cause my Linux box has a newer
> version and this seems to create problems)
I suppose ssh is one of the default programs. Therefore you wouldn't
find it in the packages nor ports. Same as, say, ``sudo.''
Quote:> Is there another way than packages to get a program installed on an
> OpenBSD box ? Can I take programs from Linux and compile them on
> OpenBSD ?
Yes. You can go into your /usr/ports tree, find the appropriate
program, and go through the ``make && make install'' routine. But
this procedure basically creates a fresh *package* by compiling, and
then installs the package (from what I've noticed).
Also, if you find a program that probably runs on OpenBSD, but wasn't
``ported'' (such as PySol, a solitaire game written in Python, or, I
guess any program that doesn't dynamically require libraries that you
don't have (I don't know what I'm talking about yet, but will in the
near future)), you should be able to compile it if required, and then
manually install it where needed (/usr/local/bin or ~/bin seem
appropriate to me).
Some programs use subdirectories is such a way that (and I'm hoping
for confirmation from others here in the newsgroup) you may want to
create a script that executes the program that you want. As an
example, if I was to install PySol in /usr/games, I'd get a directory
called /usr/games/pysol-4.72. Then, if I wanted to run the game, I'd
have to type in /usr/games/pysol-4.72/pysol. I think I'd rather
create a script like this:
#!/bin/sh
cd /usr/games/pysol-4.72
./pysol
...and save it as /usr/games/pysol as well as do:
``chmod 0755 /usr/games/pysol''
Compiling linux binaries? You betcha (apparently). They either run
as-is, have statically linked binaries (at compile time), or are
installed as per compat_linux (8) with the appropriate linux stuff
installed on your system.
So, in short: Strongly consider installing OpenBSD 2.9.
Quote:> Thanks in advance,
--
Thanks!
Harry.