Revert "ATRP"

This reverts commit dd87a793f9.
This commit is contained in:
Xingyu Wang 2023-11-18 12:09:01 +08:00
parent dd87a793f9
commit 4e0809466e
2 changed files with 123 additions and 116 deletions

View File

@ -1,116 +0,0 @@
[#]: subject: "Install the Latest Calibre on Ubuntu"
[#]: via: "https://itsfoss.com/install-calibre-ubuntu/"
[#]: author: "Ishaan Bhimwal https://itsfoss.com/author/community/"
[#]: collector: "lujun9972/lctt-scripts-1693450080"
[#]: translator: "ChatGPT"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-16394-1.html"
在 Ubuntu 上安装最新版的 Calibre
======
![][0]
> Calibre 是一款自由开源的电子书软件。下面介绍如何在 Ubuntu Linux 上安装它。
作为电子书管理的瑞士军刀Calibre 一直备受书籍爱好者和数字书虫们的喜爱。
虽然存在更好(更轻量级)的 [电子书阅读器][1],但 Calibre 在创建电子书、转换格式以及管理你的电子书库方面做得更出色。简言之,它是满足你所有电子书需求的全套解决方案。
在本教程中,我将会涉及:
* 从 Ubuntu 的仓库安装 Calibre简单易行但可能不是最新版本
* 使用官方二进制文件安装 Calibre稍微复杂些但能获取最新版本
### 方法1从 Ubuntu 的仓库安装 Calibre
该方法简单易用,但可能无法获得最新的 Calibre 版本。但大多数情况下,这并不会造成问题。
Ubuntu 的 universe 仓库中提供了 Calibre 的稳定版本。此仓库在大多数系统中默认已启用,因此你只需在软件中心搜索即可,或者使用以下命令进行安装:
```
sudo apt install calibre
```
![][2]
安装完成后,在系统菜单中找到它,然后启动。
#### 卸载 Calibre
如果你不再需要它,可以使用下面的命令卸载 Calibre
```
sudo apt remove calibre
```
### 方法2获取最新版本的 Calibre
[Calibre 官方][3] 推荐安装提供的官方二进制文件。目的是防止用户使用存在错误或已过时的软件包。该二进制文件包含了所有私有版本的依赖项,支持 32 位和 64 位的机器。
首先,我们需要检查系统上是否已经安装了必要的依赖项:
```
apt -qq list xdg-utils wget xz-utils python3
```
![][4]
如果上述包出现缺失的情况,就将它们安装上。
然后,复制并粘贴下列命令到终端里,按回车键以进行安装或升级:
```
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
```
![][5]
**可能的问题处理** :如果你看到一个关于证书不受信任的错误,这表示你的电脑没有安装任何根证书,所以不能安全地下载安装程序。如果你仍然想要继续,向 `wget` 输入命令 `--no-check-certificate`,就像下面的命令一样:
```
sudo -v && wget --no-check-certificate -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
```
#### 卸载 Calibre
如果你按照上述二进制安装法安装了 Calibre你可以通过运行 `sudo calibre-uninstall` 来卸载 Calibre。或者直接删除安装文件夹这样就可以删除 99% 的安装文件。
![][6]
### 结语
在一个数字阅读日渐普及的世界这款开源软件证明了由社区驱动创新的强大影响。无论你是一名资深的电子书爱好者还是正在初探数字阅读的世界Calibre 都有你需要的东西。
尽管有 [详细的文档资源][7],我们还提供了一个简单教程 [指导你在 Calibre 中创建电子书][8]。
> [完整指南:在 Linux 上使用 Calibre 创建电子书][8]
_在 Ubuntu 中体验 Calibre 吧。_
*题图MJ/b63e15a1-1a1c-4ae3-b6c7-40b4537cb567*
--------------------------------------------------------------------------------
via: https://itsfoss.com/install-calibre-ubuntu/
作者:[Ishaan Bhimwal][a]
选题:[lujun9972][b]
译者:[ChatGPT](https://linux.cn/lctt/ChatGPT)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/community/
[b]: https://github.com/lujun9972
[1]: https://itsfoss.com/best-ebook-readers-linux/
[2]: https://itsfoss.com/content/images/2023/09/QPemD12.png
[3]: https://calibre-ebook.com/download_linux
[4]: https://itsfoss.com/content/images/2023/09/XnFwJIX.png
[5]: https://itsfoss.com/content/images/2023/09/UrBF54u.png
[6]: https://itsfoss.com/content/images/2023/09/i9KwV8E.png
[7]: https://calibre-ebook.com/help
[8]: https://linux.cn/article-7977-1.html
[9]: https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png
[0]: https://img.linux.net.cn/data/attachment/album/202311/18/120237ptz6266meg1st2i1.png

View File

@ -0,0 +1,123 @@
[#]: subject: "Install the Latest Calibre on Ubuntu"
[#]: via: "https://itsfoss.com/install-calibre-ubuntu/"
[#]: author: "Community https://itsfoss.com/author/community/"
[#]: collector: "lujun9972/lctt-scripts-1693450080"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Install the Latest Calibre on Ubuntu
======
Calibre, the Swiss Army knife of e-book management, has long been a beloved tool for bibliophiles and digital bookworms alike.
While there are better (lighter) [e-Book readers][1], Calibre is a lot better at creating eBooks, converting their format and managing your eBook library. Basically, it's a complete solution for all your eBook needs.
In this tutorial, I'll discuss:
* Installing Calibre from Ubuntu's repository (easy but may not be the latest version)
* Installing Calibre using official binaries (slightly complicated but gives you the latest version)
### Method 1: Installing Calibre from Ubuntu's repositories
This method is easy to use but it may not give you the latest Calibre version. Which should be fine in most cases.
A stable version of Calibre is available from Ubuntu's universe repository. This repository is usually already enabled on most systems so all you have to do is to look for it in the software center or use the following command to install it:
```
sudo apt install calibre
```
![][2]
Once installed, look for it in the system menu and start from there.
#### Removing Calibre
If you do not want to use it anymore, you can remove Calibre using the command below:
```
sudo apt remove calibre
```
### Method 2: Get the latest Calibre version
[Calibre recommends][3] installing the official binary provided. This is to prevent users from using buggy/outdated packages. It includes private versions of all its dependencies. It supports 32-bit and 64-bit machines.
First, let's check if you have the required dependencies installed on our system:
```
apt -qq list xdg-utils wget xz-utils python3
```
![][4]
If any of the above package is missing, install them.
Now, to install or upgrade, simply copy and paste the following command into a terminal and press Enter:
```
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
```
![][5]
**Possible Troubleshooting** : If you get an error about an untrusted certificate, that means your computer does not have any root certificates installed and so cannot download the installer securely. If you still want to proceed, pass the `--no-check-certificate` option to `wget`, like the command below:
```
sudo -v && wget --no-check-certificate -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
```
#### Removing Calibre
If you followed the above binary installation method, you can uninstall Calibre by running `sudo calibre-uninstall`. Alternately, simply deleting the installation folder will remove 99% of the installed files.
![][6]
### Conclusion
In a world where digital reading is becoming increasingly prevalent, this open-source software stands as a testament to the power of community-driven innovation. Whether you're a seasoned e-book enthusiast or just dipping your toes into the world of digital literature, Calibre has something to offer to you.
While there is [extensive documentation available][7], we have a simple one that [teaches you to create an eBook in Calibre][8].
![][9]
_Enjoy Calibre on Ubuntu._
Written by Ishaan Bhimwal and edited by Abhishek Prakash.
--------------------------------------------------------------------------------
via: https://itsfoss.com/install-calibre-ubuntu/
作者:[Community][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/community/
[b]: https://github.com/lujun9972
[1]: https://itsfoss.com/best-ebook-readers-linux/
[2]: https://itsfoss.com/content/images/2023/09/QPemD12.png
[3]: https://calibre-ebook.com/download_linux
[4]: https://itsfoss.com/content/images/2023/09/XnFwJIX.png
[5]: https://itsfoss.com/content/images/2023/09/UrBF54u.png
[6]: https://itsfoss.com/content/images/2023/09/i9KwV8E.png
[7]: https://calibre-ebook.com/help
[8]: https://itsfoss.com/create-ebook-calibre-linux/
[9]: https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png