Install Typora on Linux

简介: Install Typora on Linux

Install Typora on Linux

Installation instructions for different flavours of Linux.

不同风格 Linux 的安装说明。

Debian/Ubuntu

# or use  
# wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
wget -qO - https://typoraio.cn/linux/public-key.asc | sudo tee /etc/apt/trusted.gpg.d/typora.asc
# add Typora's repository
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
# install typora
sudo apt-get install typora

Alternative for apt-key //apt-key 的替代品

When you try to add an APT repository key using apt-key (first line in previous command line) on Debian, Ubuntu and Linux distributions based on these, you’ll see the following message: “Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))”.
The easiest way would be just to ignore it.
But if you’re not OK with the warning, you can do followings:
当您尝试在基于这些的 Debian、Ubuntu 和 Linux 发行版上使用 apt-key(上一个命令行中的第一行)添加 APT 存储库密钥时,您将看到以下消息:“警告:不推荐使用 apt-key。 改为在trusted.gpg.d 中管理密钥环文件(参见apt-key(8))”。
最简单的方法就是忽略它。
但是,如果您对警告不满意,您可以执行以下操作:
#Download the key and save it locally somewhere.
curl https://typora.io/linux/public-key.asc | gpg --dearmor > /usr/share/keyrings/typora.gpg
#Create repo file typora.list in /etc/apt/sources.list.d.
sudo vim /etc/apt/sources.list.d/typora.list
#Paste repo definition into this file:
deb [arch=amd64 signed-by=/usr/share/keyrings/typora.gpg] https://typora.io/linux ./
#Now you can install Typora:
sudo apt-get update
sudo apt-get install typora

Upgrade Typora

After installing Typora, the typora package will be managed by apt-get, so when your system updates installed packages, or you execute apt-get upgrade, Typora will be updated to latest version.
安装 Typora 后,typora 包将由 apt-get 管理,因此当您的系统更新已安装的包时,或者您执行 apt-get upgrade 时,Typora 将更新到最新版本。
# upgrade all packages include Typora
sudo apt-get upgrade

Mint

# or use
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
# add Typora's repository
echo -e "\ndeb https://typora.io/linux ./" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
# install typora
sudo apt-get install typora

Download deb file manually

You can also manually download and install the deb package file, following those steps:
    Find download link from https://typora.io/releases/all and download the Linux version.
    Double click the deb file to start installing on Ubuntu / Debian.

Other Distributions

    Download the binary package Typora-linux-x64.tar.gz.
    Try to install apt-get on your distribution, and then install typora.


目录
相关文章
|
28天前
|
Linux 数据处理
Linux命令`install`详解:不仅仅是安装工具
`install`命令在Linux中并非仅用于安装软件,而是用于精确复制文件和目录,设置权限及所有权。它能创建目标目录、处理符号链接并保留时间戳。例如,`install -m 644 source.txt /dest`用于复制文件并设置权限,`install -d -m 755 /dest/dir`创建目录。使用时要注意权限设置,避免误操作,并记录命令以备恢复。
|
10天前
|
关系型数据库 MySQL Linux
Linux部署实战前言,MySQL在CentOS安装【单机软件】,MySQL的安装需要root权限,yum install mysql,systemctl enable mysqld开机自启的意思
Linux部署实战前言,MySQL在CentOS安装【单机软件】,MySQL的安装需要root权限,yum install mysql,systemctl enable mysqld开机自启的意思
|
10天前
|
Ubuntu Linux
Linux软件安装-Linux系统靠yum命令安装软件,yum命令是一个RPM包软件管理器,用于自动化安装配置Linux软件,.rpm是Linux包下的软件,yum install下载 wget re
Linux软件安装-Linux系统靠yum命令安装软件,yum命令是一个RPM包软件管理器,用于自动化安装配置Linux软件,.rpm是Linux包下的软件,yum install下载 wget re
|
2月前
|
Linux 程序员 计算机视觉
【linux 学习】在Linux中经常用到的cmake、make、make install等命令解析
【linux 学习】在Linux中经常用到的cmake、make、make install等命令解析
78 0
|
2月前
|
Linux
|
2月前
|
Web App开发 NoSQL Linux
Linux install MongoDB
Linux install MongoDB
72 0
|
2月前
|
Ubuntu Linux Docker
Linux Install Docker
Linux Install Docker
54 0
|
Linux
linux 下 root 权限执行 npm install 报错:Error:EACCES:permission denied ‘xxx‘?
linux 下 root 权限执行 npm install 报错:Error:EACCES:permission denied ‘xxx‘?
245 0
linux 下 root 权限执行 npm install 报错:Error:EACCES:permission denied ‘xxx‘?
|
Linux
LINUX虚拟机安装增强功能时报错: Kernel headers not found for target kernel. Please install them and execute
LINUX虚拟机安装增强功能时报错: Kernel headers not found for target kernel. Please install them and execute
283 0