LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [PORG package organizer] are there alternatives to PORG? (https://www.linuxquestions.org/questions/linux-software-2/%5Bporg-package-organizer%5D-are-there-alternatives-to-porg-4175715283/)

Michael Uplawski 08-02-2022 08:32 AM

[PORG package organizer] are there alternatives to PORG?
 
Good afternoon

Using porg on a regular basis, I have to admit that, with the time, the outdated status of the program begins to worry me.

Searxing for “Sourcecode Package Organizer” does not produce much more than references to porg (formerly paco).

Is there an alternative to porg?

What it does: Porg lets you install self-compiled programs and ensures that they can be uninstalled cleanly. Apart from that it keeps some information on the configuration of the package in question and allows the creation of installable tar.xz archives.

teckk 08-04-2022 08:53 AM

I would say to use the package manager that comes with your linux distribution. And not mix package managers. Or is porg the sole package manager that you are using? If so then switch to one of the other package managers. You'll need to read the docs for it and set it up on your box. Make a package from your source and install it with your package manager.

Pacman for example:
https://archlinux.org/pacman/
https://wiki.archlinux.org/title/Pacman

Apt
https://manpages.ubuntu.com/manpages...an8/apt.8.html
https://en.m.wikipedia.org/wiki/APT_(Package_Manager)

https://www.rosehosting.com/blog/lin...kage-managers/

I don't know which one is "best".

Edit:
And that includes python. I'm not a fan of pip. Not on box's that have another package manager.

Now, you can always build/run something form a directory in /home. That won't hurt anything.

Michael Uplawski 08-04-2022 11:40 AM

Porg is quicker and simpler than anything needing a special package format. Else I would not use it. All I have to do is replace
Code:

castelreng@aude:~/[path]$ make install
by
Code:

castelreng@aude:~/[path]$ porg -lD make install
Apt is my regular package manager. But it is no replacement for porg.

teckk 08-04-2022 01:01 PM

Most all of the major distros have a way/ways of making packages that you can then install with it's package manager. Then you won't have a broken machine, or messed up file tree. The package manager then knows everything about everything.

Debian
https://debian-handbook.info/browse/...packaging.html
https://www.linuxshelltips.com/create-debian-package/

Arch
https://wiki.archlinux.org/title/Makepkg

Fedora
https://docs.fedoraproject.org/en-US...ng-guidelines/
https://docs.fedoraproject.org/en-US...ial_GNU_Hello/

Slack
https://docs.slackware.com/howtos:sl...ding_a_package

Gentoo
https://wiki.gentoo.org/wiki/Binary_package_guide/en

Etc.

If you like porg best, you can look at porg's source, see how it works, update it if you like. It's a bunch of cpp. Looks like the author broke it up into nice little parts with header files.
Code:

#(494k)
curl https://cfhcable.dl.sourceforge.net/project/porg/porg-0.10.tar.gz -o porg-0.10.tar.gz

mkdir ~/porg

tar -xf porg-0.10.tar.gz -C ~/porg



All times are GMT -5. The time now is 05:51 AM.