LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to Download and installation different packages? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-download-and-installation-different-packages-799699/)

ketanbhavsar 04-02-2010 10:19 PM

How to Download and installation different packages?
 
Hello friends,

Right now I am using UBUNTU Hardy Haron. I just moved from windows to linux. It is very easy to install any games or software in windows.
Just double click exe, next - next and finish.

I want to install some mario games in my pc (ubuntu). I have downoaded tar.bz2 of it. Extracted it and configure and install-sh both are there.
I already tried by ./configure.

It requires g++, cpp several packages.

Now my question comes. What are those packages? How to find out them?
How to install them? Is there any other easy way for installation?
What are different type of compilers over here?


I just like dummed server...

Please help you generous guys...

Give me links that help me to learn these things.

Quakeboy02 04-02-2010 10:24 PM

If you're using the gnome desktop, there should be a button at the top named "System". Click in the following order: System->Administration->Synaptic Package Manager. It will ask you for your password. That gets you to the package manager for Linux provided programs. The easiest way to install g++ is to just hit CTL-F, search for "g++". Click the box and select "Mark for installation". Repeat for the rest of the packages you need. Then click "Apply" and watch the magic happen. :)

ketanbhavsar 04-08-2010 10:28 PM

Thanks I got my answer.

But one more question I have.
If I am finding some software to install, I may fond various kind of installer files.
like .bin, .tar.gz, .deb, .zip
sometimes it's written like source file or build file.

As well at the time of installation it asks about dependencies.

In those various ways, what are steps to follow?
Or any one help me to provide some site URL that give all these information?

evo2 04-08-2010 10:37 PM

First identify the file type. This can be done by noting the file extension or by using the file command
Code:

file someunknownfile
Then, armed with that information your should be able to search, for example using google, fo what you should do with that file.
If it is an archive of some sort: eg tar.gz, after unpacking it look for a file called README and/or INSTALL and then follow the instructions therein.

In general, if you want to install a piece of software you should first try to use your package manager. Only if it does not exist there, should you resort to other methods.

Evo2.


All times are GMT -5. The time now is 04:23 AM.