Last active
September 17, 2024 10:55
-
-
Save kaiyom/f93db7345bf072ec7c7129cf006d5293 to your computer and use it in GitHub Desktop.
mendeley desktop version 1.19.5 install in linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Author: @kaiyom (in github) | |
## Licence: MIT | |
## My machine is Ubuntu 22.04 LTS, and this tecnique totally unofficial. | |
## Mendeley needs python2 where Ubuntu22.04 does not have this by default, | |
## so we need to install it. | |
sudo apt update | |
sudo apt install python2 | |
## The python has 2 in it's name, but mendeley is looking for | |
## python without 2. We have work around it by creating a symlink. | |
sudo ln -s /usr/bin/python2 /usr/bin/python | |
## Mendeley also looking for package name python, to reslove this | |
## we can create a fake package with same name. To do this we need | |
## equivs package. Let's install it. | |
sudo apt update | |
sudo apt install equivs | |
## Now let's create the package | |
equivs-control python | |
nano python | |
## Write this following lines to in python file to consider it as a | |
## package configuration. (write without """ quotes) | |
""" | |
Section: misc | |
Priority: optional | |
Standards-Version: 3.9.2 | |
Package: python | |
Version: 2.7.18 | |
Maintainer: Your Name <[email protected]> | |
Architecture: all | |
Description: Dummy python package to satisfy dependencies | |
""" | |
## Now build the fake package and install it. | |
equivs-build python | |
sudo dpkg -i python_2.7.18_all.deb | |
## Download mendeley menually or | |
## (Mendeley Desktop 1.19.5 for Ubuntu (64-bit)) | |
## https://www.mendeley.com/autoupdates/installers/1.19.5 | |
## Download directly from terminal | |
wget https://desktop-download.mendeley.com/download/apt/pool/main/m/mendeleydesktop/mendeleydesktop_1.19.5-stable_amd64.deb | |
## Now install the mendeley | |
sudo dpkg -i ./mendeleydesktop_1.19.5-stable_amd64.deb | |
sudo apt install -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment