954,228 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

installing software on linux

i have recently migrated to Linux Ubuntu from Windows. how do i install software using source code

dinhunzvi
Newbie Poster
21 posts since Jul 2010
Reputation Points: 10
Solved Threads: 2
 

change directory to source code folder
cd /home/dinhunzvi/Downloads/theFolder
./configure && make && sudo make install

It depends on what you are installing. If it needs headers/libraries and the language it is coded in

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

if it is python don't do configure stuffs. Just cd to dir and do
sudo python setup.py install

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

i have been trying to install mysql and i get an error when i type the ./configure command.

dinhunzvi
Newbie Poster
21 posts since Jul 2010
Reputation Points: 10
Solved Threads: 2
 
i have been trying to install mysql and i get an error when i type the ./configure command.


Make Ubuntu Docs your first stop (RTM).
Now from Docs you need to do:

sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server
evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

how do i install the gnu compiler collection for ubuntu? my internet connection is too slow for me to download such big files so compiling source is the way top go for me

dinhunzvi
Newbie Poster
21 posts since Jul 2010
Reputation Points: 10
Solved Threads: 2
 
how do i install the gnu compiler collection for ubuntu? my internet connection is too slow for me to download such big files so compiling source is the way top go for me


What will you compile them with?sudo apt-get install build-essentials

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

have tried that commands, it's now saying "E: Unable to locate package build-essentials"

dinhunzvi
Newbie Poster
21 posts since Jul 2010
Reputation Points: 10
Solved Threads: 2
 
have tried that commands, it's now saying "E: Unable to locate package build-essentials"


Sorry my typo: it is build-essential

sudo apt-get install build-essential
evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

thanks it's now working

dinhunzvi
Newbie Poster
21 posts since Jul 2010
Reputation Points: 10
Solved Threads: 2
 

pls close the thread!

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: