# How to Install Locate on a Fedora Server

> URL: https://www.atlantic.net/vps-hosting/how-to-install-locate-fedora-vps/ | Published: 2015-02-26 | Updated: 2023-11-18 | Author: Atlantic.Net NOC

##### Verified and Tested 02/25/2015

### **Introduction**

The Locate command is often the easiest and fastest way to find the location of files and directories. This how-to will show you how to install locate on a Fedora server.

## Installing locate on Fedora Cloud Server

The command to install locate on a Fedora is:

```
yum install mlocate
```

You are not able to locate anything yet until you have updated the database for locate. Run the below command to do this:

```
updatedb
```

Now, you can search for locations of files and directories. Check back for new updates.

 

 

Learn more about Atlantic.Net’s [VPS hosting](https://www.atlantic.net/vps-hosting/) services and [VPS hosting price](https://www.atlantic.net/vps-hosting/pricing/).
