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.
For the easier route, I'd go with rpm's. It's pretty simple:
rpm -ivh <package_name> = will install the package
rpm -Uvh <package_name> = will update the package or install it if none exists
rpm -qa = query all packages that are installed on the system
Later on once you get more familiar with linux and whatnot, I'd prefer installing them by compiling them as you can specify options, prefixes, and etc..
When i try to install, all i get is:
------------------------------------------
[root@localhost root]# rpm -ivh bittorent-3.4.2-1.1.fc2.rf.noarch.rpm
error: open of bittorent-3.4.2-1.1.fc2.rf.noarch.rpm failed: No such file or directory
------------------------------------------
I am trying to install bittorrent so i can get FC3 (not so i can download illegally) because i always download about 3x faster than in http:
Well,installing software thru binaries is all very fine,but it limits the configurations which are possible by installing thru source.Usually source code is archived as tar.gz or tar.bz2.
To untar a gzip archive,do
tar xzf xxx.tar.gz or tar xzf xxx.tgz
for a bzip2 archive
tar xjf xx.tar.bz2
Usually installing involves doing a configure by running the configure script by typing ./configure --options
Then the compiling is done by the make command and finally you do a make install.
These instructions may vary depending on the program.Just read the install procedures provided with the package to get the program specific methods.
Originally posted by scripts When i try to install, all i get is:
------------------------------------------
[root@localhost root]# rpm -ivh bittorent-3.4.2-1.1.fc2.rf.noarch.rpm
error: open of bittorent-3.4.2-1.1.fc2.rf.noarch.rpm failed: No such file or directory
------------------------------------------
I am trying to install bittorrent so i can get FC3 (not so i can download illegally) because i always download about 3x faster than in http:
either the file is not in the current directory, there is no file, or you're spelling it wrong - you can use tab completion by typing the first few letters of the filename and hitting tab to fill in the rest. use "ls" to make sure the file is in the dir you're issuing the command
I still can't get it to work.
What directory dose the file need to be in?
I Still keep getting
----------------------------
[root@localhost root]# rpm -ivh bittorent-3.4.2-1.1.fc2.rf.noarch
error: open of bittorent-3.4.2-1.1.fc2.rf.noarch failed: No such file or directory
----------------------------
what am i doing wrong.
The file is under /root/desktop/
i am logged in as root.
So now im kinda expermenting
this is what i did and got
----------------------------------
[root@localhost root]# rpm -i bittorrent-3.4.2-1.1.fc2.rf.noarch.rpm
warning: bittorrent-3.4.2-1.1.fc2.rf.noarch.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
[root@localhost root]#
----------------------------------
I seem to be in the same position as scripts
Having been through Xandros & Ubuntu in past 2 days, I am currently installing Debian... still trying to find a distribution that won't be too stressful on a windoze user.
When I had Ubuntu running, I downloaded Thunderbird to & after much searching on the internet, managed to find out how to do this:
tar -zxvf filename.tar.gz
cd filename/
./configure
make
make check
make install
but it just installed it into the folder it had been uncompressed to.
Doesn't linux create program folders in a central place, e.g. I see what appear to be the original installations are stored in /etc.
Also (another dumb windoze question coming up) how does one start the program after it's installed? Nothing appears in the list of programs installed (as in windoze)
By sheer good luck, I managed to find a file in the folder that allowed me to use Thunderbird, but that's obviously not the way to do it.
There seems to be this enormous chasm that windoze users need to jump across to learn linux ... does anybody know of a site that might be able to help bridge the gap?
All contributions gratefully received
jennyb
Hello,
This was quite confusing for me as well. It looks like you installed programs in your home directory (i.e. /home/ygarl/ in my case) but generally it compiles things in your Home then uses cp (or 'copy') to generally put its components where they generally tend to need to go.
'make' compiles the program, 'make install' then puts the compiled bits in the right directories (USUALLY!). You can also run a 'make clean' afterwards to get rid of all the leftover bits you don't need to run the program afterwards (compiling work files, etc etc)
To find them easily - run 'updatedb'. This takes a few minutes to run, but takes an inventory of everything in Linux. It only updates its database when you run this so it won't know you installed anything new until you do.
Then run 'locate <whatever you are looking for>' and you should be able to find what you're looking for. Usually, things get installed in /usr/bin, /usr/local/, /usr/bin/local/, etc. I definitely don't recommend installing things as Root unless it absolutely definetely has to be done (Kernel things, firewall/security software etc like GuardDog - excellent program btw once you figure out what the ports all your fave software uses are!).
You're MUCH better off logging in as a user btw, typing 'su' and your root password just before you do 'make install'. There's just too much stuff that can be (permanently - at least unless you reinstall Linux) messed up when you're looged on at Root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.