2018-09-14 23:04:15 +00:00
|
|
|
# fpkg
|
|
|
|
|
|
|
|
This is a linux package manager focussed on simplicity, rather than feature
|
|
|
|
completeness. This is rather for my personal education, than for producing
|
|
|
|
something useful.
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
* fakeroot
|
|
|
|
* bash
|
|
|
|
* zstd
|
|
|
|
* tar
|
|
|
|
* coreutils
|
2018-09-15 08:36:47 +00:00
|
|
|
* findutils
|
2018-09-14 23:04:15 +00:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
``` bash
|
|
|
|
make install DESTDIR=/desired/path
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
### Prerequesite
|
|
|
|
``` bash
|
|
|
|
mkdir /pkg # folder for storing packages
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
**c**reate **p**ac**k**a**g**e:
|
|
|
|
```bash
|
|
|
|
cd build_dir/of/foo
|
|
|
|
cpkg make install # DESTDIR is set by cpkg
|
|
|
|
```
|
2018-09-15 08:36:47 +00:00
|
|
|
**q**ist **p**ac**k**a**g**e version:
|
|
|
|
``` bash
|
|
|
|
qpkg foo
|
|
|
|
```
|
2018-09-14 23:04:15 +00:00
|
|
|
|
|
|
|
**i**nstall **p**ac**k**a**g**e:
|
|
|
|
``` bash
|
|
|
|
ipkg foo
|
|
|
|
```
|
|
|
|
|
|
|
|
**r**emove **p**ac**k**a**g**e:
|
|
|
|
``` bash
|
|
|
|
rpkg foo
|
|
|
|
```
|