Software & AppsOperating SystemLinux

How To Install Mendeley on Ubuntu 22.04?

Ubuntu 20

In this article, we will discuss the detailed steps on how to install Mendeley on Ubuntu 22.04. Mendeley is a free reference manager and an academic social network that can help you organize your research, collaborate with others online, and discover the latest research.

Quick Answer

To install Mendeley on Ubuntu 22.04, you have several options. You can modify the Python dependencies, use the generic Linux installer, reinstall Mendeley, or install Mendeley Desktop through Flatpak. Choose the method that suits your needs and follow the steps provided in the article for a successful installation.

Prerequisites

Before starting, make sure you have a working Ubuntu 22.04 system, and you have administrative (sudo) privileges.

Solution 1: Modify Python Dependencies

Step 1: Check Python Availability

First, check if the python command is available on your system. Open the terminal and type python. If it’s not available, you will need to install python-is-python3.

python

Step 2: Install python-is-python3

python-is-python3 is a simple package that points the python command to python3. Install it by running:

sudo apt-get install python-is-python3

Step 3: Modify the Mendeley .deb File

Download the Mendeley .deb file from the official Mendeley website. Unpack the .deb file and modify the control file by removing “python” from its dependencies.

Step 4: Create a Softlink for Python

To ensure the Mendeley installation goes smoothly, create a softlink /usr/bin/python to point to python2 by running:

cd /usr/bin
sudo mv python python_old
sudo ln -s python2 python

Step 5: Install Mendeley

Now, you can install Mendeley using the modified .deb file.

Step 6: Restore Python Softlink

After the installation, restore the original /usr/bin/python by running:

sudo rm python
sudo mv python_old python

Solution 2: Using the Generic Linux Installer

Step 1: Download and Extract the Installer

Download the generic Linux installer from the Mendeley website and extract it in your home folder.

Step 2: Run Mendeley

Start Mendeley by running:

python3 mendeleydesktop-1.19.8-linux-x86_64/bin/mendeleydesktop

Step 3: Install the Mendeley Link Handler

Optionally, you can install the Mendeley link handler by running:

bash mendeleydesktop-1.19.8-linux-x86_64/bin/install-mendeley-link-handler.sh ~/mendeleydesktop-1.19.8-linux-x86_64/

Solution 3: Reinstall Mendeley

Step 1: Uninstall Mendeley

First, uninstall any existing Mendeley installation by running:

sudo apt-get remove mendeleydesktop

Step 2: Install python-is-python3

Install python-is-python3 by running:

sudo apt-get install python-is-python3 -y

Step 3: Install Mendeley

Finally, install Mendeley again using the .deb file by running:

sudo dpkg -i <package_path>

Replace <package_path> with the path to the Mendeley .deb file.

Solution 4: Install Mendeley Desktop through Flatpak

Flatpak provides a sandbox environment in which users can run applications in isolation from the rest of the system.

Step 1: Install Mendeley

To install Mendeley Desktop through Flatpak, run the following command:

flatpak install flathub com.elsevier.MendeleyDesktop

Step 2: Run Mendeley

After the installation, you can run Mendeley by executing:

flatpak run com.elsevier.MendeleyDesktop

Conclusion

This article provided several solutions for installing Mendeley on Ubuntu 22.04. Please note that the availability and functionality of Mendeley Desktop may vary, as it is no longer actively developed and may not be compatible with newer operating systems. Always check the official Mendeley website for the latest information and updates.

Can I install Mendeley on Ubuntu 22.04?

Yes, you can install Mendeley on Ubuntu 22.04 by following the steps mentioned in the article.

What is Mendeley?

Mendeley is a free reference manager and academic social network that helps researchers organize their research, collaborate with others, and discover new research.

What are the prerequisites for installing Mendeley on Ubuntu 22.04?

Before installing Mendeley, make sure you have a working Ubuntu 22.04 system and administrative (sudo) privileges.

How can I check if the `python` command is available on my Ubuntu system?

You can check the availability of the python command by opening the terminal and typing python. If it’s not available, you will need to install python-is-python3.

Can I install Mendeley using the generic Linux installer?

Yes, you can install Mendeley using the generic Linux installer by following the steps mentioned in Solution 2 of the article.

How can I uninstall Mendeley on Ubuntu 22.04?

To uninstall Mendeley on Ubuntu 22.04, you can run the command sudo apt-get remove mendeleydesktop.

Is Mendeley actively developed and compatible with newer operating systems?

Mendeley Desktop is no longer actively developed, and its compatibility with newer operating systems may vary. It’s recommended to check the official Mendeley website for the latest information and updates.

Leave a Comment

Your email address will not be published. Required fields are marked *