Embedded Systems

Embedded System blog

Get Adobe Flash player

How to free up Space on your Raspbian installation

Wolfram & Mathematica

To remove the Wolfram package via the apt tool, simply execute the following at the terminal:

sudo apt-get remove –purge wolfram-engine

Removing the Wolfram Engine package will save ~700 MB of space on your SD card.

Scratch

To remove scratch package via the apt tool, simply execute the following at the terminal:

sudo apt-get remove –purge scratch

Removing the Scratch package will save ~100 MB of space on your SD Card.

Python Games

To remove Python gamesp, simply execute the following at the terminal:

rm -rf /home/pi/python_games
sudo rm -rf /opt/vc

Removing the Python games will save ~1 MB of space on your SD Card.

Mindcraft

To remove Mindcraft package via the apt tool, simply execute the following at the terminal:

sudo apt-get remove –purge mindcraft-pi

Removing the Scratch package will save ~50 MB of space on your SD Card.

Libreoffice

To remove ´Libreoffice package via the apt tool, simply execute the following at the terminal:

sudo apt-get remove –purge libreoffice*

Removing the Scratch package will save ~300 MB of space on your SD Card.

Sonic Pi

To remove Sonic package via the apt tool, simply execute the following at the terminal:

sudo apt-get purge sonic-pi

Removing the Scratch package will save ~50 MB of space on your SD Card.

Setup VNC server on Raspberry Pi

The following description is made for Raspberry Pi running Raspbian ( Jessie).

There is different desktop sharing system to choose between when selecting a system for remotely controlling the desktop interface of the Raspberry Pi, in this description, TightVNC is used, it is found to be one of the best and most reliable system. ThightVNC client is available and also easy to setup on Windows, Linux and Apple systems.
The setup of the VNC server will in this description be done via SSH, so it is important that SSH is enabled on that Raspberry PI and also to know the IP address of the Raspberry PI.

  • Start updating the Raspberry Pi by running the following command via SSH.

sudo apt-get update

sudo apt-get upgrade

  • Then install the VNC server:

sudo apt-get install tightvncserver

  • Start the vnc server:

tightvncserver

  • Enter a password to secure the Raspberry Pi

VNCPasswd

  • Start the VNC server with a resolution of 1920×1080 pixels and a colour depth of 24 bits, by the following command.

vncserver :1 geometry 1920×1080 depth 24

  • If there is no need for the physical desktop to be running the close it to spare resources by the following command:

service lightdm stop

Please be aware that after restart the vncserver has to be started manually, otherwise see the description of how to automatic start VNC server at boot time.