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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Generally speaking, try to let "don't" be a good enough answer for now. There is a very very good chance that whatever you're trying to install should have a precompiled version available in whichever package management system you're using on your distro. Whilst it's very easy to install from source, there can be a lot of additional packages to install and a certain learning curve which if you're very new to Linux, is probably best avoided for now if possible.
That said...
tar zxvf myapp.tar.gz
cd myapp
./configure
make
make install
Hi Kabith,
It might help us if you could tell us exactly what tar.gz file you are trying to install. I do agree with acid_kewpie's answer above.
cheers,
jdk
Checked for precompiled package, but it is not there. I am installing Songbird.
Open a terminal and navigate to where the Songbird tarball is.
Untar it using the the command
Code:
tar zxvf tar Songbird_1.0.0-860_linux-i686.tar.gz
This is not a tarball to be compiled but rather a generic linux binary which now should be moved to its permanent home.
Still from the terminal now use the command
Code:
sudo mv Songbird /opt
You will be prompted for your own password. If you don't like this location you can move it anywhere your heart desires.
Songbird may now be run with this command
Code:
/opt/Songbird/songbird
Upper and lower case are important.
You can create a shortcut to this app on your desktop.
My previous message was sent out before I saw yours about Songbird. Sorry about that.
Cheers,
jdk
I want to run this application which is a network penetration tester (I am a network engineer).
When I type the ./configure command it complains about being an unknown command.
Any ideas chaps? Is my path wrong?
Rgds, Steve
It might be a good idea to start a separate thread for this???
That said, what directory are you in when you issue the ./configure command? Is there a configure file in that directory? I would guess not since you get the "unknown command" response. You need to run ./configure from the very directory where the configure file is found.
I am assuming you have untarred the tar.gz file, yes?
cheers,
jdk
Since you are using Ubuntu, see if you can install this package using synaptice, a graphical front end for the apt-get package manager that Ubuntu uses.
Enter at the command line:
sudo synaptic
You will be prompted for the user password you set when you installed Ubuntu.
Once synaptic is open, you can use it to search for any package you are interested in installing, either by name or package description. You may need to enable additional ubuntu repositories, including "universe" and "multiverse". You can configure this through synaptic.
Installing tarballs (.tar.gz files) is something that can be avoided with most modern linux distributions. Ubuntu is based on Debian, which has over 26,000 packages available via apt-get and synaptic.
What is meant by navigating through terminal to the tarball?
Open a terminal. Normally it starts you off in your home folder /home/kabith, for example (often abbreviated as "~"). Lets say your tarball is located in /tmp.
Navigating to the folder where your tarball is found consists of this:
Code:
cd /tmp
"cd" is the command to change directory (or navigate) to the one indicated following the command.
Code:
cd
with no argument takes you to your home folder.
cheers,
jdk
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.