How to Install edX on Linux Mint

edX is a leading online education platform that offers courses from top universities and institutions to learners worldwide. It provides access to high-quality education, and you can enroll for free or for a fee. In this tutorial, you will learn how to install edX on Linux Mint latest.

Prerequisites

Before you can install edX on Linux Mint, you need to ensure that you have the following:

  • A Linux Mint system with the latest updates
  • Python 2.7, 3.4 or 3.5 installed on your system
  • Pip package installer for Python
  • Git Version Control System

Installation

  1. Open your Linux Mint terminal and update your system by running the following command:
sudo apt update
  1. Install the required packages by running the command below.
sudo apt install python3-dev python3-venv python3-pip git
  1. Use pip to install virtualenv by running the command below:
sudo pip3 install virtualenv
  1. Create a virtual environment by typing the command below:
virtualenv -p python2 edxapp
  1. Activate your virtual environment by running the command below:
source edxapp/bin/activate
  1. Clone the edX platform source code to your Linux Mint system:
git clone https://github.com/edx/edx-platform.git
  1. After cloning, change into the edx-platform directory:
cd edx-platform/
  1. Install the dependencies by running the command below:
pip install -r requirements/edx/pre.txt
  1. Install the remaining dependencies:
pip install -r requirements/edx/base.txt
pip install -r requirements/edx/post.txt
  1. Run the following command to build the assets:
edxapp-update-assets
  1. Finally, run the following command to start the edX development server:
paver devstack lms

You can now access edX by opening your browser and going to http://localhost:8000. You should see the edX homepage and can proceed to create your account and begin learning.

Conclusion

In conclusion, this tutorial has shown you how to install edX on Linux Mint. You can now start learning from the comfort of your Linux Mint system whenever you want.