Pacman +---> Configuration file
+
+-> RootDir = The path which install the binary file
|
+-> DBPath = The Database of pacman
| + Execute "./pacman -Syy" will create local and sync
| | which under /var/lib/pacman
| |
| | sync = Put all DB under this path
| |
| +----> According the setting(below) in configuration file
| [core]
| [extra]
| [community]
|
+-> CacheDir= Put all package which download from internet.
下載pacman並編釋
pacman 在 Linux_Cross_Compiler_tools/Pacman/X86底下
git clone git@github.com:xxxxx/Linux_Cross_Compiler_tools.git
./pacman -Syy
完成編釋動作之後,並執行pacman資料庫更新,db檔會儲存在 /var/lib/pacman/sync 之下
./var/lib/pacman/sync/core.db
./var/lib/pacman/sync/extra.db
./var/lib/pacman/sync/community.db
./var/lib/pacman/sync/archlinuxfr.db
開始下載與安裝 geany
./pacman -S geany
geany 的可執行壓縮檔會被下載到 ./var/cache/pacman/pkg/
./var/cache/pacman/pkg/geany-x86_64.pkg.tar.xz
Reference:
沒有留言:
張貼留言