0

I am using debian 8.0 Hetzner server and trying to setup Lamp on it, I am following this tutorial to setup Lamp. Installing a LAMP Web Server on Amazon Linux

So I began with

yum update -y

and it showed me error yum: command not found

so I ran this command

apt-get install yum

and it worked

On using this command

yum update -y

it shows

There are no enabled repos. Run "yum repolist all" to see the repos you have. You can enable repos with yum-config-manager --enable

Whats the solution? Thanks in advance

Hassan-Zahid
  • 417
  • 1
  • 7
  • 21

1 Answers1

1

You are using debian, yum is for centos/redhat distribution. You need to use aptitude to install packages ( apt-get install command).

Take a look at this, it could be usefull :

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-debian

neb0
  • 144
  • 1
  • 6