Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 30 Oct 2014, 10:14
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to uninstall an app from the console?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
dnelub

Joined: 10 Aug 2011
Posts: 4

PostPosted: 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
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2263

PostPosted: 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
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11125
Location: Arizona USA

PostPosted: 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
View user's profile Send_private_message 
dnelub

Joined: 10 Aug 2011
Posts: 4

PostPosted: 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
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11125
Location: Arizona USA

PostPosted: 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
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: 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.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: 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
Code:
find /usr -mtime 0


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
View user's profile Send_private_message Visit_website 
dnelub

Joined: 10 Aug 2011
Posts: 4

PostPosted: 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
View user's profile Send_private_message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0673s ][ Queries: 11 (0.0048s) ][ GZIP on ]