How to download php, mysql, python, nodejs?

How do I download

Is there a way to pick which version of each I want or do I automatically get the latest?





If you’re looking for a specific version you’ll have to search them, as i did

1 Like

I thought Zorin was Debian? You provided unbuntu 18.4

Zorin is built with Ubuntu 18.04 as the base. Often, you can search up information based on Ubuntu 18.04 to find commands or packages applicable to Zorin 15.

Ubuntu is Debian based.

If you prefer a specific version of an application, then you can search up source for it or a .deb package for that specific version, check it to ensure it is compatible with Zorin 15 / Ubuntu 18.04 and ensure you have the needed dependencies.
Then install it- If it is an earlier version that you prefer, you may want to hold it at that version so that when you run updates or upgrades, it does not upgrade that version. For that, you can “apt-mark hold” the package to hold it back.

sudo apt-mark hold (PACKAGE-NAME)

To remove the hold

sudo apt-mark unhold (PACKAGE-NAME)

You can also place a hold on a specific package using Synaptic Package Manger.


I couldn’t have said it better.

How do I find out the package-name?

This is a very good question. You would think that packages and software would tend to have clear names. But they don't always.
The simplest is a net Search on the package. You can usually find the name this way pretty quickly.
You can also run in terminal:

apt list --installed

This will list All Installed software on your system in alphabetical order. You can scroll to your package name to get an exact name. I like to save a copy of this list in the Documents folder for reference, especially if I do a wipe and reload, so I know what to install.
Similarly, you can use apt-cache:

apt-cache pkgnames | less

What makes this useful is that if you only are guessing at a package name or are not sure, you can use the apt-cache to search in a more general way by using:

apt-cache pkgnames (Search Term) | less

So let's say that you know the application is a gnome application, but you are not sure what it is. In this example, you would put in

apt-cache pkgnames gnome | less

And this will list all gnome packages.

Below is a very tiny sample of my result:


I got a huge list but at the end of the list I did not see the usual command prompt but rather the colon, when I pressed the space bar it kept giving my a never-ending list.

How do I get back to command prompt with flashing cursor?
When I tried to shut terminal down it said there is something running still after typing in apt-cache pkgnames | less?

Ctrl-c will cancel any command in terminal

1 Like

That is why you need to use ctrl-shift-c to copy in terminal. Closing the window also terminates any running processes

Ubuntu distros like Zorin don't come with pre-installed php generally?

Not that I'm aware of, but like python, which is, you don't want to be using the distros version which may be out of date (python2) or could cause problems if you add packages for development. A stand alone newest version is recommended unless your programs require depracated functionality.

1 Like

Will that hurt Terminal in anyway down the track because it's telling me "are you sure you want to terminate as they is something running at the moment"? Assuming I didn't cancel the running command beforehand.

It shouldn't. The terminal should clean up after itself, memory release and what not. No different than using the kill command, except maybe the clean up. In terminal though, it is no different than pressing ctrl-c

1 Like

It can crash whatever process is running in terminal which is why the warning. When you are done with the process though, crashing it is no biggie.

The os itself is responsible for most memory management when applications are done. As solid as zorin is there should be no issue. If you have any please email the devs because it means they missed something. Remember, this is better than windows... memory leaks should be minimal.

Piece of advice to Zorin users, don't ever update your Python version, because if you do, you will break your OS. So the next time you try to do something like load up software and updates, you will get this...

Failed to execute command "software-properties-gtk".
Failed to execute child process "software-properties-gtk" (No such file or directory)

If your Python version is too outdated because you can't use an APP without a higher Python version, then just update your whole OS to a new version that has the Python version you need.

This is the kind of stuff that gets my blood boiling when it comes to Linux.

It's recommended to install seperate instances of python in a custom location for development purposes. Unfortunately, not all install guides provide this warning, for that very reason they should. I've tanked my own system once because of this (on elementary OS). Wasn't that bad though, because that is what prompted me to buy and try Zorin :wink:

1 Like