User avatar
ikey
Project Founder
Posts: 1581
Joined: Sun Jul 27, 2014 10:42 pm
Location: Ireland
Contact: Website

Using eopkg

Mon Jul 28, 2014 2:53 pm

This is a very simple, quick and dirty guide to using eopkg in Solus

NOTE: Do not try to use "pisi" in Solus. It has been removed. eopkg is an incompatible fork of pisi with many advanced features.
Only the "eopkg" command is supported

ALSO NOTE: PLEASE do not post instructions for mutilating Solus installations with extracted (INCOMPATIBLE) DEB or RPM files. Use the proper procedure to file a package request so that it is built natively for Solus.

Installing packages

Code: Select all

# 'it' is shorthand for 'install' - both work
# Package in repo 
sudo eopkg it nameofpackage

# Local binary package
sudo eopkg it localpackage.eopkg

# Remote package!
sudo eopkg it http://someremote/remotepackage.eopkg
Searching for packages

Code: Select all

# 'sr' is shorthand for 'search' - both work

Code: Select all

ikey@evolveos ~
$ eopkg sr pico
nano - Small, friendly text editor inspired by Pico
ikey@evolveos ~
$ 

Code: Select all

# searching by description
ikey@evolveos ~
$ eopkg sr --description ascii
aalib       - AAlib is an portable ascii art GFX library
aalib-devel - AAlib is an portable ascii art GFX library
ikey@evolveos ~
$ 
Removing a package

Code: Select all

# 'rm' is shorthand for 'remove' - both work

sudo eopkg remove somepackagename
Updating packages

Code: Select all

# 'up' is shorthand for 'upgrade' - both work
# 'ur' is shorthand for 'update-repo' - both work
# 'lu' is shorthand for 'list-upgrades' - both work

# Perform total upgrade (refreshes repo too)
sudo eopkg up

# Manually update repo
sudo eopkg ur

# Check what upgrades are available
sudo eopkg lu

# Update repo, show what needs to be done for upgrade, but don't perform the action
sudo eopkg up -n
Show all available packages

Code: Select all

# 'la' is shorthand for list-available - both work
sudo eopkg la
Show maintainer information for package, and last change entry

Code: Select all

# 'bl' is shorthand for 'blame' - both work
$ eopkg blame kernel
Name: kernel, version: 3.15.6, release: 19
Package Maintainer: Ikey Doherty <ikey.doherty@gmail.com>
Release Updater: Ikey Doherty <ikey.doherty@gmail.com>
Update Date: 07-26-2014

Update to latest stable upstream version
Ensuring integrity of packages
In this example I have deliberately changed /usr/bin/evobuild

Code: Select all

ikey@evolveos ~
$ sudo eopkg check pisi
Checking integrity of pisi    Broken
Corrupted file: /usr/bin/evobuild
ikey@evolveos ~
$
Show package information and dependencies
Simply use "eopkg info" - this will give results for both the installed version and the repo version, use '-s' to pressures and just see descriptions and status

Code: Select all

$ pisi info libgtk-3
Installed package:
Name                : libgtk-3, version: 3.10.0, release: 17
Summary             : The GTK+ 3 package contains the libraries used for
                      creating graphical user interfaces for applications.
Description         : The GTK+ 3 package contains the libraries used for
                      creating graphical user interfaces for applications.
Licenses            : GPLv3+
Component           : desktop.gtk
Provides            : System.Package 
Dependencies        : libxinerama libxrandr wayland libxkbcommon libxext glib2
                      pango libx11 libxi libxcomposite libxdamage libxfixes
                      libcairo gdk-pixbuf libatk at-spi2-atk freetype2
                      fontconfig glibc libxrender libffi libpcre harfbuzz
                      libxcb pixman libpng zlib at-spi2 dbus bzip2 expat libicu
                      libstdc++ libgcc libxau libxdmcp 
Distribution        : Evolve OS, Dist. Release: 1
Architecture        : x86_64, Installed Size: 33.75 MB
Reverse Dependencies: libgtk-3-devel nautilus gnome-themes-standard
                      xdg-user-dirs-gtk ibus gedit clutter-gtk clutter zenity
                      libchamplain libgtksourceview libvte lightdm-gtk-greeter
                      packagekit libgnome-desktop gnome-control-center
                      budgie-desktop gcr gnome-weather gvfs libtimezonemap
                      libwebkit-gtk polkit-gnome gnome-terminal
                      gnome-screenshot file-roller gnome-calculator mutter
                      network-manager-applet dconf-editor libwnck gnome-keyring
                      eog libcolord-gtk libpeas gnome-settings-daemon
                      gnome-online-accounts libgweather libcanberra
And finally
If you're ever lost, just check the help:

Code: Select all

eopkg help
Last edited by ikey on Mon Jan 02, 2017 2:10 am, edited 2 times in total.
Reason: Ensure people know Solus is Solus and nothing else
Image

User avatar
Justin
Development Team
Posts: 3617
Joined: Mon Jul 28, 2014 10:42 am
Location: Adelaide, Australia
Contact: Website Google+ Twitter

Re: Using PiSI/eopkg

Mon Sep 01, 2014 1:24 am

Figured I'd put together a condensed list of the basics:

Upgrade installed packages

Code: Select all

sudo eopkg up
Add a new repository (custom repos or cloned base repo)

Code: Select all

sudo eopkg ar NAME http://path.to/repository/eopkg-index.xml.xz
Remove an existing repository (please only do this if you need to)

Code: Select all

sudo eopkg rr NAME
Install a new package

Code: Select all

sudo eopkg it pkgnamegoeshere
Remove an installed package

Code: Select all

sudo eopkg rm pkgnamegoeshere
Build a package from pspsec file

Code: Select all

sudo eopkg build path.to/pspec.xml
Search for a package

Code: Select all

sudo eopkg sr searchtexthere
List available packages

Code: Select all

sudo eopkg la
Note: I usually put "| grep text" after it so I can filter by that text

User avatar
ikey
Project Founder
Posts: 1581
Joined: Sun Jul 27, 2014 10:42 pm
Location: Ireland
Contact: Website

Re: Using PiSI/eopkg

Mon Sep 01, 2014 11:38 am

Also a guilty grepper :)
Image

User avatar
Justin
Development Team
Posts: 3617
Joined: Mon Jul 28, 2014 10:42 am
Location: Adelaide, Australia
Contact: Website Google+ Twitter

Re: Using PiSI/eopkg

Wed Sep 03, 2014 3:16 am

Without grep linux would be unusable. End of story.

jward92
Posts: 1
Joined: Thu Jun 25, 2015 8:24 pm

Re: Using PiSI/eopkg

Thu Jun 25, 2015 8:28 pm

I'm fairly new to Linux in general but I did manage to learn my way around most Ubuntu based distros. I'm wondering if there is a way to install software that is not in the repos. For example in Ubuntu I could download a .deb and type:

sudo apt-get dpkg -i home/etc/etc/package.deb

Is something similar to this available with PiSi?

User avatar
Justin
Development Team
Posts: 3617
Joined: Mon Jul 28, 2014 10:42 am
Location: Adelaide, Australia
Contact: Website Google+ Twitter

Re: Using PiSI/eopkg

Thu Jun 25, 2015 11:13 pm

jward92 wrote:I'm fairly new to Linux in general but I did manage to learn my way around most Ubuntu based distros. I'm wondering if there is a way to install software that is not in the repos. For example in Ubuntu I could download a .deb and type:

sudo apt-get dpkg -i home/etc/etc/package.deb

Is something similar to this available with PiSi?
We are not based on Ubuntu or Debian so there is no way to load deb files. If the software is unavailable in the repository (eopkg sr pkg to check) then please check https://github.com/solus-project/repository/issues to see if it has been requested, if not feel free to submit a new issue.

nanotime
Posts: 2
Joined: Mon Oct 12, 2015 3:17 pm

Re: Using PiSI/eopkg

Mon Oct 12, 2015 3:21 pm

This look like a great and simple package manager, really cool. But i have a question...where can i find external packages? I mean, exists a external repo like AUR? Any plan for that? If exists, where i can check the packages? :D

User avatar
ikey
Project Founder
Posts: 1581
Joined: Sun Jul 27, 2014 10:42 pm
Location: Ireland
Contact: Website

Re: Using PiSI/eopkg

Mon Oct 12, 2015 4:42 pm

No external repos yet but they are planned
Image

nanotime
Posts: 2
Joined: Mon Oct 12, 2015 3:17 pm

Re: Using PiSI/eopkg

Tue Oct 13, 2015 3:38 am

Nice to know that... im wondering to migrate to Solus, why not? But, im a node/js dev and web dev... steam player... some bunch of things and i want to have the possibility to pick some things that may be are not in the packages or make my own packages ;)

User avatar
Justin
Development Team
Posts: 3617
Joined: Mon Jul 28, 2014 10:42 am
Location: Adelaide, Australia
Contact: Website Google+ Twitter

Re: Using PiSI/eopkg

Tue Oct 13, 2015 6:44 am

We have nodejs and Steam will be making an appearance soon. You can check what's in the repository here: https://git.solus-project.com/ or as you said, if it's not there, help out by packaging it: https://wiki.solus-project.com/Packaging

Return to “Tutorials”