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
@mguimageo
Copy link

pi@raspberrypi-je:~ $ 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, 658 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 137890 files and directories currently installed.)
Removing wolfram-engine (10.3.1+2016012407)

@lester289
Copy link

good idea!

@electronicsguy
Copy link

👍

@kiranshashiny
Copy link

I ran out of space and found this was one of the component that was causing it.
Removed it !

root@raspberrypi:~# sudo apt-get purge wolfram-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaio1 libilmbase-dev libmysqlclient16 libopencv-calib3d-dev libopencv-core-dev libopencv-features2d-dev libopencv-flann-dev
libopencv-imgproc-dev libopencv-ml-dev libopencv-photo-dev libopencv-stitching-dev libopencv-ts-dev libopencv-video-dev
libopenexr-dev libtiffxx0c2 mysql-server-5.5 mysql-server-core-5.5
Use 'apt-get 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, 460 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 108473 files and directories currently installed.)
Removing wolfram-engine ...

@kiranshashiny
Copy link

root@raspberrypi:~# find / -type f -printf '%T@ %p\n' |sort

command should give you an idea of the last files touched by the OS- giving you a hint of what other components that could be chewing up disk space.

@wikijm
Copy link

wikijm commented Feb 27, 2017

Thanks for this solution, it works like a charm 😄

@comperem
Copy link

comperem commented Jun 8, 2017

LIKE

@vaksi
Copy link

vaksi commented Jul 26, 2017

you must be install again:
root@raspberrypi:# sudo apt-get install wolfram-engine
root@raspberrypi:
# sudo apt-get purge wolfram-engine
This is working

@jyaif
Copy link

jyaif commented Nov 13, 2020

pi@raspberrypi:~ $ sudo apt-get purge wolfram-engine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  wolframscript
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  wolfram-engine*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 2,151 MB disk space will be freed.

🤮

@kylemanna
Copy link
Author

After this operation, 2,151 MB disk space will be freed.

Unbelievable 🤯

@brecka-hub
Copy link

brecka-hub commented Nov 26, 2020

I have the phenomenon that after a few days if uninstalled wolfram-engine it's suddenly back.. any ideas on this?

some automatic update? sorry, i'm some kind of a newbee...

@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