วันพุธที่ 8 มีนาคม พ.ศ. 2560

คำสั่ง rasberry

How to Un-install a package

To un-install Frozen-bubble use the remove command.
sudo apt-get remove frozen-bubble

Search for Packages

If you are not sure what the name of the program you want is you can do a search which will list all the packages with the word you enter. You can then see what the correct name is to install the package.
So I want to install that game again, you know colour bubble or whatever it is called. I know bubble is in the name so I enter the command
sudo apt-cache search bubble
Note: if you haven't done an update recently then use sudo apt-get updatebefore you search.
 apt-cache search command
You will see a list of all packages with matching results including Frozen-Bubble

Clean up

If you install and remove lots of packages then it is a good idea to do an occasional clean up to make sure no unwanted files are left behind.
Usesudo apt-get autoclean

Check what Packages are installed

To get a list of the software packages that are already installed on Raspbian enter the commanddpkg --get-selections
If you just want to find out if a package is installed already usedpkg --get-selections | grep packagename
if you are unsure of the name you can enter any text after grep, all results containg that word will be shown.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น