Package manager

Frequent commands

MocaccinoOS uses luet as a package manager. Here in this document are collected references from the luet docs.

Update the repositories

This command updates your repository database.

1
2
3

$ sudo luet repo update

Installing a package

To install a package with luet, simply run:

1
2
3

$ sudo luet install <package_name>

Be sure you write the full package name that includes the category. So if you are installing for example neofetch:

1
2
3

$ sudo luet install apps/neofetch

Uninstalling a package

To uninstall a package with luet, simply run:

1
2
3

$ sudo luet uninstall <package_name>

Upgrading the system

To upgrade your system, simply run:

1
2
3

$ sudo luet upgrade

Searching a package

To search a package:

1
2
3

$ sudo luet search <regex>

To search a package and display results in a table:

1
2
3

$ sudo luet search --table <regex>

To look into the installed packages:

1
2
3

$ sudo luet search --installed <regex>

Note: the regex argument is optional

Search output

Search can return results in the terminal in different ways: as terminal output, as json or as yaml.

JSON

1
2
3

$ sudo luet search --json <regex>

YAML

1
2
3

$ sudo luet search --yaml <regex>

Tabular

1
2
3

$ sudo luet search --table <regex>

References

Last modified August 27, 2024: Update desktop_environments.md (009b061)