LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-14-2018, 12:46 PM   #1
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,500

Rep: Reputation: Disabled
Any distros that don't use python &/or perl


Are there any distros left that don't use python &/or perl?

Seems to me, everything has a multitude of these programming languages in them these days, where are the distros that only use C?
 
Old 07-14-2018, 02:13 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,339

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Python and perl interpreters are supplied to run programs including many fundamental apps.

SpamAssassin uses perl; Freecad uses python, and window managers use some. There are many similar uses, because in some cases, they're the right answer and cut development time.

The short answer tho your question is that yes, you can do it, by loading a Spartan window manager and doing without whatever doesn't work. But I wouldn't recommend it.
 
Old 07-14-2018, 02:19 PM   #3
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Quote:
Seems to me, everything has a multitude of these programming languages in them these days, where are the distros that only use C?
For no Python or perl probably 15-20 years in the past. By the way no distros ever only used C as they all heavily use bash shell scripts and use awk and sed.

Python is very popular for GUI programming as interpreted languages have higher productivity (no compile/link cycles) so any distro that has GUI utilities likely will use Python. The installer for Fedora and RHEL/Centos named Anaconda is a Python script.

Perl is less popular as a general language but is still useful for processing text. The script to sign files for secure boot is a perl script.


Code:
$ file /usr/src/kernels/$(uname -r)/scripts/sign-file

/usr/src/kernels/3.10.0-862.2.3.el7.x86_64/scripts/sign-file: Perl script, ASCII text executable


#!/usr/bin/perl -w
#
# Sign a module file using the given key.
#

my $USAGE =
"Usage: scripts/sign-file [-v] <hash algo> <key> <x509> <module> [<dest>]\n" .
"       scripts/sign-file [-v] -s <raw sig> <hash algo> <x509> <module> [<dest>]\n";
 
Old 07-14-2018, 02:58 PM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by fatmac View Post
Are there any distros left that don't use python &/or perl?
No.

Note that git (which is a Linus project) is partly in Perl.

I was actually about to say Gentoo until I remembered that Portage was written in Python.

Last edited by dugan; 07-14-2018 at 03:00 PM.
 
Old 07-15-2018, 03:36 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,339

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
I imagine you're reducing yourself to Tomsrtbt and equivalents. AFAIK, even damnsmalllinux uses one or the other.
 
Old 07-15-2018, 03:42 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Quote:
Originally Posted by dugan View Post
I was actually about to say Gentoo until I remembered that Portage was written in Python.
Yeah, you really don't want to remove python from a gentoo system.

Guess how I know ...
 
2 members found this post helpful.
Old 07-15-2018, 01:22 PM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,899

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
just an additional comment:
In general: deb based systems use perl based package management system, rpm based have python based one.
Why do you want a system without perl and python?
 
Old 07-16-2018, 03:35 AM   #8
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,500

Original Poster
Rep: Reputation: Disabled
Systems have become somewhat bloated these days, when I started, I had a 45MB RedHat 4.2, a 50MB RedHat 5.0, & a similar Debian 2.0 install.

Nowadays, the majority of distros are including all but the kitchen sink - there are smaller ones, & I use one, but it makes me wonder why they have to put it in the basic distro instead of letting the user add what they need.

Of course, most of you will realise this is very much a tongue in cheek question.
 
Old 07-16-2018, 04:16 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,899

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
general systems are now a general, "full functional" desktops, not only a simple OS. That's why they contain a lot of preinstalled things. If you need a minimal install you need to look for a minimal distro (or prepare one for yourself)
 
Old 07-16-2018, 05:39 AM   #10
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,900

Rep: Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023Reputation: 5023
I tend not to view Perl and Python as alternatives to each other like some people seem to. To my mind Perl is firmly in the system tools layer along with things like bash/awk and the other utilities, while Python belongs higher up the stack as an application development language: along with some of the more FOTM stuff like rust or go.

IMO Perl belongs in a base install, but not Python. I don't mind core system components being implemented in Perl (where appropriate), but I don't like the idea of them being written in something like Python: though if you asked me to rationalise that stance, I probably couldn't, so it's clearly just my own personal dogma.

Whether Python is an appropriate choice for the DE layer components I have less firm views on, but it's probably fine.


Disclaimer: personal opinion! YMMV.
 
1 members found this post helpful.
Old 07-16-2018, 05:41 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,339

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
You can do it this waqy. Do LFS; Enter BLFS, and add what you need. All commands and patches are given.
 
Old 07-16-2018, 06:24 AM   #12
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,660

Rep: Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708
Quote:
Originally Posted by business_kid View Post
You can do it this waqy. Do LFS; Enter BLFS, and add what you need. All commands and patches are given.
That would be one way, I would also look into the minimal "busybox" based distros. I bet there is at least one that has no PERL or Python dependency. If not, we could easily build one based upon CORE (TinyCore) or Puppy.
 
Old 07-16-2018, 07:01 AM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
On an embedded system I might care - maybe. On anything else my basic reaction would be "WTF, where does this come from !!!!".

Even my pi3's have all the tools I need - mindless "minimalist" demands are so last century IMHO.
 
Old 07-16-2018, 08:25 AM   #14
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,339

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
+1 on that!
 
Old 07-18-2018, 05:48 AM   #15
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Seems to me that as available hard drive capacity increases, so does the number of people wanting minimalist systems. Weird. Got an 8 TB hard drive? Stick TinyCore on it.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why don't python scripts run unless I run them with explicit invocations of python? RandomTroll Linux - Newbie 23 10-06-2016 01:29 PM
LXer: Linux Distros & the ‘Except When We Don’t’ Syndrome LXer Syndicated Linux News 2 11-06-2014 01:37 PM
Python related: How to access a Perl script behind a firewall from Python? vxc69 Programming 8 12-14-2010 07:32 AM
PERL & Python Question SPo2 Programming 15 12-21-2005 07:06 AM
Python & Perl: Which is better? enk0d Programming 8 05-22-2003 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration