is needed by package


ERROR : is needed by package

Got the above error while I was trying to install a package on my Fedora 31 server. Error shows the package need some required dependency but is not installed on your Linux Server.

Do the below steps to fix this error.

1. Log into your Fedora server as ‘root’ user

2. glibc package might not be installed on your Fedora server

Run the below command to check whether the package is installed :

# rpm -qa | grep glibc

glibc will be installed by default on most of the servers. Follow the below steps only if the package is not installed on your server.

3. Install glibc package using dnf command

# dnf install glibc


# sudo dnf install glibc


Dowload and install glibc rpm

1. Log into your Fedora server as ‘root’ user

2. Download glibc from website using wget command

# wget

3. Download and install the below dependencies before installing glibc (only if not installed)


3. Install glibc using rpm command

#rpm -ivh glibc-2.30-11.fc31.x86_64.rpm