Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Houman <houmie@gmail.com>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Can Wireguard-tools be installed with Checkinstall?
Date: Fri, 9 Dec 2022 19:39:27 +0000	[thread overview]
Message-ID: <CABBZOs=pDoCAOdwBxRtzU5Bs__QA-pbc1mYqUddLT379BKw0kg@mail.gmail.com> (raw)

I would like to have an option to uninstall Wireguard, compile the
latest and reinstall again.
But I can't see "make uninstall" to be implemented. So what are my
options to get a clean reinstallation of Wireguard?

I was playing with Checkinstall to install it as a package instead.

git clone https://git.zx2c4.com/wireguard-tools
make -C wireguard-tools/src -j$(nproc)
cd ~/wireguard-tools/src/
sudo checkinstall -y

But even though the package is created and installed, it doesn't
behave the same way as if I installed it with "make install".
For example there is no /etc/wireguard, even though it said it created it:

========================= Installation results ===========================
'wg' -> '/usr/bin/wg'
'man/wg.8' -> '/usr/share/man/man8/wg.8'
'completion/wg.bash-completion' -> '/usr/share/bash-completion/completions/wg'
'wg-quick/linux.bash' -> '/usr/bin/wg-quick'
install: creating directory '/etc/wireguard'
'man/wg-quick.8' -> '/usr/share/man/man8/wg-quick.8'
'completion/wg-quick.bash-completion' ->
'/usr/share/bash-completion/completions/wg-quick'
'systemd/wg-quick.target' -> '/lib/systemd/system/wg-quick.target'
'systemd/wg-quick@.service' -> '/lib/systemd/system/wg-quick@.service'

======================== Installation successful ==========================

Is Wireguard not compatible with Checkinstall?  Have I missed
anything? Is there a better way to uninstall the compiled version of
Wireguard cleanly without using checkinstall?

Many Thanks,
Houman

                 reply	other threads:[~2022-12-09 19:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABBZOs=pDoCAOdwBxRtzU5Bs__QA-pbc1mYqUddLT379BKw0kg@mail.gmail.com' \
    --to=houmie@gmail.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).