| Author |
Message |
dnelub
Joined: 10 Aug 2011 Posts: 4
|
Posted: Sun 01 Jan 2012, 22:22 Post subject:
How to uninstall an app from the console? |
|
Can someone please tell me how to uninstall an application in the console?
thanks in advance
|
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 1759
|
Posted: Mon 02 Jan 2012, 15:15 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9848 Location: Arizona USA
|
Posted: Mon 02 Jan 2012, 18:31 Post subject:
|
|
You can start with the stripped-down Puppy (I forget what it's called at the moment) and add what you want to it.
|
|
Back to top
|
|
 |
dnelub
Joined: 10 Aug 2011 Posts: 4
|
Posted: Mon 02 Jan 2012, 22:30 Post subject:
|
|
Thanks for the answers. For example, I installed pwireless through console and it doesn't show up in package manager. I searched for it and there are several files in different folders. Should I just delete them? is this solution?
thanks again
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9848 Location: Arizona USA
|
Posted: Mon 02 Jan 2012, 23:30 Post subject:
|
|
I don't know. How large is Pwireless? If it's not very large I'd just forget about it.
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2256 Location: Japan
|
Posted: Tue 03 Jan 2012, 00:32 Post subject:
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.
| dnelub wrote: | | I installed pwireless through console and it doesn't show up in package manager. |
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2676 Location: Kiel,Germany
|
Posted: Tue 03 Jan 2012, 01:08 Post subject:
|
|
| Code: | | find /root/.packages -iname "*pwireless*.files" -exec cat {} \; |
would show if there is a *pwireless*.files file which should contain all the /pathes/to/files.ext
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
Also the correct name of the pwireless.pet would be helpful .
If you still have the pwireless.pet stored somewhere you could transform the pet to tar.gz with the pet2tgz command like
| Code: | mkdir /tmp/test
cd /tmp
cp /path/to/directory/pwireless.pet ./test
cd ./test
pet2tgz pwireless.pet
tar xzf pwireless.pet
ls -R ./* |
ls -R would list everything inside the new created ./pwireless.version directory .
|
|
Back to top
|
|
 |
dnelub
Joined: 10 Aug 2011 Posts: 4
|
Posted: Tue 03 Jan 2012, 21:52 Post subject:
|
|
Strange, I thought I asked something very easy but it does not seem so. Apparently there is no command to uninstall an application in the console.
anyway thanks for all efforts
|
|
Back to top
|
|
 |
postfs1

Joined: 27 Mar 2010 Posts: 831
|
Posted: Mon 09 Jan 2012, 14:26 Post subject:
|
|
| Code: |
#!/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.
# ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
#
|
_________________
- I don't know why laboratories are named a hospitals.
- The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.
|
|
Back to top
|
|
 |
|