mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
docs(帮助文档): 更新并新增帮助文档内容
- 修复create_package.hlp中的格式问题 - 在pkg_download_en.hlp中添加空行提高可读性 - 新增network.hlp网络工具文档 - 新增config.hlp系统配置管理文档
This commit is contained in:
@@ -20,21 +20,25 @@ 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
|
||||
@@ -42,11 +46,13 @@ pkg install --help
|
||||
== 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
|
||||
@@ -54,11 +60,13 @@ pkg search editor
|
||||
== 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
|
||||
@@ -66,11 +74,13 @@ pkg info example-package
|
||||
== 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
|
||||
|
||||
Reference in New Issue
Block a user