Using packages - RedCoolBeans/CargOS GitHub Wiki
Using packages
CargOS is using pkgsrc (pkgin) as a package manager. In this wiki entry some basic usage of pkgin(1) is described. For detailed information, please read the pkgin(1) manpage.
- Updating the package database
pkgin up
- Searching for a package
pkgin se NAME_OF_THE_PACKAGE
- Installing a package
pkgin in NAME_OF_THE_PACKAGE
- Removing a package
pkgin rm NAME_OF_THE_PACKAGE
- Upgrading all installed packages
pkgin fug
As an example let's install tmux
[root@52-54-00-44-a5-95 ~]# pkgin se tmux
tmux-1.9a BSD-licensed terminal multiplexer (GNU Screen alternative)
=: package is installed and up-to-date
<: package is installed but newer version is available
>: installed package has a greater version than available package
[root@52-54-00-44-a5-95 ~]# pkgin in tmux
calculating dependencies... done.
nothing to upgrade.
7 packages to be installed (4877K to download, 17M to install):
mpfr-3.1.2pl11 mpcomplex-1.0.2 gmp-6.0.0a gcc47-libs-4.7.3nb7 ncurses-5.9nb4 libevent-2.0.22 tmux-1.9a
proceed ? [Y/n] y
downloading packages...
mpfr-3.1.2pl11.tgz 100% 520KB 520.4KB/s 520.4KB/s 00:01
mpcomplex-1.0.2.tgz 100% 131KB 130.8KB/s 130.8KB/s 00:00
gmp-6.0.0a.tgz 100% 761KB 761.3KB/s 761.3KB/s 00:00
gcc47-libs-4.7.3nb7.tgz 100% 1253KB 1.2MB/s 1.2MB/s 00:00
ncurses-5.9nb4.tgz 100% 1316KB 1.3MB/s 1.3MB/s 00:00
libevent-2.0.22.tgz 100% 686KB 686.2KB/s 686.2KB/s 00:00
tmux-1.9a.tgz 100% 210KB 209.6KB/s 209.6KB/s 00:00
installing packages...
installing mpfr-3.1.2pl11...
installing mpcomplex-1.0.2...
installing gmp-6.0.0a...
installing gcc47-libs-4.7.3nb7...
installing ncurses-5.9nb4...
installing libevent-2.0.22...
installing tmux-1.9a...
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
updating database: 100%
marking tmux-1.9a as non auto-removable
CargOS is intended to be a minimal host system so the number of provided 3rd party packages are limited. If you can't find what you are looking for, please contact us.