Question:
How to install programs in Ubuntu 9.04?
Edi
2009-10-21 02:49:15 UTC
Does it same like windows? I got source codes for some programs and i don't know how to compile and run under Ubuntu desktop. What are all the files that can be downloaded from the net for this (file extensions)?
Five answers:
2009-10-21 02:55:00 UTC
It does NOT work the same way as under Windows; file extensions aren't relevant under Linux. In the same 'area' where the file creation date and stuff is stored, Linux also stores whether a file is an executable or not.



I advice you not to try and install a program by compiling it. Instead, use the Synaptic Manager to install software (preferred method), or open a terminal and use the program apt-get to do it.
yrjokin
2009-10-21 10:53:23 UTC
Click on System -> Administration -> Synaptic Package Manager

This will open Synaptic which is networked repositories of all the programs usually used by Ubuntu users. If you have the gnome desktop you should try to stick to gnome (gtk, gtk+ or gtk2.0) programs. If you use KDE then it gets a little confusing from my point of view. It is kpackagekit, kynaptic or adept depending on which version of KDE you have! It couldn't be more stupid. Add to that that most of KDE's programs say they are for KDE3 or 4 or begin with the letter 'K'. (look at wikipedia for a simplified view of why and when changes happened)



If you see files that end in .deb they should install like a windows executable using a program called gdebi. They are quite common on sites where different systems are supported. And at getdeb.net there are a few you might like.



If you can use the command line which means opening 'terminal' (though you type 'gnome-terminal' if you Alt+F2 and in gnome-do)



As I said some sites will point you toward a ubuntu build of their software. But I should add that you should only go to a software's own site as opposed to someone else who is hosting a build because they could slip a virus in. This is the beauty of Synaptic. It is trusted software.



Compiling a package isn't that difficult but shouldn't need to be done often. (you may think get the very newest build is the best but it might not work with your system which why if it is in synaptic use that version). There will often be instructions in a file called readme or install. There are several different archiving and compression methods ie .tar.bz .zip .tar.bz2 .tar.gz2 etc and these need a different command or argument/switch when using tar which you can read about in the man page (type 'man tar' or 'man gzip')

So most often you will do this:-

tar -xvvzf foo.tar.gz for a file named foo

./configure

make

make install



(before doing this install the tools like this:

sudo apt-get install build-essential

usually I've already opened synaptic and installed g++ gcc gfortran - tools you need to compile your own programs in c c++ and fortran though the latter I only tried to see it work)



And before doing even that - Look for the program authors build instructions as the above 3 lines often change a little!



Even if you don't use the last instructions you now have an idea of what is involved. They are changing the packaging system soon I read. Hope this doesn't leave us as confused as KDE users must be.



Good Luck
TBRMInsanity
2009-10-21 14:15:35 UTC
Your best friend in Ubuntu is Synaptic Package Manager. If there is a program that is officially recognized by Canonical (the company that makes Ubuntu) it is in Synaptic. To install a program, open the program, search for the program you want to install, select it (it will then select any other programs it needs), then select apply. After that you can use the program.



If you find .deb files online, you can install those like you would a .msi file for Windows (ie an install program). All you do is download the file and then double click on it. Select the Install button and let the program do its work. If you have a choice between a Ubuntu .deb and a Debian .deb, always select the Ubuntu .deb first. 99% of the time a Debian .deb will work but there are some minor differences between Debian and Ubuntu that may cause the program to do funny things from time to time.
Linux Mint 11
2009-10-21 18:51:26 UTC
UBUNTU INSTALLING SOFTWARE



Installing Software on Ubuntu

http://www.psychocats.net/ubuntu/installingsoftware



UBUNTU USER GUIDE



Ubuntu 9.04 (Jaunty Jackalope) User Guide

http://ubuntuguide.org/wiki/Ubuntu:Jaunty





LUg.
Grasshopper
2009-10-22 06:36:45 UTC
I believe what you mean is "command lines".



Look up the program you want to run and it's command lines on google and it will direct you to Ubuntu's command reference page where you can copy and paste the particular application command into the terminal. It will ask you for you user and password and then press enter.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...