The officially official Devuan Forum!

You are not logged in.

#1 2020-02-23 07:51:19

cooleo
Member
Registered: 2020-02-23
Posts: 4  

Remove Python from Devuan/Refracta?

Trying to remove those un-necessary software to make my system smaller and faster.

Looks like there are Python 2.7 and 3 and 3.5 installed,
Is it possible to remove them?

There are posts said the default Python is not-removable and highly dependanted by some X-windows software.

So, my question is:
I am only doing web-surfing on this machine, how do I remove the most of Python out of it?
I definitly don't need 3 versions of Python.

Offline

#2 2020-02-23 08:38:33

HevyDevy
Member
Registered: 2019-09-06
Posts: 358  

Re: Remove Python from Devuan/Refracta?

If you have packages that are dependent on versions of python2 - 3 probably not a good idea.

Im pretty sure software versions of various packages in ascii would depend on python2. Im running void linux and it only has python3 version installed, but that system was built from a base install and i knew what packages i wanted and python2 was not one of them nor will it be going forward. Bleeding edge distros seem to stay current with what works and will not work in the future, so if python2 packages have not been ported to python3 yet thenthey will either break or remain deprecated until someone takes up the challenge to port them, case in point would be network manager wicd.

Last edited by HevyDevy (2020-02-23 08:42:41)

Offline

#3 2020-02-26 13:12:36

cooleo
Member
Registered: 2020-02-23
Posts: 4  

Re: Remove Python from Devuan/Refracta?

sudo apt-get purge --auto-remove python python2.7 python3 python3.5 python-minimal python2.7-minimal python3-minimal python3.5-minimal
The following additional packages will be installed:
  libwbclient0
The following packages will be REMOVED:
  apt-listchanges* bleachbit* blueman* dh-python* fig* gconf-service* gconf2* gconf2-common*
  gdebi* gdebi-core* gimp* gir1.2-appindicator3-0.1* gir1.2-atk-1.0* gir1.2-freedesktop*
  gir1.2-gdkpixbuf-2.0* gir1.2-glib-2.0* gir1.2-gtk-3.0* gir1.2-notify-0.7* gir1.2-pango-1.0*
  gir1.2-vte-2.91* gksu* gvfs-backends* liba52-0.7.4* libamd2* libappindicator3-1* libavahi-glib1*
  libbabl-0.1-0* libblas-common* libblas3* libbluetooth3* libcamd2* libccolamd2* libcholmod3*
  libcolamd2* libdbusmenu-glib4* libdbusmenu-gtk3-4* libdca0* libdirectfb-1.2-9* libdvdnav4*
  libdvdread4* libgconf-2-4* libgdata-common* libgdata22* libgegl-0.3-0* libgfortran3*
  libgirepository-1.0-1* libgksu2-0* libgnome-keyring-common* libgnome-keyring0* libgoa-1.0-0b*
  libgoa-1.0-common* libgtop-2.0-10* libgtop2-common* libilmbase12* libindicator3-7* liblapack3*
  libldb1* liblua5.2-0* libmetis5* libmng1* libmpeg2-4* libmtp-common* libmtp9* libnfs8*
  liboauth0* libopenexr22* libpangoxft-1.0-0* libpulse-mainloop-glib0* libpython-stdlib*
  libpython3-stdlib* libraw15* libsdl1.2debian* libsmbclient* libsuitesparseconfig4* libtevent0*
  libumfpack5* libva-wayland1* libvorbisidec1* lsb-release* mplayer* mpv* python*
  python-apt-common* python-cairo* python-dbus* python-gi* python-gi-cairo* python-glade2*
  python-gobject* python-gobject-2* python-gtk2* python-minimal* python-numpy* python-talloc*
  python-urwid* python-wicd* python2.7* python2.7-minimal* python3* python3-apt* python3-cairo*
  python3-chardet* python3-dbus* python3-debian* python3-debianbts* python3-gi* python3-gi-cairo*
  python3-httplib2* python3-minimal* python3-pkg-resources* python3-pycurl* python3-pysimplesoap*
  python3-reportbug* python3-requests* python3-six* python3-urllib3* python3.5* python3.5-minimal*
  samba-libs* wicd-curses* wicd-daemon* wicd-gtk* youtube-dl*
The following packages will be upgraded:
  libwbclient0
1 upgraded, 0 newly installed, 123 to remove and 108 not upgraded.

Offline

#4 2020-02-26 13:16:46

cooleo
Member
Registered: 2020-02-23
Posts: 4  

Re: Remove Python from Devuan/Refracta?

Looks like some packages will be removed along with Python on Devan.

Such as:
apt-listchanges* bleachbit* blueman* gconf-service* gconf2* gconf2-common* gdebi* gdebi-core* gimp* mplayer* mpv* wicd-curses* wicd-daemon* wicd-gtk*

wicd - networking packages
blueman - bluetooth

Offline

Board footer