puppy-get 2.0 beta
@thanks musher0 the script was almost 95-99% complete. Did you test the latest one about package removal using remove command in puppy-get? The master package database must be complete for best results otherwise you will might missed some dependencies or you can load a PPM database and use it if you dont want to build a master package database file
puppy get 1.4 beta released
changes
* Improvements on package registration
* Improvements on menu generation
changes
* Improvements on package registration
* Improvements on menu generation
- Attachments
-
- puppy-get_1.4-beta.gz
- fake gz
remove gz extension
rename as puppy-get
set permission to 777 or +x - (81.28 KiB) Downloaded 400 times
Hello mistfire.mistfire wrote:@musher0 if you want to search package in the master database. use info command for example
puppy-get info mikmod3
by the way can you test this latest script?
Will do. I was a slowpoke today!
Why I suggested a awk one-liner above is because sometimes the user does not know
the full or exact name of the utility of library. For example,
Code: Select all
awk '$2 ~ /^someth*g/ ' database
done with grep, but awk is more precise.
BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Hi, mistfire.mistfire wrote:puppy get 1.4 beta released
changes
* Improvements on package registration
* Improvements on menu generation
Package registration? Menu generation? You're talking about a good hotel with a great
restaurant, eh? (Just teasing!)
Sorry, I'm not getting it. I'll test, but I'll have to reread some of the thread, I suppose.
BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Thanks, mistfire.mistfire wrote:@musher0 remember that you failed to remove package from puppy-get remove command? The cuprit was on the package registration so I fixed it. Also I found error on generating icewm menu, that error was now fixed
I tested the improved remove function, and it now works as it should.
Sorry for the delay, I was busy with something else.
BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
I am looking forward to testing puppy-get_1.5-beta...at the moment the package database is being built...so far 80+ minutes...... at "p "...
I am using an Xenial 7.5 32bit built from woof-CE yesterday. Using a Linux Kernel: 4.1.30 (i686)
PAE Enabled: Yes
Can I add a PPA to the package list and update the database? And how?
I will attempt to install ZoneMinder, Apache2, PHP 7, MariaDB using
pet-get which is running from /root/my-applications/bin.
Code: Select all
pet-get update
PAE Enabled: Yes
Can I add a PPA to the package list and update the database? And how?
I will attempt to install ZoneMinder, Apache2, PHP 7, MariaDB using
pet-get which is running from /root/my-applications/bin.
Update :
database finished and used :
then using
and enabling the proper modules and configurations
and then using :
the Apache server started right up and opened a browser (palemoon) and connected directly to http://localhost.
a good sign that so far puppy-get seems to be working.
database finished and used :
Code: Select all
#puppy-get install apache2
Code: Select all
adduser www-data
and then using :
Code: Select all
#service apache2 start
a good sign that so far puppy-get seems to be working.
thank you! I thought so...I added the iconner PPA for zoneminder stable and with a minimal of other commands to intilize the mariaDB and create the users www-data and mysql and then create a database and load an .sql file and give a user rights for the database and I can report a successful test and with relative ease was able to install a complete LAMP with a stable zoneminder 1.30.4 up and running!!
this is a very successful test of the puppy-get...... and by using the PPM together I got very good results with an installation of a tricky package to install.
this is a very successful test of the puppy-get...... and by using the PPM together I got very good results with an installation of a tricky package to install.
just completed a successful installation of VLC using
on the zoneminder machine.
Code: Select all
#puppy-get install vlc
Success using puppy-get as a replacement for apt-get using a bash script to install Apache2 PHP 7.0 MariaDB and ZoneMInder on a fresh install of Xenial 7.5 32bit.
1) added the zoneminder PPA to the ~/.packages/DISTRO_COMPAT_REPOS
then updated the Puppy Package Manager using the option "use verbose method to update" by skipping the zoneminder entry and updating the original repos then again performing the update and skipping everything but the zoneminder packages.
2) installed the puppy-get in ~/my-applications/bin and ran the command:
after letting the package database merge to finish completely then ran this script:
with some small fixes including a small modification of the /etc/ini.d/mysql script and some manual configuration of the Apache modules and adding a valid php.ini that the install script does not address yet...
I was presented at the end with a working ZoneMinder install!
This is closing in on a goal of mine to create a simple any person can do it installation of the zoneminder camera security system on a Puppy Linux OS. I have re-mastered versions and created a one-click intall with a zoneminder-1.30.4.pet..but with a script the latest stable builds can be installed automatically.
Some small hitches but overall puppy-get so far has exceeded expectations and hope this project will continue and be eventually included into the woof_CE system!
1) added the zoneminder PPA to the ~/.packages/DISTRO_COMPAT_REPOS
Code: Select all
#
# Generic DISTRO_COMPAT_REPOS for WCE Upups
#
if [ "$DISTRO_COMPAT_VERSION" = "" ] ; then
[ -f ./DISTRO_SPECS ] && . ./DISTRO_SPECS
fi
case "$DISTRO_TARGETARCH" in
x86) DBIN_ARCH=i386 ;;
x86_64) DBIN_ARCH=amd64 ;;
esac
case $DISTRO_COMPAT_VERSION in
precise|trusty) DDB_COMP=bz2 ;; #older versions
*) DDB_COMP=xz ;;
esac
#----------------------
#PKG_DOCS_DISTRO_COMPAT - where to download the compat-distro pkgs databases from
#---------------------
# 1|2|3
# 1 - domain. for testing the url.
# 2 - full URI of the database file.
# 3 - name of db file when local and after being processed into standard format
PKG_DOCS_DISTRO_COMPAT="
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/main/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-main
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/universe/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-universe
z|http://archive.ubuntu.com/ubuntu/dists/${DISTRO_COMPAT_VERSION}/multiverse/binary-${DBIN_ARCH}/Packages.${DDB_COMP}|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-multiverse
ppa.launchpad.net|http://ppa.launchpad.net/iconnor/zoneminder/ubuntu/dists/xenial/main/binary-i386/Packages.xz|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-zoneminder
"
#-------------------
#REPOS_DISTRO_COMPAT - hardcode the compat-distro repos in here...
#-------------------
# 1|2|3
# 1 - domain. for testing the url.
# 2 - full URI of the repo
# 3 - name of db-file(s) associated with that repo. it may have glob wildcards.
REPOS_DISTRO_COMPAT="
z|http://archive.ubuntu.com/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-*
z|http://mirrors.kernel.org/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-*
z|ftp.osuosl.org/pub/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-*
ppa.launchpad.net|http://ppa.launchpad.net/iconnor/zoneminder/ubuntu|Packages-${DISTRO_BINARY_COMPAT}-${DISTRO_COMPAT_VERSION}-*
"
#---------------
# fix variables
#---------------
PKG_DOCS_DISTRO_COMPAT="$(echo "$PKG_DOCS_DISTRO_COMPAT" | sed '/^$/d' | tr '\n' ' ' | sed 's% $%%')"
REPOS_DISTRO_COMPAT="$(echo "$REPOS_DISTRO_COMPAT" | sed '/^$/d' | tr '\n' ' ' | sed 's% $%%')"
2) installed the puppy-get in ~/my-applications/bin and ran the command:
Code: Select all
#puppy-get update
Code: Select all
#!/bin/sh
clear
read -p "This script installs the latest Zoneminder from the PPA for Ubuntu 16.04...Press Enter to continue or Ctrl + c to quit" nothing
clear
adduser www-data
adduser mysql
puppy-get install apache2
puppy-get install php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-gd php7.0-intl php-pear php-imagick php7.0-imap php7.0-mcrypt php-memcache php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl php7.0-mbstring php-gettext php-apcu
puppy-get install mariadb-server mariadb-client
clear
read -p "Next secure mariadb server by entering requested information. Press enter to continue" nothing
/usr/bin/mysql_install_db
mkdir /var/run/mysqld
mkdir /var/log/mysql
chown -R mysql /var/run/mysqld
service mysql start
/usr/bin/mysql_secure_installation
puppy-get install zoneminder php-gd
chmod 740 /etc/zm/zm.conf
chown root:www-data /etc/zm/zm.conf
a2enmod cgi
a2enconf zoneminder
chown -R www-data:www-data /usr/share/zoneminder/
chown -R www-data /var/cache/zoneminder
systemctl enable zoneminder
service zoneminder start
clear
read -p "Next we will add timezone your PHP. Geany will open, search for :date.timezone = and make it look like date.timezone = America/New_York Press enter to continue" nothing
geany /etc/php/7.0/apache2/php.ini
service apache2 reload
clear
read -p "Open Zoneminder in a web browser (http://server-ip/zm). Click on Options - Paths and change PATH_ZMS to /zm/cgi-bin/nph-zms Click the Save button. Press enter to continue" nothing
I was presented at the end with a working ZoneMinder install!
This is closing in on a goal of mine to create a simple any person can do it installation of the zoneminder camera security system on a Puppy Linux OS. I have re-mastered versions and created a one-click intall with a zoneminder-1.30.4.pet..but with a script the latest stable builds can be installed automatically.
Some small hitches but overall puppy-get so far has exceeded expectations and hope this project will continue and be eventually included into the woof_CE system!
Last edited by rockedge on Thu 15 Feb 2018, 16:22, edited 2 times in total.
I have some really modified Puppy systems to run some software that usually are associated with bigger mainstream distros.... just to see how it compares to running something like zoneminder on a frugal install of puppy...which UPUP 3.9.9.2, Tahr and Xenial all have proven work very well and very reliably on sometimes boxes literally taken out of the garbage.
So a quick simple way to set up lets say a camera security or just to watch to see what the cats do when you're away is a goal of mine for some reason..... and using an older machine running a Puppy OS and a single script to automate the procedure....
otherwise my main Puppy is a stock Tahr 64bit...does all the stuff I need to do.... and quickly...... safely......
So a quick simple way to set up lets say a camera security or just to watch to see what the cats do when you're away is a goal of mine for some reason..... and using an older machine running a Puppy OS and a single script to automate the procedure....
otherwise my main Puppy is a stock Tahr 64bit...does all the stuff I need to do.... and quickly...... safely......
updating first database. feed back soon
pet installed. Who will use it ? If only Puppy Linux School Pupils, or their teachers, UK Linux citizens, we shall wait.
148MB free in my pupsave. Updating on progress.
Commandes
What is strange is that xenialdog can run GCstar for instance and puppy does not, unless loading Devx. Why PPM or Puppy-get do not dowwnload needed stuff..
same for Griffith
148MB free in my pupsave. Updating on progress.
Commandes
What is strange is that xenialdog can run GCstar for instance and puppy does not, unless loading Devx. Why PPM or Puppy-get do not dowwnload needed stuff..
same for Griffith
Last edited by hamoudoudou on Sun 25 Feb 2018, 13:34, edited 3 times in total.
First step : update Second step Fotoxx
# /usr/sbin/puppy-get install fotoxx
Searching fotoxx from the database ...
Searching dependencies for fotoxx ...
The following packages will be downloaded:
1. adwaita-icon-theme_3.26.0-0ubuntu2_all.deb (4997K)
2. dcraw_9.27-1ubuntu1_i386.deb (347K)
3. fotoxx_17.08.1-1_i386.deb (3292K)
4. fotoxx-common_17.08.1-1_all.deb (8331K)
5. gtk-update-icon-cache_3.22.24-0ubuntu1_i386.deb (139K)
6. humanity-icon-theme_0.6.13_all.deb (20741K)
7. libatk-bridge2.0-0_2.26.0-1ubuntu1_i386.deb (227K)
8. libatspi2.0-0_2.26.0-2_i386.deb (220K)
9. libchamplain-0.12-0_0.12.16-1_i386.deb (369K)
10. libchamplain-gtk-0.12-0_0.12.16-1_i386.deb (32K)
11. libclutter-1.0-0_1.26.2+dfsg-3ubuntu1_i386.deb (1792K)
12. libclutter-gtk-1.0-0_1.8.4-2_i386.deb (81K)
13. libcogl20_1.22.2-2_i386.deb (880K)
14. libcogl-pango20_1.22.2-2_i386.deb (58K)
15. libcogl-path20_1.22.2-2_i386.deb (99K)
16. libcolord2_1.3.3-2build1_i386.deb (414K)
17. libgtk-3-0_3.22.24-0ubuntu1_i386.deb (10145K)
18. libgtk-3-common_3.22.24-0ubuntu1_all.deb (408K)
19. libimage-exiftool-perl_10.60-1_all.deb (13071K)
20. libraw16_0.18.2-2_i386.deb (1816K)
21. librest-0.7-0_0.8.0-2_i386.deb (114K)
22. libwayland-cursor0_1.14.0-1_i386.deb (48K)
23. ubuntu-mono_16.10+17.10.20171012.1-0ubuntu1_all.deb (5608K)
24. xdg-utils_1.1.1-1ubuntu2_all.deb (302K)
Packages to install: 24
Total download size: 71Mb
Approximate disk space needed for installation: 215Mb
You need more disk space to install the following packages
#
Searching fotoxx from the database ...
Searching dependencies for fotoxx ...
The following packages will be downloaded:
1. adwaita-icon-theme_3.26.0-0ubuntu2_all.deb (4997K)
2. dcraw_9.27-1ubuntu1_i386.deb (347K)
3. fotoxx_17.08.1-1_i386.deb (3292K)
4. fotoxx-common_17.08.1-1_all.deb (8331K)
5. gtk-update-icon-cache_3.22.24-0ubuntu1_i386.deb (139K)
6. humanity-icon-theme_0.6.13_all.deb (20741K)
7. libatk-bridge2.0-0_2.26.0-1ubuntu1_i386.deb (227K)
8. libatspi2.0-0_2.26.0-2_i386.deb (220K)
9. libchamplain-0.12-0_0.12.16-1_i386.deb (369K)
10. libchamplain-gtk-0.12-0_0.12.16-1_i386.deb (32K)
11. libclutter-1.0-0_1.26.2+dfsg-3ubuntu1_i386.deb (1792K)
12. libclutter-gtk-1.0-0_1.8.4-2_i386.deb (81K)
13. libcogl20_1.22.2-2_i386.deb (880K)
14. libcogl-pango20_1.22.2-2_i386.deb (58K)
15. libcogl-path20_1.22.2-2_i386.deb (99K)
16. libcolord2_1.3.3-2build1_i386.deb (414K)
17. libgtk-3-0_3.22.24-0ubuntu1_i386.deb (10145K)
18. libgtk-3-common_3.22.24-0ubuntu1_all.deb (408K)
19. libimage-exiftool-perl_10.60-1_all.deb (13071K)
20. libraw16_0.18.2-2_i386.deb (1816K)
21. librest-0.7-0_0.8.0-2_i386.deb (114K)
22. libwayland-cursor0_1.14.0-1_i386.deb (48K)
23. ubuntu-mono_16.10+17.10.20171012.1-0ubuntu1_all.deb (5608K)
24. xdg-utils_1.1.1-1ubuntu2_all.deb (302K)
Packages to install: 24
Total download size: 71Mb
Approximate disk space needed for installation: 215Mb
You need more disk space to install the following packages
#