yum

Missing separate debuginfos, use: debuginfo-install glibc-2.17-157.el7_3.1.x86_64

半世苍凉 提交于 2021-02-07 19:01:01
问题 I know this question is answered already in another thread, however I tried all the solutions given in the other thread including - Searching for the package, trying to install the package, installing yum-utils and debuginfo-install glibc Finally, I even set enabled=1 and gpgcheck=0 in redhat.repo under /etc/yum.repos.d, what else should be done for me to get rid of this error? What I am trying to do is, debug a program(using gdb) with a shared object library. The program and .so file are

How can I install xclip on an EC2 instance?

|▌冷眼眸甩不掉的悲伤 提交于 2021-02-07 11:21:45
问题 I'm following Github's instructions for adding an SSH key. I've generated the id_rsa.pub file from my AWS EC2 instance, but I cannot complete the step that has me copy the contents of the file using xclip because I cannot install xclip onto the EC2 instance. I tried to install xclip on the EC2 instance using sudo yum install xclip , but that didn't work ("No package xclip available"). So I looked around and found more detailed install instructions, but they didn't work either ("curl: (22) The

How to get just a list of yum updates

こ雲淡風輕ζ 提交于 2021-02-07 10:33:17
问题 OK I have always had this problem. I want JUST the available updates listed in a file via bash script from a Linux system (RHEL or Fedora) using yum but I always have to deal with the Header information created which looks like this: Loaded plugins: XXXX-repo XXXX-updates : WWWWWW-repo something-updates QQQQQ-updates Updated packages package1.i686 1:234 RHEL 6.5 updates package2.i686 1:234 RHEL 6.5 updates package3.i686 1-234 RHEL 6.5 updates package4.noarch 1.234 RHEL 6.5 updates All I want

How can I install yum rpm packages without internet connection?

南楼画角 提交于 2021-02-05 09:24:07
问题 This question has been asked before but mine is a bit different. I want to install a bunch of rpm packages using sudo yum. I do not have internet connection on the machine I want to install them on. These packages also do not exist on any machine in the network. Is there a way I can install them without internet connectivity and with them not anywhere on any machine in the network (so cannot use --downloadonly option) ? 回答1: if you have the RPM files on your local machine or any machine (not

Centos修改yum源

 ̄綄美尐妖づ 提交于 2021-01-24 01:56:39
1.备份/etc/yum.repos.d/CentOS-Base.repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2.下载对应版本repo文件, 放入/etc/yum.repos.d/(操作前请做好相应备份) CentOS7:wget http://mirrors.163.com/.help/CentOS7-Base-163.repo CentOS6:wget http://mirrors.163.com/.help/CentOS6-Base-163.repo CentOS5:wget http://mirrors.163.com/.help/CentOS5-Base-163.repo 3.运行以下命令生成缓存 yum clean all yum makecache Ps:CentOS镜像使用帮助:http://mirrors.163.com/.help/centos.html 来源: oschina 链接: https://my.oschina.net/u/2297683/blog/749708

install sqlite3 dev and other packages in centos

蓝咒 提交于 2020-12-29 09:24:05
问题 I am trying to install sqlite dev and other libraries in a centos machine with cpanel, to be able to compile an application. I am more acquainted with debian than centos, and I know the libraries I need are: libsqlite3-dev libkrb5-dev libssl-dev libcurl3-dev libboost-all-dev For what I could find online, the corresponding package in centos for libsqlite3-dev is sqlite-dev . However, when I run yum install sqlite-devel I get the following message: No package sqlite-devel available I don't know

How to publish a rpm package to YUM

大兔子大兔子 提交于 2020-12-26 23:29:50
问题 I have created a rpm package, and I need to publish it to YUM so that users can directly do yum install softwareName to install the application. I searched on google but can't find many resources. I'm new to this thing so I don't really know what I want to do is possible. I've tried to create a local yum repository for the application, but it seems work only for the local machine. Can anyone help please? Thank you. 回答1: Assuming you've YUM installed on a Linux box. You need to create a YUM

How to publish a rpm package to YUM

拜拜、爱过 提交于 2020-12-26 23:26:54
问题 I have created a rpm package, and I need to publish it to YUM so that users can directly do yum install softwareName to install the application. I searched on google but can't find many resources. I'm new to this thing so I don't really know what I want to do is possible. I've tried to create a local yum repository for the application, but it seems work only for the local machine. Can anyone help please? Thank you. 回答1: Assuming you've YUM installed on a Linux box. You need to create a YUM

How to publish a rpm package to YUM

孤者浪人 提交于 2020-12-26 23:21:57
问题 I have created a rpm package, and I need to publish it to YUM so that users can directly do yum install softwareName to install the application. I searched on google but can't find many resources. I'm new to this thing so I don't really know what I want to do is possible. I've tried to create a local yum repository for the application, but it seems work only for the local machine. Can anyone help please? Thank you. 回答1: Assuming you've YUM installed on a Linux box. You need to create a YUM