How to Install Medusa on Fedora Server Latest
Medusa is a Python-based multi-platform media search engine that allows you to automate the searching, downloading or streaming of TV shows, movies and music. It can also be used to manage library updates. Here's how you can easily install Medusa on Fedora Server Latest.
Prerequisites
Before starting the installation process, make sure that you have the following prerequisites:
- A running instance of Fedora Server Latest
- Superuser or root privileges
- Python 3.6 or later installed
- Git installed
Step 1 - Install Dependencies
First, ensure that your system is up-to-date by running the following command:
sudo dnf update -y
Next, install the required dependencies for Medusa:
sudo dnf install -y openssl-devel libffi-devel gcc-c++ python3-devel
Step 2 - Clone the Medusa Repository
Next, clone the Medusa repository using Git:
git clone https://github.com/pymedusa/Medusa.git
Change the current working directory to the Medusa repository:
cd Medusa
Step 3 - Install Virtual Environment
Medusa uses virtual environments to isolate the Python environment. This ensures that all of the dependencies are installed in an isolated environment.
You can install virtual environment using the following command:
sudo dnf install -y python3-virtualenv
Next, create and activate a virtual environment for Medusa:
python3 -m venv venv
source venv/bin/activate
Step 4 - Install Medusa Dependencies
In this step, you will install the required dependencies for Medusa. Run the following command to install the Medusa dependencies:
pip3 install -r requirements/requirements.txt
Step 5 - Configure Medusa
Next, you will need to configure Medusa to meet your requirements. You can do this by copying the sample configuration file and editing it according to your needs:
cp -v medusa/config/config.ini.sample medusa/config/config.ini
vi medusa/config/config.ini
Make sure you update the following details:
base_dir: The path where you want the media files to be stored.media_center: The media center backend to use. Choose one fromkodi,plex,emby, orjellyfin.media_server_url: The URL of your media center.media_server_username: Your media center's username.media_server_password: Your media center's password.
Step 6 - Start Medusa
You can now start Medusa using the following command:
python3 medusa/start.py
Once you run this command, you should see the following message:
Medusa is now running!
Conclusion
Congratulations! You have successfully installed and configured Medusa on Fedora Server Latest. You can now use it to search for media and manage your library updates.