I need help[ from experienced CentOS users. I'm not a Linux newbie, but I AM new to RPM and YUM. I had an Ubuntu 16.04 server for some time, and was familiar with .deb packages. I'm completely lost with yum, because everything I've read and tried doesn't work. When I try to install Chrome or Chomium using guides I've read, it fails because it does like my Google Chrome repo file. When I download directly from Chrome, the software manager rejects the package. When I try 'yum install google-chrome-stable in terminal, it stil won't work. is there some setting I need to enable to download and install packages?
Also, I'm having problems with the Software Manager. Most of the packages I want, such as Samba and openssh-server don't show up there. Chromium does, but when I click on install, it just says 'can't do that', with no further explanation.
Please help!! i really want to stick with CentOS, but I need openssh and samba for sharing files, and I prefer Chrome or Chromium to Firefox.
Newbie can't get software to install
Re: Newbie can't get software to install
Most of us don't bother with the GUI software installer thing. Everything you need to do can be done with yum (and most likely is already even when you use the GUI). Open a root command prompt, run yum install google-chrome-stable (or, if that's not the real package name, start with yum list \*chrome\* to find out what it is called).
If yum burps on the repo file and it's not obvious from the error what the problem is then post the error here. Include everything from the command prompt where you enter the yum command you ran all the way through until it returns.
Openssh-server is almost certainly already installed. It's part of the minimal package set and I don't think it's possible to do an install without getting it installed unless you use a kickstart file and explicitly exclude it... and even that might not work.
If yum burps on the repo file and it's not obvious from the error what the problem is then post the error here. Include everything from the command prompt where you enter the yum command you ran all the way through until it returns.
Openssh-server is almost certainly already installed. It's part of the minimal package set and I don't think it's possible to do an install without getting it installed unless you use a kickstart file and explicitly exclude it... and even that might not work.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 6
- Joined: 2018/11/14 13:38:01
Re: Newbie can't get software to install
hi i use this to install chrome
put the following lines in the file
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
and install chrome
Code: Select all
nano /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
and install chrome
Code: Select all
yum install -y google-chrome-stable