Monday, January 17, 2011

Adding Software Packages to the EDK

The Impinj Embedded Development Kit (EDK) is a virtual machine image based on the CentOS distribution of Linux. To keep the download size as small as possible, we've removed many of the extra software packages that usually come with CentOS. Depending on your application, you may want to add additional packages once you have the EDK installed. Here's the process to do so:

First, you have to re-enable the default CentOS repositories. You must be logged in as root to do this. The root password is edk (lowercase)
su root
cd /etc/yum.repos.d
mv CentOS-Base.disable CentOS-Base.repo
mv CentOS-Media.disable CentOS-Media.repo
exit

Then, update the repositories (this could take awhile)
sudo yum update

Once that is done, you should be all set to add additional software packages using yum. For example, here is how you would add the FTP client gFTP
sudo yum install gftp

You can install the cURL libraries needed for my HTTP POST example with this command
sudo yum install curl-devel