Question:
Installing Applications in Fedora Using the Terminal?
Cincinnati Cypher
2014-01-14 00:38:53 UTC
Hail All Wizards!

I just downloaded Fedora 20 and it sure is nice and all, but I would to know if anyone knows if the books like the Begining Fedora, or the Fedora Bible/Linux Bible, can tell me anything on how to install applications using the dang Terminal?

No, I don't want to start with Ubuntu, as I choose Fedora for a reason, as it will fit my needs. I've looked everywhere and I get the whole `su - yum install` routine, but I'm lost beyond that. I downloaded VMware for Linux, and I just need a clear cut explanation on how to generally install things.

Everywhere I look, I just haven't been able to find "clear cut" explanations on doing things like this --- everyone "ASSumes" people are using Ubuntu, Mint, or some other distro, and the commands are different in some part. So, if anyone is a "well-rounded" *Nix person, and doesn't mind breaking down how to install something (generic, but detailed example) in Fedora from Step A to Step Z, I would be most grateful. :)

I want to grow in Linux overall, and so I really need the guidance. Otherwise, if the books "do" give instructions on how to do this via the Terminal, all I need is confirmation, and I'm off to the races. Thanks.
Five answers:
ratter_of_the_shire
2014-01-14 11:07:02 UTC
To manually install .rpm's use the rpm program. Syntax and options should be available if you use the man command



man rpm



hit 'q' to exit man.



Also i suggest you read

man man

and

man apropos



apropos being a way to search manual entries.
Pulkit @n@nd
2014-01-14 00:51:46 UTC
You can simply install and remove programs



su ( A command to get root privilleges, good especialy you need to do many super tasks at once )

yum install firefox (install firefox )

yum install firefox gimp (install firefox as well as gimp)

yum remove firefox (remove firefox)



otherwise,

sudo yum install firefox

(but you will need to enter password every time during the terminal session, while su gives you root permissions till the end of session)



yum check-update (to check updates)

yum update (to install updates)



For more info type

yum --help

and

man yum
adaviel
2014-01-14 20:40:08 UTC
yum install whatever



That logs stuff into /var/log and resolves dependencies for you, which just plain rpm won't.

yum looks for repositories listed in /etc/yum.repos.d/

There is a package you can add to add priorities, plus you can disable repositories there but manually enable them on the command line. If you stick to official Fedora repositories you should be OK, but if you install libraries from rpmfind like DAG or Livna or kwizart to get multimedia apps you can get yourself snarled up with conflicting dependencies and be unable to update your system.

Adding DAG at a lower priority than Fedora helps



rpm -qa - list what's installed

rpm -qi foo - list description of package foo

rpm -qip foo.rpm - list foo.rpm witohut installing it

rpm -e foo - delete foo

rpm -qf /etc/foo - say what package owns file /etc/foo

rpm -ql foo - list all files in foo

rpm -V foo - check files for foo against digitally signed checksums (see if it's been tampered with, or just config files changed)

yum provides foo - find a package foo online



rpm -hi foo.rpm - install package foo.rpm

rpm -hi foo-src.rpm - install source for foo

rpmbuild -ba rpm/SPECS/foo.spec - rebuild foo.rpm from source



If you can at all avoid installing anything from tarballs without building an RPM, do it. rpm keeps track of what packages own what files so you can actually remove software, or install new software without overwriting critical files belonging to something else.

If you use Perl, lots of what's in CPAN is also available with yum e.g. perl-XML-Parser, and there are some CPAN-to-RPM tools for what's not.



rpm is roughly equivalent to Debian dpkg. yum is roughly equivalent to apt-get.

They are of course documented in the command-line "man" manual pages as well as online.
2014-01-14 01:21:16 UTC
Hi

If your trying to install downloaded rpm packages.through terminal then installing and removing and all rpm operation are listed in this URL try this u can also find methods for using differnt packages are also here

http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch02s03.html

Easy methods to install is using yum and its graphical interface yumex
hoffmann
2016-12-18 20:30:42 UTC
Fedora Bible


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...