Transcript
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.


Recommended