As you might have noticed, LANraragi entirely depends on the Perl programming language. A version of Perl ships already compiled on most Linux distributions(and macOS). It's usually called "Vendor Perl".
Using vendor Perl is generally discouraged due to possible fuck-ups by the Linux distribution creator. As such, you might want to install LANraragi with your own compiled Perl, using a tool such as Perlbrew.
For information, my personal tests are done using Debian's vendor Perl.
apt-get updateapt-get upgrade -yapt-get install build-essential make gnupg pkg-config \cpanminus redis-server libarchive-dev imagemagick webp libssl-dev zlib1g-dev \perlmagick ghostscript npm
Base software dependencies.
All you need to do is clone the git repo somewhere (or download one of the releases) and run the installer. I recommend doing this with a brand new Linux user account. (I'm using "koyomi" here):
git clone -b master http://github.com/Difegue/LANraragi /home/koyomi/lanraragicd /home/koyomi/lanraragi && sudo npm run lanraragi-installer install-full
Note: Do not use
sudo in the above command if you are using
Once this is done, you can get started by running
npm start and opening http://localhost:3000.
To change the default port or add SSL support, see this page:
Getting all the files from the latest release and pasting them in the directory of the application should give you a painless update 95% of the time.
To be on the safe side, make sure to rerun the installer once this is done:
npm run lanraragi-installer install-full