On 13/06/2022 19.45, Mike Easter wrote:
> Mike Easter wrote:
>> This little project was about tweaking a live Debian 11 Mate to be
>> able to connect normally or by wireguard or by openvpn or by tor.
> I would like to understand better something about make, make install, so
> that if I have compiled a package that can be installed to a particular
> distro, I could save that compiled package so that I can use it again on
> another live boot of the same distro.
In general "make" will build the application, all based on the Makefile.
In the same way in general "make install" will install the files based
on the Makefile.
If you want to make it easy to install, run the "make" and then you make
a tarball of the directory, then you can unarchive it next time and run
"make install" and the application will work if you have all the
dependencies installed next time, unless the application can be built as
a static blob, the you have everything you need in the binary.
You could also look into how to make your own deb package, this way you
can install it with dpkg and if you done it right, it will also pull in
all the needed dependencies.
>> 1. Open Terminal from your Home directory and install WireGuard using
>> the following command:
sudo apt install wireguard
> ... which command actually installs a LOT more than just wireguard,
> installing 12 different packages incl build-essential
wireguard was merged into the kernel source back in the days of kernel
5.6, many distributions do build the wireguard module, so it should just
>> 2. Clone the NetworkManager plugin from GitHub, compile, and install
>> it using the following commands (hit <enter> after each line):
check that you have NetworkManager 1.16 or later, as it has built in
support for wireguard.
Should work fine in Debian Bullseye or later, Ubuntu Focal or later.