You are not logged in.
Pages: 1
Topic closed
Is it possible to install and use Bitdefender GravityZone on Arch? Anyone has succeeded? When I try to install it I get this
[zbyszek@titanlinux Bitdefender]$ ls
fullKit_unix64_7.0.3.2004.tar
[zbyszek@titanlinux Bitdefender]$ tar -xvf fullKit_unix64_7.0.3.2004.tar
linux-amd64/bitdefender-security-tools-7.0.3-2004.x86_64.rpm
linux-amd64/bitdefender-security-tools_7.0.3-2004_amd64.deb
linux-amd64/plugins_full64.tar.gz
linux-amd64/plugins_lightav64.tar.gz
linux-amd64/plugins_remote64.tar.gz
linux-amd64/repo-key.asc
linux-amd64/repo-key.gpg
linux-amd64/version.txt
bdconfigure
installer.xml
installer
[zbyszek@titanlinux Bitdefender]$ chmod +x installer
[zbyszek@titanlinux Bitdefender]$ ./installer
missing login password
Don't know which login and password it is missing.
EDIT.
I got it...It needed to be run as root (of course), but unfortunately the installer.log says:
2022-06-05T08:57:40.497+02:00 titanlinux installer[296543][296543]: info: starting the installation ...
2022-06-05T08:57:40.497+02:00 titanlinux installer[296543][296543]: info: command line:
2022-06-05T08:57:40.497+02:00 titanlinux installer[296543][296543]: info: version: 7.0.3.2004 (Wed, 11 May 2022 20:09:30 +0300)
2022-06-05T08:57:40.509+02:00 titanlinux installer[296543][296543]: info: download URL: https://cloudgz-ecs.gravityzone.bitdefender.com/Packages/BSTNIX/0
2022-06-05T08:57:40.509+02:00 titanlinux installer[296543][296543]: info: sanity checks
2022-06-05T08:57:40.660+02:00 titanlinux installer[296543][296543]: info: TLS certificate verification: enabled
2022-06-05T08:57:40.661+02:00 titanlinux installer[296543][296543]: error: unsupported distribution arch
2022-06-05T08:57:40.663+02:00 titanlinux installer[296543][296543]: error: the installer has unexpectedly exit with error 11
So unfortunately it probably can't be installed on Arch :-(
Last edited by Zibi1981 (2022-06-05 07:01:47)
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline
It isn't supported on arch, you may be able to manually extract the packages and copy the files to the correct locations. I don't know if the product uses some commands or configuration not available on arch. It may or may not be possible to shim/fix that.
All those steps can be put in a PKGBUILD to create an (unofficial and unsupported) arch package.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
I was just asked to install these Bitdefender security tools, too, and got them to work. I got an installer script where the ID of our company must have been encoded, there or in the XML config file next to it... so I don't know yet how I could share the steps I took in a PKGBUILD file for others to use. However, I can summarize them here in the hope that they might still be useful to someone who finds himself in the same situation in future.
So:
I clicked the link from the relevant email to download the software. Unzipped it.
Figured out I have to make the installer script executable (and later to run it as a superuser): chmod +x installer.
Installed the hostname program (sudo pacman -S inetutils) because the script needs it.
Extracted the bdconfigure programs, run by the installer (because xtrace debugging indicated that's where the next issue was):
sed '/^_EXIT_BDCONFIGURE$/,/^_END_BDCONFIGURE$/!d;//d' bdconfigure | tar xz -C bdconfig-content/
Actually, I don't think this was necessary.
Anyway, having run this bdconfigure64 compiled code wrapped in strace, I found that it's trying to find libdl.so.2 at non-standard looking locations. One of them was some/path/bitdefender-download/bdconfig-content/../lib, so I symlinked /usr/lib from this parent directory of bdconfig-content. In retrospect, I don't think this was necessary, either.
Figured the installer script calls bdconfigure64 to determine the right package format, and exactly those modes of operations of bdconfigure64 seemed to be erring on Arch. So I replaced them with hardcoded:
pkgmgr=apt
pkgfmt=deb
wherever "$BDCONFIGURE" --distro-pkgmgr or "$BDCONFIGURE" --distro-pkgmgr was called by the script.
Installed apt: sudo pacman -S apt.
Placing some debugging commands into the installer script, I let it first quit after downloading the deb file before attempting to install it. Checked it with dpkg for dependencies to see that it has none. Inspected the paths it installs to, to determine that they shouldn't conflict with anything else (mostly everything goes to /opt/bitdefender-security-tools, but there are also a few cron jobs and a systemd unit file).
At this point, I felt determined to give it a try to run the installer script end-to-end, despite the explicit warnings I got about using apt to install packages into Arch. Ran it like this (with the safer flags on, the script would fail early and hard):
sudo sh -x -c 'set +o nounset; set +o pipefail; set -e; pwd; ./installer'
When the tools got installed, I synced my changes in the installer script to its copy at /opt/bitdefender-security-tools/bin/installer (so that it can be reinstalled/reconfigured/repaired/uninstalled in future), but uninstalled the apt package with Pacman, so that no updates or reinstalls take place without me realising.
A colleague also reached out to Bitdefender technical support, asking if Arch might be supported, to receive the expected answer. However, another colleague who has access to the Bitdefender web app showing the status for our company confirmed that my endpoint now reports in as secured.
Offline
There are ways to create PKGBUILDS for restricted software, see https://wiki.archlinux.org/title/Nonfre … guidelines
The actions the installer script performs can ofen be replicated in the PKGBUILD without having to run the installer.
Does one of the downloads provide a binary *.deb archive ?
If so, that can be accessed inside the PKGBUILD with a few additional commands.
If you want to try to create such a package , create a new thread in AUR Issues, Discussion & PKGBUILD Requests or Creating & Modifying Packages and link to this one.
Moderator Note
Closing this old thread.
Last edited by Lone_Wolf (2025-06-20 09:59:24)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Pages: 1
Topic closed