EPKG Package Manager: Difference between revisions

From Argent Linux Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 66: Line 66:
Then, you can remove Plasma, and install something else.
Then, you can remove Plasma, and install something else.


== If you want to start developing things ==
== If you are a developer, and want to start developing things with easy maintenance ==


You have to switch on development mode  using <code>avasile --help</code> like this:
You have to switch on development mode  using <code>avasile --help</code> like this:

Revision as of 13:24, 13 April 2025

Epkg Package Manager

First of all, the holy epkg --help.

To install packages

epkg install <package>

No confirmation:

epkg autoinstall <package>

To remove packages

epkg remove <package>

No confirmation:

epkg autoremove <package>

To update

epkg update

No confirmation:

epkg autoupdate

To upgrade

epkg upgrade

No confirmation:

epkg autoupgrade

To clean after upgrade/install

epkg clean

No confirmation:

epkg autoclean

To upgrade also development & build packages

epkg upgrade-full

No confirmation:

epkg autoupgrade-full


Package Administration

Argent comes with some Gentoo sets that you need to remove if you want KDE removed.

Normally KDE Plasma can't be removed from Argent installation by a normal user - and this is the right way, it's like removing Windows 11 or MacOS UI.

But in order to remove this protection, you have to have some Gentoo knowledge, and understanding what you are doing.

So, basically you will have:

emerge --deselect plasma-workspace plasma-tools

Then, you can remove Plasma, and install something else.

If you are a developer, and want to start developing things with easy maintenance

You have to switch on development mode using avasile --help like this:

avasile --devmode

It's not a big issue, this will let you compile some things that you do not have, and versions that our precompiled repository do not have yet.

Normally a linux advanced user won't feel any difference between the normal user mode and devmode.

But essentially, the devmode will start installing build dependencies, and those dependencies are only used to compile or build programs.

In this mode you can start using epkg to compile things, like this:

avasile compile <package>

avasile autocompile <package>

or

avasile recompile <package>

avasile autorecompile <package>

Difference between them is intuitive, as well as non-verbose (compile) versus verbose (recompile).

Compilation management

If you want to recompile every package that's based on a given package:

epkg recompile-depend <package>

No confirmation:

epkg autorecompile-depend <package>