How to uninstall an app from the console?
How to uninstall an app from the console?
Can someone please tell me how to uninstall an application in the console?
thanks in advance
thanks in advance
which app-name
rm result-from-above
Then ask around about any other files which are related to that application. Good luck. Seriously, it used to be sort-of-possible to remove a sort-of package from Puppy, but who knows if it still works. Since the package installer is GUI-based, any underlying scripts which help to accomplish installation or de-installation are pretty lame on their own... Ask around about properly upgrading a package... Good luck. Since the base puppy is not really assembled using packages, it's hard to sanely remove a program or lib and all that is associated with it. Good luck.
rm result-from-above
Then ask around about any other files which are related to that application. Good luck. Seriously, it used to be sort-of-possible to remove a sort-of package from Puppy, but who knows if it still works. Since the package installer is GUI-based, any underlying scripts which help to accomplish installation or de-installation are pretty lame on their own... Ask around about properly upgrading a package... Good luck. Since the base puppy is not really assembled using packages, it's hard to sanely remove a program or lib and all that is associated with it. Good luck.
Re: How to uninstall an app from the console?
# petget -SOMEPACKAGE.pet
# sfs_load -SOMEPACKAGE.sfs
But it seems another issue. Depends how you installed the package.
# sfs_load -SOMEPACKAGE.sfs
But it seems another issue. Depends how you installed the package.
dnelub wrote: I installed pwireless through console and it doesn't show up in package manager.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
Code: Select all
find /root/.packages -iname "*pwireless*.files" -exec cat {} \;
petget had installed .
If you dont run as user root but as fido,spot or USERNAME you would need probably to replace '/root' with "$HOME" .
Another idea would be the find command with the -mtime NUMBER option , where NUMBER is 0*1*DAY
-mmin NUMBER for minutes
-ctime N change time
-cmin
-atime N access time
-amin
like
Code: Select all
find /usr -mtime 0
If you still have the pwireless.pet stored somewhere you could transform the pet to tar.gz with the pet2tgz command like
Code: Select all
mkdir /tmp/test
cd /tmp
cp /path/to/directory/pwireless.pet ./test
cd ./test
pet2tgz pwireless.pet
tar xzf pwireless.pet
ls -R ./*
Code: Select all
#!/bin/bash
#
# # # # # # # # # # # EXAMPLES # # # # # # # # # # #
#
# # #
#STEP - 1. >>
cd /tmp ;
wget -t0 -c http://downloads.sourceforge.net/project/cafpkg/cafpkg_8.0_all.deb ;
#
# or >>> http://linux.softpedia.com/get/System/System-Administration/CafPKG-59159.shtml
#
/usr/local/petget/installpkg.sh cafpkg_8.0_all.deb 2>/dev/null ;
#<< STEP - 1.
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# >> VARIANT_1 << (.pet)
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# # #
#STEP - 2. >>
mkdir -p /test-LT ;
cd /test-LT ;
curl -C - -O file:///mnt/sr0/_Files/Linxtris--Game/PET_files/linxtris-0.1a2.pet ;
pet2tgz linxtris-0.1a2.pet ;
tar -xzf linxtris-0.1a2.tar.gz ;
#
cafpkg --build linxtris-0.1a2 linxtris-0.1a2/ 'linxtris-0.1a2.pet' ;
cafpkg --install /test-LT/linxtris-0.1a2.cafpkg ;
cafpkg --list ;
#
echo 'Now, the "linxtris-0.1a2" program can be used or can be removed.'
#
#cafpkg --remove linxtris-0.1a2 ;
#
# # #
#<< STEP - 2. FINISH.
# ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# >> VARIANT_2 << (.deb)
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# # #
#STEP - 2. >>
mkdir -p /test-GP ;
cd /test-GP ;
curl -C - -O file:///mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/gparted_0.4.5-2ubuntu1_i386.deb ;
dpkg-deb -x gparted_0.4.5-2ubuntu1_i386.deb gparted_0.4.5-2ubuntu1_i386 ;
#
cafpkg --build gparted_0.4.5-2ubuntu1_i386 gparted_0.4.5-2ubuntu1_i386/ 'gparted_0.4.5-2ubuntu1_i386.deb' ;
cafpkg --install /test-GP/gparted_0.4.5-2ubuntu1_i386.cafpkg ;
cafpkg --list ;
#
echo 'Now, the "gparted_0.4.5-2ubuntu1_i386" program can be used or can be removed.'
#
#cafpkg --remove gparted_0.4.5-2ubuntu1_i386 ;
#
# # #
#<< STEP - 2. FINISH.
# ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# >> VARIANT_3 << (.rpm)
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# # #
#STEP - 2. >>
mkdir -p /test-mtP ;
cd /test-mtP ;
curl -C - -O file:///mnt/sr0/_Files/MTPaint/PCLinuxOS-2010_files/mtpaint-3.31-3pclos2010.i586.rpm ;
mkdir -p mtpaint-3.31-3pclos2010.i586 ;
rpm2cpio mtpaint-3.31-3pclos2010.i586.rpm | cpio -idv 1>& list ;
grep -v " blocks" list | cat > list ;
tar -cf archive.tar -T list ;
cut -f-2 -d/ list | cat > list ; rm -rf `cat list` ;
tar -xvf archive.tar -C mtpaint-3.31-3pclos2010.i586/ ;
rm archive.tar ;
#
cafpkg --build mtpaint-3.31-3pclos2010.i586 mtpaint-3.31-3pclos2010.i586/ 'mtpaint-3.31-3pclos2010.i586.rpm' ;
cafpkg --install /test-mtP/mtpaint-3.31-3pclos2010.i586.cafpkg ;
cafpkg --list ;
#
echo 'Now, the "mtpaint-3.31-3pclos2010.i586" program can be used or can be removed.'
#
#cafpkg --remove mtpaint-3.31-3pclos2010.i586 ;
#
# # #
#<< STEP - 2. FINISH.
# ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
#