diff --git a/HACKING.md b/HACKING.md index adf646c2f..434763518 100644 --- a/HACKING.md +++ b/HACKING.md @@ -26,6 +26,13 @@ The entire setup is automatic and requires about 4.5 GB of disk space. $ vagrant provision +## Installing Dependencies + +Apart from dependencies listing in INSTALL file, Plinth may have additional +dependencies required by modules of Plinth. To install these, run: + + $ sudo apt install -y $(plinth --list-dependencies) + ## Manually Setting Up for Development It is recommended that you use Vagrant to setup your development diff --git a/INSTALL.md b/INSTALL.md index 1c2d46a4d..ca9221267 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -43,6 +43,7 @@ program and run: $ sudo python3 setup.py install + $ sudo apt install -y $(plinth --list-dependencies) 3. Run Plinth: diff --git a/Vagrantfile b/Vagrantfile index a7c11d67f..51bc5e3cb 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -22,6 +22,8 @@ Vagrant.configure(2) do |config| config.vm.provision "shell", inline: <<-SHELL cd /vagrant/ ./setup.py install + apt update + apt install -y $(plinth --list-dependencies) systemctl daemon-reload systemctl restart plinth SHELL