0

How can I found out a changed Commandin for new Version.... As you now the command are diffrent from Version to another and if I want to install for example (Sudo apt-get install php7.0-mcrypt mysql-server phpmyadmin -->it has worked on ubuntu server 18.02) on the new version ubuntu server 19.04 but I do not found the command because it has been changed

thanks for helping :)

  • Commands generally don't change, package version available does. I'm not sure about the package php7.0-mcrypt since it doesn't exist in official repositories of Ubuntu 18.04. Do you use some 3rd party repository for that package? – Kulfy Jul 08 '19 at 15:44
  • The correct command would be sudo apt-get install php7.0-mcrypt mysql-server phpmyadmin... small s in sudo, but the php7.0-mcrypt package doesn't exist. Maybe you obtained it elsewhere. So you could do sudo apt-get install mysql-server phpmyadmin – heynnema Jul 08 '19 at 15:53
  • No I dont do ! but a friend of me has used the command and it works – Yaman8883 Syd Jul 08 '19 at 15:55
  • How/where did your friend obtain php7.0-mcrypt? Were they running Ubuntu, or something else? The latest php is version 7.2, and you wouldn't want to install an old 7.0 version anyway. – heynnema Jul 08 '19 at 15:56
  • @heynnema oh thank you it works :) – Yaman8883 Syd Jul 08 '19 at 15:58

1 Answers1

1

From the comments...

re: Sudo apt-get install php7.0-mcrypt mysql-server phpmyadmin

The correct command would be sudo apt-get install php7.0-mcrypt mysql-server phpmyadmin... small s in sudo, but the php7.0-mcrypt package doesn't exist in the Ubuntu repositories, so you can't install it. Maybe you obtained it elsewhere. And since the latest php is 7.2, you wouldn't want to install an old 7.0 version anyway.

So you could do sudo apt-get install mysql-server phpmyadmin

heynnema
  • 70,711