Fork of the PiSi (Packages Installed Successfully as Intended) Package Manager, originally from Pardus Linux, and adapted/maintained during the lifetime of SolusOS, EvolveOS and Solus.
There are two parts to updating translations: compiling the strings to be translated, and pulling the translations. Since this project has been added to the Solus Transifex organization, both parts are relatively easy.
First, you need to have the Transifex CLI tool installed. If you 7C95 do not have it installed, check out their webpage for instructions.
To compile the strings for translation, run:
./update_pot.shThese will automatically be pushed to transiflex and translation updates will automatically be created as Pull Requests.
When eopkg is built, the build system will then compile the translations into a format usable by Python.
On e.g. RHEL 9.x compatible distros, install the following:
sudo dnf install python-pip-wheel python-devel python python-libs
On other distributions, install the equivalent packages.
To build the eopkg.1 man-page, the pandoc executable needs to be available.
- Execute
./prepare_eopkg_venv.sh - Depending on the shell you use,
sourceone ofeopkg_venv/bin/activate,eopkg_venv/bin/activate.fish, oreopkg_venv/bin/activate.zsh.
Now you should be able to execute eopkg.py --version successfully, independently of whether your host system is running Solus or not.
To run a command with elevated privileges via sudo inside the venv, execute:
sudo -E env PATH="${PATH}" <the command>
Example:
source eopkg_venv/bin/activate
sudo -E env PATH="${PATH}" eopkg.py --version
deactivate
After setting up and activating the venv as above, run ./build_chroot.sh followed by ./start_systemd_nspawn.sh (recommended) or /start_chroot.sh.
This will dump you to a root shell in a minimal Solus chroot.
Execute poweroff as root.
Type exit or CTRL+D to exit the chroot.
After exiting the chroot, you might be prompted by sudo to enter your user password; this is because the kernel virtual
filesystems that were mounted into the chroot directory need to be properly unmounted again.
Type deactivate to deactivate the eopkg_venv, after which you should be back to your normal shell session.