-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspm.1
74 lines (64 loc) · 3.15 KB
/
spm.1
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
.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples.
.\"See Also:
.\"man mdoc.samples for a complete listing of options
.\"man mdoc for the short list of editing options
.\"/usr/share/misc/mdoc.template
.Dd 8/26/17
.Dt spm 1
.Os simoniz0r
.Sh NAME
.Nm spm
.Nm (simple package manager)
.Sh SYNOPSIS
.Nm
.Op Fl l,li,s,i,r,upd,uf,upg
.Op Ar package
.Sh DESCRIPTION
.Nm
is a simple commandline package manager that installs AppImages and
precompiled tar archives. Using the lists generated from spm's repo, spm
provides a variety of AppImages and precompiled tars for install. spm keeps
track of installed packages and their versions, so spm can also be used to
upgrade and remove packages installed by spm.
.Sh SPM ARGUMENTS
.Bl -tag -width -indent \
.It
.It list (-l)
list all packages known by spm or info about the specified package
.It list-installed (-li)
list all installed packages and install info
.It search (-s)
search package lists for packages matching input
.It install (-i)
install an AppImage or precompiled tar archive
.It remove (-r)
remove an installed AppImage or precompiled tar archive
.It update (-upd)
update package lists and check for package upgrades
.It update-force (-uf)
mark specified AppImage or tar archive for upgrade without checking version
.It upgrade (-upg)
upgrade all installed packages that are marked for upgrade or the specified package
.El \" Ends the list
.Sh APPIMAGES
AppImages are installed to '/usr/local/bin/AppImageName'. Information for installed AppImages is stored in '/home/simonizor/.config/spm/appimginstalled/AppImageName'. Packages on your system should not conflict with AppImages
installed through
.Nm
, but
.Nm
will not allow AppImages that have the same name as existing commands on
your system to be installed.
AppImages contain all dependencies that are necessary for the app to run as long as
those dependencies would not be on a normal Linux system. This means that AppImages should "just work"
without having to install any additional packages!
Upgrades for AppImages that are downloaded from direct sources rather than Github will not be reliable. There is no reliable way to check versions for AppImages from direct sources. If you find an AppImage from a direct source to be out of date even after running the update argument, try running the force update argument. If the AppImage is still out of date, please report an issue on spm's github repo.
.Sh TAR ARCHIVES
Precompiled tar archives are installed to '/opt/PackageName', and symlinks are created for the .desktop and executable
files. Information for installed tar archives is stored in '/home/simonizor/.config/spm/tarinstalled/PackageName'.
.Nm
does not handle installing dependencies for tar packages that are installed through spm. A list of dependencies
will be outputted on install and will also be saved to '/home/simonizor/.config/spm/tarinstalled/PackageName'. If you find that
you are missing dependencies needed for a package installed through
.Nm
, you can look there for some help.
.Ar spm man page version 0.6.4