# How to Install Locate on a Debian Cloud Server

> URL: https://www.atlantic.net/vps-hosting/how-to-install-locate-debian-vps/ | Published: 2015-02-26 | Updated: 2026-03-03 | Author: Atlantic.Net NOC

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

### **Introduction**

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

## Installing locate on Debian Cloud Server

The command to install locate on a Debian is:

```
apt-get install locate
```

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 are able to search for locations of files and directories. Check back for new updates.
