-
-
Save kylemanna/7abe99c1e0516f4b0d24 to your computer and use it in GitHub Desktop.
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 |
$ sudo du -k / | sort -n -r | head
3322484 /
2264556 /usr
1265888 /usr/lib
884008 /usr/share
649060 /opt
465856 /opt/Wolfram
465852 /opt/Wolfram/WolframEngine
465848 /opt/Wolfram/WolframEngine/10.0
429008 /opt/Wolfram/WolframEngine/10.0/SystemFiles
Pretty dumb for those of us running 4gb SD cards.
The bloat is pretty incredible. I tried using the lite release, but because of the net-tools FUBAR I can't get it to configure the network correctly, so I'm left with the last pre-net-screwup version of Wheezy, so I'm sitting here trying to search and destroy all this garbage that I'll never use.
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)
good idea!
👍
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 ...
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.
Thanks for this solution, it works like a charm 😄
LIKE
you must be install again:
root@raspberrypi:# sudo apt-get install wolfram-engine# sudo apt-get purge wolfram-engine
root@raspberrypi:
This is working
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.
🤮
After this operation, 2,151 MB disk space will be freed.
Unbelievable 🤯
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...
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.
The beat goes on!
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
The church guys will say we need to have all the bible in the distros so they will not need to download. The biologists would say we all need all the biologists programs, chemists want theirs programs... oh come on!
oh the ads companies may say we need to download distros with all their ads, so we don't need to download it on every web page load, and they will be shown to country people with no connection... this seems convenient too.