> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Install raspi-config in Ubuntu on Raspberry Pi
- URL: https://itsfoss.com/install-raspi-config-ubuntu/
- Published: 2024-12-06T03:36:27.000Z
- Updated: 2024-12-09T11:49:22.000Z
- Description: The raspi-config tool allows you to do several common config changes on your Pi device. Learn to install and use it on Ubuntu running on Pi.
- Author: Abhishek Kumar
- Tags: Ubuntu, Raspberry Pi

If you are a Raspberry Pi enthusiast like me, you’ve probably enjoyed the convenience of tools designed specifically for Pi devices. One such tool is `raspi-config`, a configuration utility that comes pre-installed with the [Raspberry Pi OS](https://www.raspberrypi.com/software/operating-systems/?ref=itsfoss.com). 

It is a handy interface to configure core settings like hostname, locale, device updates, resolution, and even enabling or disabling SSH and VNC, all with just a few keystrokes. 

![raspi-config menu](https://itsfoss.com/content/images/2024/11/raspi-config.png)

raspi-config tool lets you configure your Raspberry Pi

However, when I [switched to Ubuntu on my Raspberry Pi](https://itsfoss.com/install-ubuntu-desktop-raspberry-pi/), I missed this little tool. 

Having `raspi-config` on Ubuntu brings these conveniences to your Pi’s Ubuntu environment, letting you manage it similarly to the Raspberry Pi OS. 

Let's see how to install raspi-config on Ubuntu and use it.

## Step 1: Prepare your Ubuntu installation:

📋

For this guide, I used [Ubuntu Server 22.04 LTS](https://ubuntu.com/download/server?ref=itsfoss.com#manual-install) but it should work on most recent Ubuntu releases for Raspberry Pi.

Make sure you’re running a compatible version of Ubuntu on your Raspberry Pi. 

If you’re starting from scratch, you can download and install an official Ubuntu image onto your SD card using the [Raspberry Pi Imager](https://www.raspberrypi.com/software/?ref=itsfoss.com).

You can refer to our article on [installing Ubuntu server on Raspberry Pi](https://itsfoss.com/install-ubuntu-server-raspberry-pi/) for help.

## Step 2: Add the Raspberry Pi Debian repository to your sources list

Since `raspi-config` is not directly available in the default Ubuntu repositories, we need to add the official Raspberry Pi repository. 

This allows us to access and install `raspi-config` and other related packages.

Open a terminal and enter the following command, this is for the Buster release:

```bash
echo "deb http://archive.raspberrypi.org/debian/ buster main" | sudo tee -a /etc/apt/sources.list

```

![adding raspberry pi buster repository in Ubuntu](https://itsfoss.com/content/images/2024/11/adding-buster-repo.png)

For adding the Bullseye repository:

```bash
echo "deb http://archive.raspberrypi.org/debian/ bullseye main" | sudo tee /etc/apt/sources.list.d/raspi-bullseye.list
```

![adding raspberry pi bullseye repository in Ubuntu](https://itsfoss.com/content/images/2024/11/adding-bullseye-repo.png)

This command appends the Raspberry Pi repository to your system’s source list, providing you with access to the `raspi-config` package.

## Step 3: Import the repository key

To authenticate the packages from the Raspberry Pi repository, you need to import its GPG key. Run:

```bash
wget -qO - https://archive.raspberrypi.org/debian/raspberrypi.gpg.key | sudo tee /etc/apt/trusted.gpg.d/raspberrypi.asc

```

This command tells Ubuntu to trust packages signed by this key. Without it, you may encounter errors when updating or installing packages from the Raspberry Pi repository.

![importing the repository gpg key](https://itsfoss.com/content/images/2024/11/adding-the-repo-gpg-key.png)

## Step 4: Update and install raspi-config

With the repository added and the key imported, you’re ready to install `raspi-config`. First, update your package lists to include the new repository:

```bash
sudo apt update
```

![updating the Ubuntu repository](https://itsfoss.com/content/images/2024/11/updating-ubuntu-server-with-rpi-repo.png)

Then, install `raspi-config` with:

```bash
sudo apt install raspi-config
```

This will download and set up `raspi-config` on your Ubuntu system, bringing the configuration tool to your fingertips.

![installing raspi-config in Ubuntu](https://itsfoss.com/content/images/2024/11/installing-raspi-config.png)

## Step 5: Run raspi-config

Once installed, you can launch `raspi-config` by running:

```bash
sudo raspi-config
```

You will now see the familiar configuration menu, allowing you to make various system adjustments.

![raspi-config menu in Ubuntu](https://itsfoss.com/content/images/2024/11/raspi-config-ubuntu.png)

## Final Thoughts

Having `raspi-config` on Ubuntu brings back the ease of managing Raspberry Pi settings without needing to navigate through configuration files manually. 

Although Ubuntu provides powerful configuration tools of its own, `raspi-config` simplifies some of the most common Pi-specific tasks and has a user-friendly interface.

For someone who’s comfortable in the Pi ecosystem, this is a familiar and efficient way to get the best of both worlds, Ubuntu’s flexibility with the convenience of Raspberry Pi’s configuration tools. 

Now that `raspi-config` is set up, I can make adjustments with the same ease as I did on Raspberry Pi OS, and it feels like home 🥳

Happy configuring! 🎉