forked from examachine/pisi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
102 lines (73 loc) · 3.05 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
INSTALLATION INSTRUCTIONS
=-=-=-=-=-=-=-=-=-=-=-=-=
Author: Eray Ozkural
Generic Instructions:
---------------------
Installation:
You can install PiSi on your system with a single command.
# ./setup.py install
If you are on a Pardus system, you should delete /usr/lib/pardus/pisi
when you are installing the SVN version
PiSi requires piksemel XML processing library, the newest version
Berkekey DB python bindings called "bsddb3" and Pardus configuration
manager COMAR in order to run.
If you are upgrading from an old PiSi release you may have to
run the following command as root:
# pisi rebuild-db
For testing, please read tests/README
OS X Instructions:
------------------
Install homebrew from https://brew.sh, and then
$ brew install python
$ pip install bsddb3
Install piksemel XML processing library
$ brew install coreutils xz gnupg2
set up gnupg2 if needed:
$ gpg --gen-key
$ ./setup.py install
$ ln -s /usr/local/bin/pisi-cli /usr/local/bin/pisi
$ pisi help
xmlext: piksemel or cDomlette implementation cannot be loaded, falling back to minidom
xmlext: cDomlette/piksemel implementation cannot be loaded, falling back to minidom
Usage: pisi [options] <command> [arguments]
where <command> is one of:
add-repo (ar) - Add a repository
build (bi) - Build PISI packages
check - Verify installation
clean - Clean stale locks
configure-pending (cp) - Configure pending packages
delete-cache (dc) - Delete cache files
emerge (em) - Build and install PISI source packages from repository
graph - Graph package relations
help (?) - Prints help for given commands
index (ix) - Index PISI files in a given directory
info - Display package information
install (it) - Install PISI packages
list-available (la) - List available packages in the repositories
list-components (lc) - List available components
list-installed (li) - Print the list of all installed packages
list-pending (lp) - List pending packages
list-repo (lr) - List repositories
list-sources (ls) - List available sources
list-upgrades (lu) - List packages to be upgraded
rebuild-db (rdb) - Rebuild Databases
remove (rm) - Remove PISI packages
remove-repo (rr) - Remove repositories
search (sr) - Search packages
search-file (sf) - Search for a file
update-repo (ur) - Update repository databases
upgrade (up) - Upgrade PISI packages
Use "pisi help <command>" for help on a specific command.
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-D DESTDIR, --destdir=DESTDIR
change the system root for pisi commands
-y, --yes-all assume yes in all yes/no queries
-u USERNAME, --username=USERNAME
-p PASSWORD, --password=PASSWORD
-v, --verbose detailed output
-d, --debug show debugging information
-N, --no-color print like a man
$
It should work on a current OS X installation.