FedoraThis forum is for the discussion of the Fedora Project.
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.
apt-get update
Download package lists. Packages change several times daily, so do this often.
apt-get dist-upgrade
Update all packages.
apt-get install <packagename>
Install/upgrade specific package(s) (and its dependencies, if missing any).
apt-cache search <word>
Search all known packages entries (descriptions etc) for <word>.
apt-cache show <packagename>
Show basic information about a package.
There's more...
Quote:
HOWTO use yum
yum check-update
See if there are updated packages available.
yum update
Update all installed packages that have a newer version available.
yum install <packagename>
Install specific package (and its dependencies, if missing any).
First you should do all of it as root... just type 'su', and then your root password.
Second, you need to tell 'apt' and 'yum' where to get the rpms from. To get you started here is my apt sources ( /etc/apt/sources.list )
Quote:
# List of available apt repositories available from ayo.freshrpms.net.
# This file should contain an uncommented default suitable for your system.
#
# See http://ayo.freshrpms.net/ for a list of other repositories and mirrors.
#
# $Id: sources.list.i386,v 1.2 2003/11/06 21:05:23 dude Exp $
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.