There are no repos

65,062

The yum package manager comes from RedHat and its derivatives. It installs rpm packages from repositories that store such packages. The Debian (and by extension, Ubuntu) repositories have .deb packages instead. The equivalent of yum in the Debian/Ubuntu world is apt-get. I have no idea why you ended up with yum installed on your Ubuntu system but it's not the tool you want to use.

What you're after is:

sudo apt-get install tftp tftpd syslinux apache2 dhcpcd

In any case, that's my best guess since you don't actually explain what you're trying to install. There's no tftp-server package in Ubuntu so I'm guessing you want tftpd which is a server that supports the TFTP protocol. Likewise, there's no httpd in Ubuntu but I'm guessing you want to install the apache2 webserver and a dhcp client (dhcpd).

Share:
65,062

Related videos on Youtube

user293473
Author by

user293473

Updated on September 18, 2022

Comments

  • user293473
    user293473 over 1 year

    I have PC Engines Apu . I wanted to install Linux to Apu over PXE. I m trying to install this on ubuntu 14.04 LTS. I am Using Ubuntu 14.04 LTS

    #yum install tftp-server syslinux httpd dhcpd
    
    There are no enabled repos.
     Run "Yum repolist all" to see the repos you have.
     You can enable repos with yum-config-manager --enable <repo>
    
    #yum repolist all
    repolist: 0
    
    • terdon
      terdon almost 10 years
      Could you please clarify what Operating System you are running? yum is a RedHat & co. command, and while it is possible to install on Ubuntu, there's not much reason to. Please edit your question and clarify whether you're using Ubuntu or not.
    • user293473
      user293473 almost 10 years
      ubuntu 14.04 LST.
    • user293473
      user293473 almost 10 years
      Can I install tftp-server package on Ubuntu 14.04 ?
    • JoKeR
      JoKeR almost 10 years
      Tftp is the user interface to the Internet TFTP (Trivial File Transfer Protocol), which allows users to transfer files to and from a remote machine. The remote host may be specified on the command line, in which case tftp uses host as the default host for future transfers.
    • JoKeR
      JoKeR almost 10 years
      is this what you are looking for? then it's tftp. You can list all available tftp packages with command: apt-cache policy tftp*
    • terdon
      terdon almost 10 years
      You want to install CentOS? 1) the commands you are using are completely irrelevant then and 2) your question is completely off topic.