how to install stuff on linux? (very short question)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
.tar.gz file is an archive. First thing to do is to unpack it. Try double clicking, I believe you'll see a GUI tool that will let you unpack the contents of the archive somewhere.
In the exctracted folder, you will most probably find a file called 'INSTALL' or 'README'. Read it for further instructions.
The instructions will most probably be to open a terminal window, change directory to the folder where is your archive unpacked and running these commands:
<root password now>
this below is an extract frm a tutrial which i had written for my LUG
Packages come in two formats in Linux
1.) rpm packages.
2.) Source packages.
Source packages generally come in 2 compressed formats
xmms-1.2.10.tar.bz2 --compressed with bunzip(bzip)
xmms-1.2.10.tar.gz --compressed with gunzip(gzip)
and others also
1.)first of all we need to extract these packages .
so copy the packages in your Linux partition. for example in /plugins directory.
go to that directory and extract them as follows
[root@gaurav root]# cd /plugins/
[root@gaurav plugins]# tar xjf xmms-1.2.10.tar.bz2
[root@gaurav root]# cd /plugins/
[root@gaurav plugins]# tar xvzf xmms-1.2.10.tar.gz
here we pass the arguments
xjf --for uncompressing packages of the type (.tar.bz2)
xvzf --for uncompressing packages of the type (.tar.gz)
more on these attributes can be found by
[root@gaurav root]# man tar
if the packages are in some another format then u can extract them also by
a.)copy the package in your Linux partition
b.)Right click on the package
c.)choose extract here
this method surely takes some time more that the command line version but if you are having any problems in extracting with the command line then u may proceed in this manner
2.)after packages have been extracted then u need to compile them and then install these.
you can go through a file Readme or INSTALL
in all the install readme files you will find the procedure for installing source packages
I am briefing the procedure down here
a.) go to the directory containing the extracted packages
[root@gaurav root]# cd /plugins/xmms-1.2.10
b.) './configure' will check if the files necessary for installation are available or not
[root@gaurav xmms-1.2.10]# ./configure
c.)' make' will compile the package
[root@gaurav xmms-1.2.10]# make
d.)'make install' will install the executable in '/usr/local/bin' (generally)
after these you can run your new packages by their name only or by giving the full path
[root@gaurav xmms-1.2.10]# xmms
hi there, found this thread when i had some problems installing, i managed to extract the the file but i cant make an install, the ./configure returns error
"configure: error: C++ preprocessor "/lib/cpp" fails sanity check"
(im trying to install glib, i tried to install xmms but it said i need glib?)
my initiall attempt was to install steam, but to do that i need wine, which told me i need xmms...please help, lol.