Find the answer to your Linux question:
Results 1 to 7 of 7
apt-get in cent os I am uisng Cent OS I installed the Apt using yum but when i run this command "sudo apt-get install update" $ sudo apt-get install update ...
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    5

    Exclamation apt-get in CENT OS E: Couldn't find package update

    apt-get in cent os
    I am uisng Cent OS

    I installed the Apt using yum


    but
    when i run this command "sudo apt-get install update"


    $ sudo apt-get install update
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package update

    I have edited the /etc/apt/sources.list
    i uncommented the few lines..
    even then..I cannot able to use the APT..

    is there any Repository to be added ??
    ??
    help please..

  2. #2
    Just Joined!
    Join Date
    Feb 2010
    Posts
    2

    Wink

    you can try use yum to install packages in CentOS.
    apt-get only manage deb package that package can't install in the Redhat linux.
    But in the Ubuntu , you can use alien command let rpm package transform to deb package.
    I don't know how to install deb package in the CentOS,RHEL and fedora.

  3. #3
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Quote Originally Posted by fjwfjwlrain View Post
    you can try use yum to install packages in CentOS.
    apt-get only manage deb package that package can't install in the Redhat linux.
    But in the Ubuntu , you can use alien command let rpm package transform to deb package.
    I don't know how to install deb package in the CentOS,RHEL and fedora.
    Welcome to the forums!
    Yes, YUM is the package management tool for CentOs, Fedora, RHEL and a host of others also. See this link for instructions on using YUM.

    Managing Software with yum
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  4. #4
    Just Joined!
    Join Date
    Apr 2008
    Location
    Denmark
    Posts
    6
    Off course apt can handle rpm's. PCLinuxOS have always used apt as a package manager.

    I have searched the internet for apt on Centos, and I found out that it should be possible unless you are using Centos 6, but since you wrote, that you have installed apt using yum, I can see, that you are using another version.

    Also I can see, that your apt-get works, as you get a correct responce to your command.

    The fault is the command.
    You are trying to install a package with the name "update", and apt tells you, that there are no such package available.

    Try using the command apt-get update and then apt-get upgrade.

    Then your system should be updated.
    The update command should not contain the command install.

    Type man apt-get to se the manpage for apt.
    And I would recommend to install synaptic to get an apt GUI. apt-get install synaptic.

  5. #5
    Just Joined!
    Join Date
    Oct 2011
    Posts
    15
    even if it is possible, is it good idea to use apt on centos, considering it is basically a server distro?

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    Really, why are you using apt-get with CentOS? It is likely to cause you serious problems. You should be using yum instead to install packages. If there are some that you need that you can't get with yum, then you may just need to install some of the alternative repositories such as atrpms, epel, and rpmforge.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #7
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Quote Originally Posted by RAISINGSUN View Post
    apt-get in cent os
    I am uisng Cent OS
    Hello

    If you must use APT for your package manager, I'd highly recommend going with a Debian-based distribution. If using CentOS is a must for you, I'd recommend sticking with YUM as your package tool. Otherwise, it's highly likely that you will continue to encounter problems with package installations as you go forward.

    Good luck to you with it either way.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...