Page 1 of 1
Local pkg index
Posted: Fri Aug 04, 2023 2:32 am
by Karasamur
Hi.
I'm using Ghostbsd latest. I've downloaded around 7000 packages from the main repositories. All in one directory in a spare place.
How can I install all of these 7000 packages from the backup directory without downloading them from the internet when the system crashes and reinstalls. My only command is my preference.
Re: Local pkg index
Posted: Sat Aug 05, 2023 11:24 am
by ericbsd
I am trying to figure out if there is a question in your post that is unclear to me.
Re: Local pkg index
Posted: Sun Aug 06, 2023 5:56 am
by Karasamur
mrb. Thank you for your attention. I asked for a command that prints all the package names installed on the system as a text file. For example: gtkam libreoffice gimp eog eom filezilla .......like .
Re: Local pkg index
Posted: Sun Aug 06, 2023 5:57 am
by Karasamur
mrb. Thank you for your attention. I asked for a command that prints all the package names installed on the system as a text file. For example: gtkam libreoffice gimp eog eom filezilla .......like .
Re: Local pkg index
Posted: Sun Aug 06, 2023 8:29 am
by nevets
From a terminal, this command lists the packages
pkg info
Next, in the terminal menu select Edit > Copy
Then, In pluma select from the menu Edit > Paste
Re: Local pkg index
Posted: Mon Aug 07, 2023 2:30 am
by Karasamur
hello.thank you for your response.your suggestion gives picture #1. What I want is as picture #2.
#1:
Zsh-antigen/2.2.....
zssh/1.5c.......
gimp/4.5....
Libreoffice/4.5......
#2:
zssh zsh-antigen gimp gtkam libreoffice ......
Have a nice day.
Re: Local pkg index
Posted: Sun Aug 13, 2023 4:10 pm
by Karasamur
Hi.
I was able to get the list of all packages with the
#pkg query %n>pkglist.txt
command and convert this list into plain text with the "selection/combine lines" option of the "kate" program.