Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jezachen/mendeleydesktop-for-ubuntu-22.04
A script to repackage Mendeley Desktop for compatibility with Ubuntu 22.04; 重打包Mendeley Desktop的bash脚本,使其兼容Ubuntu 22.04
https://github.com/jezachen/mendeleydesktop-for-ubuntu-22.04
mendeley ubuntu ubuntu2204
Last synced: 2 months ago
JSON representation
A script to repackage Mendeley Desktop for compatibility with Ubuntu 22.04; 重打包Mendeley Desktop的bash脚本,使其兼容Ubuntu 22.04
- Host: GitHub
- URL: https://github.com/jezachen/mendeleydesktop-for-ubuntu-22.04
- Owner: JezaChen
- License: gpl-3.0
- Created: 2022-06-28T01:59:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-02T06:48:40.000Z (over 2 years ago)
- Last Synced: 2023-03-06T20:53:10.721Z (almost 2 years ago)
- Topics: mendeley, ubuntu, ubuntu2204
- Language: Shell
- Homepage:
- Size: 33.2 KB
- Stars: 16
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MendeleyDesktop-For-Ubuntu-22.04
[>中文文档<](https://github.com/JezaChen/MendeleyDesktop-For-Ubuntu-22.04/blob/main/README_zh.md)
Script to repackage Mendeley Desktop for compatibility with Ubuntu 22.04
## Why repackage?
If you use `dpkg` to install Mendeley's official installation package directly,
there is a high probability that the following errors will occur:```
dpkg: dependency problems prevent configuration of mendeleydesktop:
mendeleydesktop depends on python; however:
Package python is not installed.
```This is because starting with Debian 11 (bullseye) and Ubuntu 20.04 LTS (focal) releases, all python packages use an explicit `python3` or `python2` interpreter, and do not use the unversioned `/usr/bin/python` at all.
(See also: https://ubuntuforums.org/showthread.php?t=2474380)Therefore, here we change the dependency of mendeleydesktop from python to python3, convert the corresponding python script to python3 format, and repackage it.
## Usage
Make sure you have the `2to3` tool installed, if not, install it with `apt`:```shell
sudo apt install 2to3
```Then download and execute the script:
```shell
curl -s https://raw.githubusercontent.com/JezaChen/MendeleyDesktop-For-Ubuntu-22.04/main/repack.sh | bash -s
```After waiting for a few minutes of repackaging, use `dpkg` to install the generated installation package:
```shell
sudo dpkg -i mendeleydesktop_1.19.8_for_ubuntu_22.04.deb
```## Repackaged deb
You can also directly install the deb package that has been repackaged, if you trust me 😇:
https://github.com/JezaChen/MendeleyDesktop-For-Ubuntu-22.04/releases
## Related Links
- [Can't install Mendeley desktop version 1.19.8 on Ubuntu 22.04, from Ubuntu Forum](https://ubuntuforums.org/showthread.php?t=2474380)- [How to install Mendeley on Ubuntu 22.04, from AskUbuntu](https://askubuntu.com/questions/1405042/how-to-install-mendeley-on-ubuntu-22-04)
- [Ubuntu: Customizing and repacking a deb file](https://fabianlee.org/2018/09/28/ubuntu-customizing-and-repacking-a-deb-file/)