RedHat solves apt-Get problems

Source: Internet
Author: User

 

Friends who use Ubuntu know that there is a very practical software management tool in Ubuntu-apt, but there is no such tool in RedHat, which makes some Ubuntu users feel really uncomfortable.

Okay, so we can start porting something advanced on Ubuntu to RedHat.

 

1. On this website, we can download the apt required by Linux versions.

 

Http://ayo.freshrpms.net/

Copy code

 

 

2. Install Apt

 

Rpm-IVH apt. i386.rpm

 

 

3. After the installation is complete, edit the apt source...

 

SuBo VI/etc/APT/sources. List

Copy the code haha. Success ....

 

RedHat

Some sources found on the Internet are as follows:

# Dag. List
Rpm http://afs.caspur.it/afs/Italia/project/Linux/CERN/SCN 302/i386/apt OS updates extras
Rpm http://redhat.uni-klu.ac.at/RedHat/DAG/EL3/i386 Dag
Rpm-Src http://redhat.uni-klu.ac.at/RedHat/DAG/EL3/i386 Dag
Rpm http://apt.sw.be/RedHat/EL3/en/i386 Dag
Rpm-Src http://apt.sw.be/RedHat/EL3/en/i386 Dag

For some KDE software, the following source is useful:

# KDE. List
Rpm http://apt.kde-redhat.org/APT/Fedora/3.0 stable
Rpm http://apt.kde-redhat.org/APT/Fedora/all stable.
Rpm http://apt.kde-redhat.org/APT/K de-RedHat/3.0 stable unstable
Rpm http://apt.kde-redhat.org/APT/kde-redhat/All stable unstable

If you need more java-related software:

# Vi/etc/APT/sources. List. d/jpackage. List

Rpm http://redhat.uni-klu.ac.at RedHat/jpackage/redhat-es-3/i386 free devel
Rpm-Src http://redhat.uni-klu.ac.at RedHat/jpackage/redhat-es-3/i386 free devel
Rpm http://redhat.uni-klu.ac.at RedHat/jpackage/redhat-es-3/generic free devel
Rpm-Src http://redhat.uni-klu.ac.at RedHat/jpackage/redhat-es-3/generic free devel

It is better to use the CERN Linux site, as shown below:

Rpm http://linuxsoft.cern.ch/CERN/tmp30x/i386/apt OS updates extras
Rpm-Src http://linuxsoft.cern.ch/CERN/tmp30x/i386/apt OS updates extras
Rpm http://ftp.kddilabs.jp/Linux/packages/scientificlinux/30x/i386/apt-rpm OS updates
Rpm-Src http://ftp.kddilabs.jp/Linux/packages/scientificlinux/30x/i386/apt-rpm OS updates
Rpm http://ftp.ne.jp/Linux/distributions/scientificlinux/30x/i386/apt-rpm OS updates
Rpm-Src http://ftp.ne.jp/Linux/distributions/scientificlinux/30x/i386/apt-rpm OS updates
Rpm http://mirror.switch.ch/FTP/mirror/scientificlinux/30x/i386/apt-rpm OS updates
Rpm-Src http://mirror.switch.ch/FTP/mirror/scientificlinux/30x/i386/apt-rpm OS updates
Rpm
Http://www.cnblogs.com/hbycool/admin/ftp://linux.fnal.gov//Linux/scientific/30x/i386/apt-rpm OS updates
Rpm-Src
Http://www.cnblogs.com/hbycool/admin/ftp://linux.fnal.gov//Linux/scientific/30x/i386/apt-rpm OS updates

 

 

 

# Apt-Get update
# Apt-Get upgrade
# Apt-Get check // check the dependency
# Apt-get-F install // solve the dependency problem

Then apt-Get install xxx can install the required software package.

If you want to install a tool, such as iftop, you can:
# Apt-cache search iftop
# Apt-Get install iftop
APT automatically solves the dependency problem, which is very convenient.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.