Hey guys in this post I will show show you how you can easily install raspi-config in any OS inside Raspberry Pi.
Once you burn the image onto an SD card and insert it into the Raspberry Pi you have to do some initial configuration like logging into an account automatically, enable ssh, expand file system or overclocking. If you are a beginner, it would take minutes or even hours to do all this without any tools without automated scripts.
Raspi-config is an automated script that will help you to do many useful initial configuration without manually typing all the commands into the terminal.
In most of the Linux OS for Raspberry Pi this tool is built in and you can easily Run the script using the below comment
Most of the Raspberry Pi OS have this raspi-config pre installed with it.
But some OS like Kali Linux doesn’t have this tool, so running this command will throw out ‘command not found error’.
Or even if you try to install it using apt install, it will throw out ‘failed to fetch’ error.
So you will have to manually install it.
In this post I will show you the easiest ways you can install raspi-config manually in any Raspberry Pi OS.
For this you must have a Raspberry Pi with an SD card greater than 8GB and any OS supported by Raspberry Pi installed in it.
There are two ways by which you can install raspi-config – Using the install script and using Repository.
Method 1 – Using the Repository
Open the file – /etc/apt/sources.list
Copy and paste the below repository
deb http://archive.raspberrypi.org/debian/ jessie main
Now close the file and add the key using the command
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys **ENTERKEYFORKEYSERVER**
Perform an update by using the command
sudo apt-update && sudo apt upgrade
Now you can install raspi-config using the below command
apt-get install raspi-config
Now try running
The window should popup and you should be able to start configuring.
Method 2 – Using Install Scripts
There is a script available on the Internet that will help you to install the tool in any Linux machine.
Download the script by clicking the below download link
Once the download is completed go inside the downloaded directory by using the below command
Now make the installation file executable
chmod +x install.sh
Now it’s just a matter of running the script
It would take a minute or two to complete the setup. once it is completed you will be able to open raspi-config using the below comment
That was easy wasn’t it?