raspytongue
Posts: 7
Joined: Sat Apr 13, 2013 8:42 pm

SD card management

Sat Apr 13, 2013 8:58 pm

Hi,
I have some questions about managing what is on the SD card.
I have SSH using Terminal on a Mac.

How can I see which programmes (if that is the right word) are currently installed on the SD card?
How can I delete ones I no longer use, or which have previously been added?
Is it possible to have two identical copies installed?

I think I may have installed python, or parts of it, twice.

Thanks for any help.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5623
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: SD card management

Sat Apr 13, 2013 9:12 pm

raspytongue wrote: How can I see which programmes (if that is the right word) are currently installed on the SD card?
How can I delete ones I no longer use, or which have previously been added?
Is it possible to have two identical copies installed?

I think I may have installed python, or parts of it, twice.
1) Given that there will be rather a lot of "programmes" (ie. >1000) there's no "simple way".
However the command "apropos fred" will tell you if you have something with "fred" in its name, or operates (ie. creates, modifies, read, writes etc.) upon things with "fred" in their name etc.
2) Use "sudo apt-get remove fred" to remove "fred" (and anything fred uses but nothing else requires).
3) AFAIK No.
4)"Wheezy Raspbian" has two versions of python installed (by default) IIRC
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

Return to “Beginners”