Install Package in upupGG+D

Moderator: Forum moderators

Post Reply
s243a
Posts: 501
Joined: Mon Dec 09, 2019 7:29 pm
Has thanked: 90 times
Been thanked: 37 times

Install Package in upupGG+D

Post by s243a »

Download Soctman's package manager (i.e. pkg) from either the official banch, or a suitable fork.

In my case I'll be using a fork that I suggested in another thread:
http://murga-linux.com/puppy/viewtopic. ... 73#1051573

which I think is mostly up to date with the official master but it's been a while since I've looked at it. For whichever version you select either pull the code off gitlab (or github) using the git or subersion command or alternatively download and extract the archive.

At this point you should have the project on your file system in some folder. Navigate into this folder and run the script called install.sh

pkg currently does not have info for upupGG+D included. The official way to add a repo is with the following command:

Code: Select all

pkg --add-repo https://dl.winehq.org/wine-builds/ubuntu/ bionic main

but this doesn't let us specify the fallback order. An even less official way is with the following command:

Code: Select all

pkg --add-source "groovy-main|deb|Packages-ubuntu-groovy-main|http://ftp.filearena.net/pub/ubuntu/ubuntu/|http://archive.ubuntu.com/ubuntu/|http://mirrors.kernel.org/ubuntu/||common32-official noarch-official

** but his only lets you add fallback that are already in sources-all

Also both of the above approaches require a repo update after each addition which slows down the process. So to get around these limitations we are going to be a bit naughty and directly edit the content of ~/.pkg/sources-all by adding the lines shown in:

Edit: These lines (I think without a space between them) also need to be copied to ~/.pkg/sources before doing the following command.

After modifying this file we can now we set the current repo to "groovy-main":

Code: Select all

pkg --repo groovy-main

This will replace ~/.pkg/pkg-rc with the content from the repo line in sources-all and will also list the current repos in ~/.pkg/sources as per the fall back order defined on the given line of sources-all.

Further Reading:
https://gitlab.com/sc0ttj/Pkg/-/wikis/home

Post Reply

Return to “Install”