2

I'm a Ubuntu user trying out Debian 9.4. Since Ubuntu 17.10 I've been happily using netplan.

I do not use Network Manager, preferring to work with all the pieces myself.

Edit: As 0xC0000022L points out in a comment below, netplan is available in the Debian repository. At the time I wrote this question, the netplan version I took from the Debian repository did not work as I expected so I built the version from the Canonical github. Perhaps the comment from @AlexKing below explains why. I will leave this post however because it contains information on building netplan from github.

  • Did you have an issue trying to use netplan? It appears to be available in Debian 9: apt-get install netplan. – GracefulRestart Apr 18 '18 at 3:29
  • @GracefulRestart That netplan is a network interface to a day planner. The netplan I'm looking for is netplan.io. This does not show up in the standard Debian 9 repos. So my question is: is there an issue with Debian and netplan? Is there any work on Debian and netplan? As a hobbyist I'm happy to tinker myself but I'm wondering about known issues. – Stephen Boston Apr 18 '18 at 22:28
  • oh, my mistake. I am not a debian or netplan user and just saw the same name package in the repository. That is an unfortunate name and makes searching difficult. After checking out the netplan source, I was able to build it using Debian 9. I ran the tests, but i think due to the nature of my test machine, I cannot get them all to pass. I have not found anyone else trying to use this on Debian, but I have not seen anything yet that would prevent anyone from getting it to work. – GracefulRestart Apr 19 '18 at 20:48
  • I took the source from github too but am having trouble building it. I haven't much experience with building C. Just some stuff on VAX VMS a hundred years ago. I'm opening another question hoping for help with that. Thanks for your comment. – Stephen Boston Apr 19 '18 at 22:18
  • 1
    @0xC0000022L Thank you for the correction! I had successfully installed 'netplan' from the Debian repository but calling netplan from the commandline did not have the effect I expected. On looking at the man page I saw that it was networked planning software. After building and installing from github all was well. Now either I was dreaming, made some error, or there has been a change. Either way you are quite right and I will edit my question. Once again thank you. – Stephen Boston Nov 7 '18 at 10:31
2

I took https://github.com/CanonicalLtd/netplan and installed that. It is working. I haven't rigorously tested it at all but it does what I need. The build required these libraries. This is covered in debian netplan install: library missing. what to install for these .pc files

But I'll put the outcome of that discussion here:

# to compile

apt install libyaml-dev -y 
apt install libc6-dev -y
apt install libglib2.0-dev -y
apt install pandoc -y
apt install uuid-dev -y

#to run
pip3 install pyyaml 
pip3 install netifaces
1

It looks like netplan.io in Debian is at a very early stage. There is an "Intend to package" bug, See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882661 but no traffic there so far to gauge progress.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.