Hacker News new | past | comments | ask | show | jobs | submit login

I think most Linux operating systems come with Python already installed (at least all the ones I use do). It could be uploaded to PyPI, which would mean installing PIP, but using pre-installed libraries would mean you could simply use git (which is usually pre-installed too), and then run `python3 setup.py install`.



> Neofetch supports almost 150 different operating systems. From Linux to Windows, all the way to more obscure operating systems like Minix, AIX and Haiku

You're making a lot of assuptions. Many servers don't have git installed. Some only have python2. Some dont even have that. Not to mention AIX or other non-linux platforms


How hard is it to install git and Python 3?


In some environment, very hard. Especially embedded systems and corporate machines.


I'm not sure why you would want Neofetch on any embedded system or corporate machine though.


What, you don’t send your friends screenshots of the beefy machine your work provided you? Or the potato you are running Linux on?


If you cannot install git or py3 then installing bash will be just as hard, no?


Bash is a relatively small C program.

Python is a huge beast compared to Bash.


Installing bash will be just as hard in those situations.


Ok…but bash is waaayy more common. I could see this if you were making an argument about Perl, since it’s probably pretty close to parity with bash in terms of pre-existing in most environments…but python? No way!


Python is 10x more popular than perl these days. None are installed by default on Windows.


Ah, right, Windows, forgot about that one! So, Windows you’re pretty much always going to have to install something anyway.

For almost all of the BSDs, Linux distros, Solaris, AIX, HPUX, countless others, you’re going to have both bash and Perl interpreters included by default.

I think installing python is generally quite reasonable! It’s just not as ubiquitous, so if you’re looking for a one-stop interpreted language that most people will neither need to install or worry about the interpreter version, then a baseline old version of bash or Perl is a pretty good bet.

Although really awk probably also deserves consideration in this regard, given that you will even have it on embedded Linux where bash and Perl are not. I don’t know enough about awk to comment on its general utility for doing something like neofetch, however.


guess the point was that bash is way more common than python?


It’s not, especially in the Windows-centric corporate environments mentioned above. 0 not greater than 0.


even in those Windows-centric corporate environments you can push a few buttons to get a Microsoft-built version of bash, even before wsl was a thing, not so for python.


How is that better? You don't even need to install it, just run

   curl -L https://github.com/dylanaraps/neofetch/raw/7.1.0/neofetch | bash




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: