41 lines
608 B
Markdown
41 lines
608 B
Markdown
|
# 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
|
||
|
|
||
|
## 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
|
||
|
```
|
||
|
|
||
|
**i**nstall **p**ac**k**a**g**e:
|
||
|
``` bash
|
||
|
ipkg foo
|
||
|
```
|
||
|
|
||
|
**r**emove **p**ac**k**a**g**e:
|
||
|
``` bash
|
||
|
rpkg foo
|
||
|
```
|