porteus 5.0 package manager

Post here if you are a new Porteus member and you're looking for some help.
Farid
Black ninja
Black ninja
Posts: 32
Joined: 21 Apr 2022, 20:11
Distribution: Porteus 5.0

porteus 5.0 package manager

Post#1 by Farid » 07 Jul 2022, 10:13

hi
how can i install nano in porteus 5.0?
pmod -u
/usr/local/bin/pmod: line 5: slackpkg: command not found

whats the package manager?
usm
installpkg
not found
Last edited by Ed_P on 19 Jul 2022, 13:43, edited 2 times in total.
Reason: Updated title

bour59
Samurai
Samurai
Posts: 181
Joined: 29 Dec 2010, 08:10
Distribution: porteus v5.0-xfce K5.19.7
Location: France

porteus 5.0 package manager

Post#2 by bour59 » 07 Jul 2022, 10:34

easy : getpkg nano

raja
Shogun
Shogun
Posts: 434
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and Porteus-Artix-64
Location: Chennai,India

porteus 5.0 package manager

Post#3 by raja » 07 Jul 2022, 10:38

Download nano txz package from,

https://slackware.pkgs.org/current/slackware-x86_64/2/

and right click to convert to xzm pacakge. Copy that to modules folder and activate.
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit

Farid
Black ninja
Black ninja
Posts: 32
Joined: 21 Apr 2022, 20:11
Distribution: Porteus 5.0

porteus 5.0 package manager

Post#4 by Farid » 07 Jul 2022, 13:06

bour59,
raja,
thanks
good

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

porteus 5.0 package manager

Post#5 by ncmprhnsbl » 08 Jul 2022, 02:05

Farid wrote:
07 Jul 2022, 10:13
pmod -u
/usr/local/bin/pmod: line 5: slackpkg: command not found

whats the package manager?
usm
installpkg
not found
in these cases, you need to use root (except for usm, which isn't there anymore)
about slackpkg: it's not he most intuitive package manager and requires some setting up via /etc/slackpkg/slackpkgplus.conf and /etc/slackpkg/mirrors for best usage
eg. uncommenting extra third party repos in /etc/slackpkg/slackpkgplus.conf
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

porteus 5.0 package manager

Post#6 by Blaze » 08 Jul 2022, 07:05

Farid,

Code: Select all

su
toor

# pmod is a simple wrapper for slackpkg
pmod -u
pmod -s search-by-package-name
pmod -m package-name

# or
slackpkg update gpg
slackpkg update
slackpkg install package-name

# or (get packages from the Slackware current branch)
getpkg package-name
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Farid
Black ninja
Black ninja
Posts: 32
Joined: 21 Apr 2022, 20:11
Distribution: Porteus 5.0

porteus 5.0 package manager [solved]

Post#7 by Farid » 12 Jul 2022, 18:38

Blaze, slackpkg not found
how can i install slackpkg?

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

porteus 5.0 package manager [solved]

Post#8 by Blaze » 12 Jul 2022, 19:57

Farid, download and activate 05-devel.xzm
https://mirrors.dotsrc.org/porteus/x86_ ... .0/kernel/
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Shadow0815
Black ninja
Black ninja
Posts: 33
Joined: 16 Jul 2015, 03:50
Distribution: Porteus,Xubuntu,Arch
Location: DE

porteus 5.0 package manager [solved]

Post#9 by Shadow0815 » 12 Jul 2022, 23:07

Farid wrote:
12 Jul 2022, 18:38
Blaze, slackpkg not found
how can i install slackpkg?
it is there: /usr/sbin/slackpkg, you need to be root to be found because as normal user /usr/sbin is not in PATH variable

su
toor

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

porteus 5.0 package manager [solved]

Post#10 by ncmprhnsbl » 13 Jul 2022, 02:52

some further clarification: there's also slpkg which is in 05-devel.xzm
which, as well as normal package management, has a SBo facility to automate the SlackBuild compilation process..
beware though, part of it's process includes downloading the entire slackbuilds script tree (which adds up to some mb s)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

blue-devil-93
White ninja
White ninja
Posts: 4
Joined: 12 Jul 2022, 14:44
Distribution: xubuntu

porteus 5.0 package manager [solved]

Post#11 by blue-devil-93 » 13 Jul 2022, 05:47

getpkg works. Is there something like synaptic?

Farid
Black ninja
Black ninja
Posts: 32
Joined: 21 Apr 2022, 20:11
Distribution: Porteus 5.0

porteus 5.0 package manager [solved]

Post#12 by Farid » 15 Jul 2022, 12:10

Blaze,
sudo slackpkg install nano

Looking for nano in package list. Please wait... DONE

No packages match the pattern for install. Try:

/usr/sbin/slackpkg reinstall|upgrade

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

porteus 5.0 package manager [solved]

Post#13 by beny » 15 Jul 2022, 17:20

hi Farid when you use slackpkg first step is slackpkg update after this you can search for nano or the software you need inside the slackware repository.i have seen sudo pmod -m nano work too and make a porteus module in /tmp

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

porteus 5.0 package manager [solved]

Post#14 by Blaze » 15 Jul 2022, 20:05

Farid, open terminal and run these commands:

Code: Select all

su
toor
slackpkg update gpg
slackpkg update
slackpkg install nano
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

porteus 5.0 package manager [solved]

Post#15 by ncmprhnsbl » 18 Jul 2022, 01:41

blue-devil-93 wrote:
13 Jul 2022, 05:47
getpkg works. Is there something like synaptic?
there is gslapt , a gui for slapt-get slapt-get: slapt-get is an APT like system for Slackware package management.
needs one tweak: in /usr/share/applications/gslapt.desktop: change "gksu" to "psu" in the Exec line
clearly not equal to synaptic featurewise but the closest you'll see in the slackware world..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply