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.
I am trying to do my updates using putty via ssh/cmd and this is what I get:
[root@linux jeff]# apt-get update
-bash: apt-get: command not found
I have had no problems running the apt-get command before reinstalling Fedora. I tried:
"yum install apt" and receive this:
[root@linux jeff]# yum install apt
Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 797 kB 05:49
MD Read : ################################################## 2623/2623
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 381 kB 00:06
MD Read : ################################################## 998/998
updates-re: ################################################## 998/998
No Match for argument apt
Nothing to do
I then tried running "apt-get update" and received the same error:
[root@linux jeff]# apt-get update
-bash: apt-get: command not found
Does anyone know what I can do to apply my updates via command:
A side note: Apt is deprecated in Fedora Core in favor of Yum.
Apt is in the "extras" repository. It seems that you only have "base" and "updates-released" enabled. Can you show us your /etc/yum.conf and all the files in your /etc/yum.conf.d? If you are using FC4, extras should have been enabled by default.
So you create a new text file in your /etc/yum.repos.d/ directory, called something like "fedora-extras.repo" and put the following content in it. This is mine from FC4:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.