Wednesday, 25 November 2009

Something I have done in Ubuntu

Today(November 24, 2009), I installed a new OS that is Ubuntu 9.0.4. So, I have to set up some necessary soft-wares and how to run a program. Therefore, I will introduce to everyone whatever I found:
1. How to run a C/C++ program by typing terminal:
- you should type following statement:
g++ code.cpp -o yourprogname
Example: g++ test.cpp -o test
- Note: you must install g++ which is the GNU C++ compiler
2. How to unrar in Ubuntu:
- you should type:
sudo apt-get install unrar-free
or for a non-free option, you can use:
sudo apt-get install unrar