I am a new user on ubuntu. My project is to modify an application source code on ubuntu. I had already download an application source code which is using C++. Firstly i need to check whether the original source code can run successfully, how to run it on ubuntu?
Before you try any of the following methods check README or INSTALL file it would be carrying whole info on installation.
I'll give you some common installation methods.
Make sure to do all the following things as root otherwise it may cause such "Permission Denied" errors.
An easy way to do everything as root : At the beginning write
First extract the source code with
1)With make file.
What ever your app is if it can be installed it should have a Make file in it. If there is a file named MAKE your app source work is now easy as pie.
Just lead the terminal to the source code folder
If it doesn't ask to config, it'll be easier now just write
There might be some errors like some packges requires so just install packges using apt.
2)Without MAKE file.
In case the first method goes wrong with error i.e "Make file not found" this may work.
Check if there is a bin folder in the source, lead the terminal to the bin folder.
Run a proper executable you think is the main executable of the app using
Or there may be such APPNAME.sh anything like install.sh run it with
However you can always install well known apps using apt.
Please follow the package approach.
Repeat steps 5, 7 and 8 to test your changes to the source until you're satisfied.
Please, really do not mess up your system with