Skip to content

Instantly share code, notes, and snippets.

@kylemanna
Created August 2, 2014 21:46
Show Gist options
  • Star 26 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kylemanna/7abe99c1e0516f4b0d24 to your computer and use it in GitHub Desktop.
Save kylemanna/7abe99c1e0516f4b0d24 to your computer and use it in GitHub Desktop.
Raspberry Pi + wolfram-engine => Wasted Space
pi@rpi0 ~ $ sudo apt-get purge wolfram-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
wolfram-engine*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 454 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 77272 files and directories currently installed.)
Removing wolfram-engine ...
Purging configuration files for wolfram-engine ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for shared-mime-info ...
Processing triggers for man-db ...
[master 921f771] committing changes in /etc after apt run
Author: pi <pi@rpi0>
3 files changed, 2 insertions(+), 6 deletions(-)
delete mode 100644 apt/sources.list.d/wolfram.list
delete mode 100644 apt/trusted.gpg.d/wolfram-raspbian.gpg
pi@rpi0 ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 3.6G 1.8G 1.6G 54% /
/dev/root 3.6G 1.8G 1.6G 54% /
devtmpfs 239M 0 239M 0% /dev
tmpfs 49M 244K 49M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 98M 0 98M 0% /run/shm
/dev/mmcblk0p1 56M 9.5M 47M 17% /boot
@nzgrover
Copy link

nzgrover commented Jul 9, 2021

pi@raspberrypi:~ $ sudo apt purge --auto-remove wolfram*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'wolframscript' for glob 'wolfram*'
Note, selecting 'wolfram-engine' for glob 'wolfram*'
The following packages will be REMOVED:
libglu1-mesa* wolfram-engine* wolframscript*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 2,186 MB disk space will be freed.

@kylemanna
Copy link
Author

The beat goes on!

@Knelfy
Copy link

Knelfy commented Feb 10, 2023

It does... new in at 1..

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 22G 6.0G 79% /
devtmpfs 87M 0 87M 0% /dev
tmpfs 215M 0 215M 0% /dev/shm
tmpfs 86M 2.2M 84M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/mmcblk0p1 253M 50M 203M 20% /boot
tmpfs 43M 24K 43M 1% /run/user/1000

sudo apt-get purge wolfram-engine
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libglu1-mesa wolframscript
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
wolfram-engine*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 3,201 MB disk space will be freed.
Do you want to continue? [Y/n]

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 19G 9.0G 68% /
devtmpfs 87M 0 87M 0% /dev
tmpfs 215M 0 215M 0% /dev/shm
tmpfs 86M 2.2M 84M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/mmcblk0p1 253M 50M 203M 20% /boot
tmpfs 43M 24K 43M 1% /run/user/1000

sudo apt clean

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 16G 13G 56% /
devtmpfs 87M 0 87M 0% /dev
tmpfs 215M 0 215M 0% /dev/shm
tmpfs 86M 2.2M 84M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/mmcblk0p1 253M 50M 203M 20% /boot
tmpfs 43M 24K 43M 1% /run/user/1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment