scottnichols
Posts: 18
Joined: Wed Oct 17, 2012 7:28 pm
Location: Upper NY State USA

Wheezy remove programs

Thu Oct 25, 2012 5:46 pm

Hello
Can programs be removed from Debain Wheezy. Such as the Python games or the web browsers.
And how would you do you this.

Thank You
scott

notarat
Posts: 106
Joined: Wed Sep 12, 2012 12:32 pm

Re: Wheezy remove programs

Thu Oct 25, 2012 6:32 pm

Removal commands
apt-get remove <package_name>This command removes an installed package, leaving configuration files intact.
apt-get purge <package_name>This command completely removes a package and the associated configuration files. Configuration files residing in ~ are not usually affected by this command.
+ operator
If you want to remove package1 and install package2 in one step:

apt-get purge remove <package1> <package2>+.
apt-get autoremoveThis command removes packages that were installed by other packages and are no longer needed.
apt-get autoremove <package_name>This command removes an installed package and dependencies.
While there is no built in way to remove all of your configuration information from your removed packages you can remove all configuration data from every removed package with the following command.

scottnichols
Posts: 18
Joined: Wed Oct 17, 2012 7:28 pm
Location: Upper NY State USA

Re: Wheezy remove programs

Thu Oct 25, 2012 6:48 pm

notarat wrote:Removal commands
apt-get remove <package_name>This command removes an installed package, leaving configuration files intact.
apt-get purge <package_name>This command completely removes a package and the associated configuration files. Configuration files residing in ~ are not usually affected by this command.
+ operator
If you want to remove package1 and install package2 in one step:

apt-get purge remove <package1> <package2>+.
apt-get autoremoveThis command removes packages that were installed by other packages and are no longer needed.
apt-get autoremove <package_name>This command removes an installed package and dependencies.
While there is no built in way to remove all of your configuration information from your removed packages you can remove all configuration data from every removed package with the following command.
notarat thanks for getting back to me. One other question how do I find the exact name of the the package so I am able to use the apt-get autoremove <package_name>
scott

notarat
Posts: 106
Joined: Wed Sep 12, 2012 12:32 pm

Re: Wheezy remove programs

Thu Oct 25, 2012 7:56 pm

right-click the program's icon and select properties

The name of the executable should be listed. That's the name to plug into the apt command

furqan6718
Posts: 7
Joined: Sun Nov 16, 2014 4:04 pm

Re: Wheezy remove programs

Sun Dec 14, 2014 4:31 pm

Hi guys but when I do this.THis is What I get:

E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

I cannot remove my apps please help!

Thanks

DirkS
Posts: 7531
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Wheezy remove programs

Sun Dec 14, 2014 4:42 pm

The solution is in the message: 'are you root?'.
You need root permissions to install / remove programs.
Run it with 'sudo'.

Gr.
Dirk.

furqan6718
Posts: 7
Joined: Sun Nov 16, 2014 4:04 pm

Re: Wheezy remove programs

Sun Dec 14, 2014 6:10 pm

Please tell me how?

DirkS
Posts: 7531
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Wheezy remove programs

Sun Dec 14, 2014 6:28 pm

furqan6718 wrote:Please tell me how?
For example:

Code: Select all

sudo apt-get purge programname
See also http://www.raspberrypi.org/documentatio ... /README.md (section SUDO)

furqan6718
Posts: 7
Joined: Sun Nov 16, 2014 4:04 pm

Re: Wheezy remove programs

Fri Dec 19, 2014 6:36 pm

THanks this has solved my problem!
:)

maty87
Posts: 4
Joined: Thu Apr 23, 2015 9:18 pm

Re: Wheezy remove programs

Sat May 02, 2015 10:25 pm

tried all with root and via the root terminal but just get cant find

User avatar
kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Wheezy remove programs

Sat May 02, 2015 10:35 pm

maty87 wrote:tried all with root and via the root terminal but just get cant find
Can you elaborate? Just can find what? The package name?
There are 10 types of people: those who understand binary and those who don't.

klricks
Posts: 4755
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Wheezy remove programs

Sun May 03, 2015 4:34 pm

You can use a package manager to find and delete installed programs.
The Aptitude PM is already installed in Raspbian by default:

Code: Select all

sudo aptitude
Or install Synaptic for a GUI PM.

Code: Select all

sudo apt-get update
sudo apt-get install synaptic
Go here for my RPi writeup. Basic config, Serial Port add-on etc:
http://blackeagle12.net/Comp/RPi/Rpi.html Click contact icon then world icon --->

dragos
Posts: 23
Joined: Tue Sep 08, 2015 4:50 pm

Re: Wheezy remove programs

Tue Sep 08, 2015 5:05 pm

Hi,

Can someone please help with the following question?
I have a Raspberry Pi 2 and the first thing i installed was the Openhab run time.
I used to start the server on the normal way like sudo /opt/openhab/start.sh and it was working well...
Than i searched on the net and i found out that this can be auto - started by making a file and copying a script in it and than making this file executable. I followed this tutorial https://community.spiceworks.com/how_to ... rry-pi-rpi more exactly steps 11 and 12.
Now i would like to ask how can i remove this steps 11 and 12 from my board and to clean everything related with them?

If there is any topic related to this issue please redirect me there. Also im still interested in Openhab auto start on reboot and please redirect me to that topic.

Thanks for understanding!

Return to “Beginners”

Who is online

Users browsing this forum: Cadwallader01, RDK, tony1812 and 44 guests