[pskmail] Re: KB2PNM up and running ver 1.9.0 - Thanks Dave

  • From: Ian Bennett <ibennett@xxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Sun, 09 Sep 2012 12:51:03 +1000

I don't like moving/copying executables around for the sake of one
non-standard program, since the package manager or compiler that put it there
loses "control". This makes maintenance impossible.
This is where the symbolic link comes into it's own; one copy of the
executable, referenced from many locations.
This one command will do the trick:

sudo ln -s /usr/bin/fldigi /usr/local/bin/fldigi

The "ln" is the link command, "-s" makes it a symbolic link (can exist across
partitions), "/usr/bin/fldigi" is the source file and "/usr/local/bin/fldigi"
is the new link.
If you run "ls -la /usr/local/bin/fldigi" after you run the above command,
you'll see a link rather than a program.
Now when the package manager updates the original or you compile a new
version, your link references the new version immediately.

Ian
VK1IAN


On Sun, Sep 9th, 2012 at 12:21 PM, John Douyere <vk2eta@xxxxxxxxx> wrote:

> Robert,
> 
> Good to know your server is back up and running.
> 
> May I propose a one line version of the instructions:
> 
> sudo cp /usr/bin/fldigi  /usr/local/bin
> 
> That will allow the copying of the file regardless of the ownership of
> the
> folders.
> 
> 73,
> 
> John
> 
> On Sun, Sep 9, 2012 at 4:54 AM, Robert Krasowski
> <rkrasowski@xxxxxxxxx>wrote:
> 
> > Thanks to Dave my server is up and running.
> > That is what we did:
> > Problem is the fact that fldigi is in /usr/bin folder not in
> > /usr/local/bin as it should be for proper operation of Pskmail server
> ver
> > 1.9.0.
> >
> > So here is an instruction what to do:
> >
> > 1/ go to /usr/local folder:
> > cd /usr/local
> >
> > 2/ Change ownership of /usr/local/bin folder to your use :
> > sudo chown <user name> bin
> > in my case
> > sudo chown robert bin
> >
> > 3/ Copy fldigi to proper folder:
> > cp /usr/bin/fldigi  /usr/local/bin
> >
> > 4/ Return ownership of this folder to root:
> > sudo chown root bin
> >
> > That is all.
> > Start your server with pskmail_server command
> >
> > Thanks Dave again,
> >
> > Robert
> > KB2PNM
> >
> 




Other related posts: