Installing HHVM In Linux Mint 17.3
I just got a spiffy new laptop yesterday, and today I’m setting up my web dev environment. I’m using the latest version of my favorite distro, Linux Mint version 17.3. I needed to install Hip Hop Virtual Machine, but the instructions in the official docs didn’t work. I got to the part where you run
sudo apt-get update
and it told me the HHVM repo couldn’t be found. Here is what worked for me, and it’s quite simple.
Linux Mint 17.3 is built on Ubuntu 14.04. So you just need to slightly modify the steps given for that distro:
Steps
- Go to the official HHVM docs and follow the steps for Ubuntu 14.04 up until the part where you run “sudo apt-get update”.
- Now, run “cd /etc/apt/sources.list.d
- Run “sudo nano additional-repositories.list”. In that file, where it says “petra”, remove that and replace it with “trusty” (without the quotes).
- Save changes and exit
- Now run “sudo apt-get update”. The update should work this time.
- Now run “sudo apt-get install hhvm”. It should work.
Happy coding!