At work we use Symantec Endpoint Protection, and in a lab, I was asked to confirm whether we could install it on our Ubuntu 14.04 servers. This took a few hops to get it installed, so I figured, I’d publish how I got it working, to save some other poor soul the trouble :)
Firstly, add the webupd8team’s Java PPA and update the repository cache: sudo add-apt-repository ppa:webupd8team/java && sudo apt-get update
This gives you the ability to install the Java 8 installer: sudo apt-get install oracle-java8-installer
This should download the install files, but for some reason, I was struggling to download it (the install script seems to struggle with downloading the actual .tar.gz file from Oracle), so I manually followed the link to http://download.oracle.com/otn-pub/java/jdk/8u77-b03/jdk-8u77-linux-x64.tar.gz
, accepted the license, and placed the file in /var/cache/oracle-jdk8-installer/
and then re-ran the above apt-get install line.
— Note: This above issue was because I was running a caching proxy, which somehow doesn’t play nicely with this script. Turn off your proxy – should be all good :)
Next I had to install the Java Cryptography Extension which I got from the Java SE page. I placed this file in /tmp/jce_policy-8.zip
(the filename is the one Oracle use) and replaced the files in /usr/lib/jvm/java-8-oracle/jre/lib/security
with the ones from the extracted archive with this line: cp -b /tmp/UnlimitedJCEPolicyJDK8/*.jar /usr/lib/jvm/java-8-oracle/jre/lib/security
.
The SEP client also has a dependency on the 32bit version of GLibc. I installed this with sudo apt-get install libc6-i386
I was then, finally, able to install the SEP client by unpacking the installer zip file, and running sudo bash install.sh -i
from the path I’d unpacked the zip file in.
Not very complicated, I guess!
— Sources:
- https://ubuntuincident.wordpress.com/2011/04/14/install-the-java-cryptography-extension-jce/
- http://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-32-bit-glibc-2-9-or-later-on-64-bit-ubuntu-12-04-a-4175413667/
- http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html