How can i create a sudo command instead type pass of root when install a program
example: now when i install a program i must type
#rpm -ivh ...(or something else)
now i want type
#sudo rpm -ivh ...(or more)
By anyway can you help me do this, i know that it quite easy, i have done 1 time before but now i am forgot how to make it.