openEuler(https://openeuler.org/zh/)是什么呢?按照官方的说法:“openEuler是一个开源、免费的Linux发行版平台,将通过开放的社区形式与全球的开发者共同构建一个开放、多元和架构包容的软件生态体系。”
- HW开发的EulerOS是基于 CentOS 的发行版。
- openEuler是 EulerOS 社区版,自然也是基于 CentOS 的。
- CentOS 是 Redhat 的社区编译版,操作系统免费,更新服务收费。
- Redhat 现在已经被IBM全资收购。
按照尝新的步骤,查看文档、快速入门、下载安装、尝试使用、安装软件,来试一下这个东西。
1、查看文档
主页在openEuler(https://openeuler.org/zh/)。
- 源码:https://gitee.com/openeuler
- 安装:https://openeuler.org/zh/docs/20.03_LTS/docs/Releasenotes/release_notes.html
- 文档:https://openeuler.org/zh/docs/20.03_LTS/docs/Administration/管理系统服务.html
一些帖子如下:
- 初试openEuler(二):windows下使用VirtualBox安装openEuler,Author: traffic_millions · Published at March 27, 2020 · 1 min read,windows下使用VirtualBox安装openEuler虚拟机....
- 初试openEuler(一):windows下使用qemu安装openEuler,Author: traffic_millions · Published at March 27, 2020 · 1 min read,windows下使用qemu安装openEuler虚拟机...
- 如何使用 openEuler OBS - (二)与gitee的联动,Author: Changjie Fu · Published at March 26, 2020 · 2 min read,OBS系统如何借助Source Services自动获取git仓库中的代码....
- 如何使用 openEuler OBS - (一)介绍,Author: Changjie Fu · Published at March 26, 2020 · 1 min read,OBS系统的介绍及openEuler OBS 的简单应用....
- openEuler Lifecycle,Author: WangXun, Technical Committee · Published at March 25, 2020 · 1 min read,openEuler lifecycle....
- Apply for VMs from Peng Cheng Laboratory,Author: openEuler Infrastructure · Published at March 25, 2020 · 2 min read,This article is to guide you apply for virtual machines from Peng Cheng Laboratory....
- A Status Update of Early Spring,Author: Shinwell Hu, Technical Committee · Published at March 16, 2020 · 1 min read,A summary of TC status update....
- Notice to upgrade license from Mulan PSL v1 to v2,Author: Fred Li · Published at March 4, 2020 · 2 min read,Mulan Permissive Software License v2 has got accepted by OSI, thus openEuler community is planning to upgrade the license from Mulan PSL v1 to v2....
- 开源知识产权相关的几个问题,Author: Xing Zhu · Published at February 14, 2020 · 1 min read,本文简要讨论了跟开源相关的几个重要的知识产权的基本问题。...
- openEuler开源社区基础设施上线,Author: openEuler Infrastructure Team · Published at January 1, 2020 · 1 min read,历经3个多月的准备,openEuler开源社区基础设施上线了。...
总体上看,文档应该刚刚开始,玩的人还比较少。
2、快速入门
进入主页(https://openeuler.org/zh/),点击快速入门,然后:
社区网页还需要完善,但系统文档(https://openeuler.org/zh/docs/20.03_LTS/docs/Administration/管理系统服务.html)还是完整的(跟CentOS基本一样,只是改了名称)。
3、下载安装
- openEuler 20.03 LTS All Releases>>
- The openEuler 20.03 LTS version is a standard release version that meets open scenario requirements, which has a lifecycle of four years.
- Download ISO:Link
- Lifecycle:Link
- Submit issues:Link
3.1 最新的20.03版本下载链接如下(镜像比较大!):
- Index of /openEuler-20.03-LTS/ISO/x86_64/
File Name ↓ | File Size ↓ | Date ↓ |
---|---|---|
Parent directory/ | - | - |
openEuler-20.03-LTS-debuginfo-x86_64-dvd.iso | 11.3 GiB | 2020-Mar-26 14:53 |
openEuler-20.03-LTS-debuginfo-x86_64-dvd.iso.sh..> | 111 B | 2020-Mar-26 14:53 |
openEuler-20.03-LTS-everything-x86_64-dvd.iso | 11.2 GiB | 2020-Mar-26 14:51 |
openEuler-20.03-LTS-everything-x86_64-dvd.iso.s..> | 112 B | 2020-Mar-26 14:53 |
openEuler-20.03-LTS-x86_64-dvd.iso | 4.2 GiB | 2020-Mar-26 14:50 |
openEuler-20.03-LTS-x86_64-dvd.iso.sha256sum | 101 B | 2020-Mar-26 14:49 |
3.2 已经有arm64的版本如下(也比较大):
- Index of /openEuler-20.03-LTS/ISO/aarch64/
File Name ↓ | File Size ↓ | Date ↓ |
---|---|---|
Parent directory/ | - | - |
openEuler-20.03-LTS-aarch64-dvd.iso | 4.3 GiB | 2020-Mar-26 14:46 |
openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum | 102 B | 2020-Mar-26 14:48 |
openEuler-20.03-LTS-debuginfo-aarch64-dvd.iso | 10.9 GiB | 2020-Mar-26 14:48 |
openEuler-20.03-LTS-debuginfo-aarch64-dvd.iso.s..> | 112 B | 2020-Mar-26 14:48 |
openEuler-20.03-LTS-everything-aarch64-dvd.iso | 10.9 GiB | 2020-Mar-26 14:49 |
openEuler-20.03-LTS-everything-aarch64-dvd.iso...> | 113 B | 2020-Mar-26 14:49 |
3.3 快速下载ISO for X64版本:
wget -c https://repo.openeuler.org/openEuler-20.03-LTS/ISO/x86_64/openEuler-20.03-LTS-everything-x86_64-dvd.iso
因为比较大,我使用-c参数来支持断点续传。刚开始速度比较快,然后很快降速,下载需要比较长的时间。
4、尝试使用
5、安装软件
然后是登录进去,安装新的软件源,更新系统。
- openEuler使用dnf进行软件包管理,跟yum是完全一样的。
- dnf(带你飞)可以下载、安装rpm包,所有的rpm软件源也是可用的。
使用dnf能够让您方便的进行查询、安装、删除软件包等操作。
搜索软件包
您可以使用rpm包名称、缩写或者描述搜索需要的RPM包,使用命令如下:
dnf search term
示例如下:
$ dnf search httpd
========================================== N/S matched: httpd ==========================================
httpd.aarch64 : Apache HTTP Server
httpd-devel.aarch64 : Development interfaces for the Apache HTTP server
httpd-manual.noarch : Documentation for the Apache HTTP server
httpd-tools.aarch64 : Tools for use with the Apache HTTP Server
libmicrohttpd.aarch64 : Lightweight library for embedding a webserver in applications
mod_auth_mellon.aarch64 : A SAML 2.0 authentication module for the Apache Httpd Server
mod_dav_svn.aarch64 : Apache httpd module for Subversion server
列出软件包清单
要列出系统中所有已安装的以及可用的RPM包信息,使用命令如下:
dnf list all
要列出系统中特定的RPM包信息,使用命令如下:
dnf list glob_expression…
示例如下:
$ dnf list httpd
Available Packages
httpd.aarch64 2.4.34-8.h5.oe1 Local
显示RPM包信息
要显示一个或者多个RPM包信息,使用命令如下:
dnf info package_name…
例如搜索,命令如下:
$ dnf info httpd
Available Packages
Name : httpd
Version : 2.4.34
Release : 8.h5.oe1
Arch : aarch64
Size : 1.2 M
Repo : Local
Summary : Apache HTTP Server
URL : http://httpd.apache.org/
License : ASL 2.0
Description : The Apache HTTP Server is a powerful, efficient, and extensible
: web server.
安装RPM包
要安装一个软件包及其所有未安装的依赖,请在root权限下执行如下命令:
dnf install package_name
您也可以通过添加软件包名字同时安装多个软件包。配置文件/etc/dnf/dnf.conf添加参数strict=False,运行dnf命令参数添加–setopt=strict=0。请在root权限下执行如下命令:
dnf install package_name package_name… --setopt=strict=0
示例如下:
# dnf install httpd
说明:
安装RPM包过程中,若出现安装失败,可参考“FAQ > 安装时出现软件包冲突、文件冲突或缺少软件包导致安装失败”。
下载软件包
使用dnf下载软件包,请在root权限下输入如下命令:
dnf download package_name
如果需要同时下载未安装的依赖,则加上–resolve,使用命令如下:
dnf download --resolve package_name
示例如下:
# dnf download --resolve httpd
删除软件包
要卸载软件包以及相关的依赖软件包,请在root权限下执行如下命令:
dnf remove package_name…
示例如下:
# dnf remove totem