Proxy Settings for Yum Install : Fedora 17

You can find the usual proxy settings for fedora in the network settings. Which is pretty straight forward. But this will not be applied to the yum installations that you do from the terminal. So for that you need to do a small addition in the yum.conffile that is present in the etcfolder.

Step 1: Head on to the etc folder and openyum.conf  using the vi editor. You can use the following command but before that.

Become the root user first by typing
su –
in the terminal and entering the password required.

Now type
vi /etc/yum.conf

This will open the yum.conf file in the vi editor.

Step 2:There will be many parameters already specified for about 5-7 lines. To this add another one



This should do the trick

You can also add username and password if you are required to do so by specifying


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s