mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
fix(installer): 更新安装程序版本至0.3.7 Beta 9
docs(help): 更新about.hlp中的网站链接至新域名 refactor(help): 优化pkg_download_en.hlp的代码块显示格式 feat(imageview): 添加图像加载错误提示和注释说明 style(time): 修复帮助文档格式错误 feat(shell): 添加欢迎界面图形显示 test: 新增imageview和help文档的测试程序
This commit is contained in:
@@ -3,4 +3,4 @@ This help document is not complete.
|
||||
LeonOS's website:
|
||||
|
||||
>>color blue
|
||||
wget run https://gh.catmak.name/https://raw.githubusercontent.com/Leonmmcoset/LeonOS/refs/heads/main/installer.lua
|
||||
https://leonkingdom.netlify.app/leonos/
|
||||
|
||||
@@ -5,9 +5,9 @@ In LeonOS, you can use the `pkg` command to download and install software packag
|
||||
== Basic Usage ==
|
||||
|
||||
Download and install a package:
|
||||
```
|
||||
>>color yellow
|
||||
pkg install <package_name>
|
||||
```
|
||||
>>color white
|
||||
|
||||
== Command Options ==
|
||||
|
||||
@@ -20,60 +20,60 @@ The `pkg install` command supports the following options:
|
||||
== Usage Examples ==
|
||||
|
||||
1. Install a package:
|
||||
```
|
||||
>>color yellow
|
||||
pkg install example-package
|
||||
```
|
||||
>>color white
|
||||
|
||||
2. Force install a package:
|
||||
```
|
||||
>>color yellow
|
||||
pkg install --force example-package
|
||||
```
|
||||
>>color white
|
||||
|
||||
3. Install a package with detailed information:
|
||||
```
|
||||
>>color yellow
|
||||
pkg install -v example-package
|
||||
```
|
||||
>>color white
|
||||
|
||||
4. View help for `pkg install` command:
|
||||
```
|
||||
>>color yellow
|
||||
pkg install --help
|
||||
```
|
||||
>>color white
|
||||
|
||||
== Search for Packages ==
|
||||
|
||||
Before installing a package, you can search for available packages:
|
||||
```
|
||||
>>color yellow
|
||||
pkg search <search_keyword>
|
||||
```
|
||||
>>color white
|
||||
|
||||
Example:
|
||||
```
|
||||
>>color yellow
|
||||
pkg search editor
|
||||
```
|
||||
>>color white
|
||||
|
||||
== View Package Information ==
|
||||
|
||||
Before installing a package, you can view detailed information about it:
|
||||
```
|
||||
>>color yellow
|
||||
pkg info <package_name>
|
||||
```
|
||||
>>color white
|
||||
|
||||
Example:
|
||||
```
|
||||
>>color yellow
|
||||
pkg info example-package
|
||||
```
|
||||
>>color white
|
||||
|
||||
== Update Packages ==
|
||||
|
||||
You can update installed packages using the following command:
|
||||
```
|
||||
>>color yellow
|
||||
pkg update <package_name>
|
||||
```
|
||||
>>color white
|
||||
|
||||
If you don't specify a package name, all installed packages will be updated:
|
||||
```
|
||||
>>color yellow
|
||||
pkg update
|
||||
```
|
||||
>>color white
|
||||
|
||||
== Frequently Asked Questions ==
|
||||
|
||||
|
||||
Reference in New Issue
Block a user