Question about how to install Linux programs . [windows works] [differance]

Q: Ive been working on getting my fedora box and usually go and really like just be able to ssh to the box since its in the back. My question is exactly how things are installed. I would consider myself very knowledgeable in the way and you can see around window size, but theres a whole Différance. I used rpm to install some packages, and just curious if theres a site (or someone taking the time to it: D explanation) that explains how to install rpms things. Ive heard of something like apt-get (or something) which replaces the rpms. Im sure this is a newb question, but trying to have to migrate to Windows (starting with my server:)) and if all goes well perhaps my most important: D
Thanks in advance for any help.


Best Answer: linux is an operating system not a programming language.

for installing linux refer this link
http://www.linux.org/docs/beginner/insta…


Start Your Own Window Cleaning Business
Re:Thanks for the info, very helpful. I think I may have to move to debain once I get a little more familiar with my way around linux.(using fedora now for testing)

Xp Windows Cleaner (Clean Up Microsoft Windows
Re:one quick question on this than. So when I use apt or yum it still uses rpm's to install packages and I can remove it with the apt uninstall command or the rpm uninstall?

Correct. But again RPM won't do any dependency fullfillment so if you say 'rpm -e blah' and things depend on blah it'll just yell, if you use 'apt-get remove blah' it'll ask if it's ok to remove the others too.

Apt and Yum are just as you stated nothinman a layer on top of RPM, I don't need to use it all the time, its just to help in finding, installing, and maintaining packages.

True, but once you get used to them you won't want to use the package manager directly because it becomes a PITA, especially when you have a distro that's as well setup as Debian and just about everything you want is in the main repositories.

edit: also I can delete the rpms when I'm done installing them correct?, they're not used for anything else(ie uninstallation or updates..) are they?

They're just for installation, once the rpm is installed all the files are extracted to the system so the original RPM can be deleted, moved, burned to cd, etc.


Work at Home Opportunities
Re:The Apt and Yum are just as you stated nothinman a layer on top of RPM, I don't need to use it all the time, its just to help in finding, installing, and maintaining packages.

and getting over the so-called rpm dependency hell :)


Everything You Need to Know About Windows
Re:one quick question on this than. So when I use apt or yum it still uses rpm's to install packages and I can remove it with the apt uninstall command or the rpm uninstall? The Apt and Yum are just as you stated nothinman a layer on top of RPM, I don't need to use it all the time, its just to help in finding, installing, and maintaining packages.

edit: also I can delete the rpms when I'm done installing them correct?, they're not used for anything else(ie uninstallation or updates..) are they?


Earn a Huge Income Tinting Windows
Re:Thanks for the info I've been browsing linux forums all week and brushing up on these things,(I really wish I was brought up with linux as opposed to windows:P) Again thanks for the info and I'm sure I'll be back another day.

How To Use Windows 7 Quick and Easy Guide
Re:Some files are created for the program, and then depending on your environment, some shortcuts might be added (e.g. to a gnome/kde desktop or "start" button equivalent). Also, the RPM (or dpkg/apt, or emerge, or whatever package system is used) database is updated to note that this package is now installed and a few other details.

Scan and Fix Errors in Windows Registry
Re:Basically RPM just unpacks an archive onto the filesystem (usually right into / so that things are in /usr/bin/, /etc/, etc instead of /usr/local/bin, /usr/local/etc) and then runs some install scripts and makes a note in it's database that the package is installed. Of course this is over simplified, but it's the basic idea. If a package depends on another one you need to have the dependent package installed first or at the same time as the other package (rpm -ivh package.rpm package1.rpm works fine).

Apt is a layer ontop of RPM (or dpkg on Debian where it originated) that will handle some of the annoyances for you, mainly dependency tracking. So you would type 'apt-get install mozilla' and apt would say "for mozilla you also need package X, Y and Z. would you like them installed too?" you say yes and it gets all of them for you then runs rpm to install them (or dpkg in the case of Debian). The only downside (if you can call it that) is that for a package to work with apt it has to be setup on an APT repository, otherwise apt knows nothing about it. With Debian this doesn't matter as almost all the packages installed on a Debian system are maintained by Debian (there's ~13,000 packages in sid right now) but for RH/Fedora the repositories are just starting to be maintained so the package lists are much shorter.

There's also yum that is similar to apt, but was developed on YellowDog Linux. I havn't had much experience with it but I believe it's included with fedora.


Related posts

Leave a comment

0 Comments.

Leave a Reply


click to changeSecurity Code

[ Ctrl + Enter ]