fpkg/Readme.md

41 lines
608 B
Markdown
Raw Normal View History

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
## 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
```