7
Reg. No : 50410104020 COMPILING FROM SOURCE USING WEBATTERY STEPS TO BE FOLLOWED: 1. Download RPM file from website. 2. Choose that file from Downloads folder.

Compiling From Source Using Webattery program for open source lab

Embed Size (px)

DESCRIPTION

Compiling From Source Using Webattery program for open source lab. The compiling from source is done by implementing the webattery.rpm paccakge in fedora. and the steps of the programs are given as screen shots for easy references and understanding.

Citation preview

Page 1: Compiling From Source Using Webattery program for open source lab

Reg. No : 50410104020

COMPILING FROM SOURCE USING WEBATTERY

STEPS TO BE FOLLOWED:

1. Download RPM file from website.

2. Choose that file from Downloads folder.

Page 2: Compiling From Source Using Webattery program for open source lab

Reg. No : 50410104020

3. Change to that folder using “cd /home/fosslab”.

4. Extract the rpm file using the command “rpm –ivh webattery-1.2-6.el5.src.rpm”.

5. It creates a folder named “rpmbuild” where it is extracted.

Page 3: Compiling From Source Using Webattery program for open source lab

Reg. No : 50410104020

6. In that rpmbuild folder there are “SOURCES and SPECS” folders.

7. Inside SOURCES folder there is a “.tar” file.

8. Change to that path using “cd rpmbuild/SOURCES/

Page 4: Compiling From Source Using Webattery program for open source lab

Reg. No : 50410104020

9. Extract that file using the command “tar zvfx webattery-1.2.tar.gz”.

10. It gets extracted in SOURCES folder and a folder “webattery-1.2” is created.

Page 5: Compiling From Source Using Webattery program for open source lab

Reg. No : 50410104020

11. Change to that folder using “cd webattery-1.2/ and use the command “./configure”.

12. Now change to SuperUser using “su” and enter “make” commands.

Page 6: Compiling From Source Using Webattery program for open source lab

Reg. No : 50410104020

13. Enter the command “make install” to install it.

14. Now exit from SuperUser. Use “which webattery” to check the location and “webattery” to check the status.